java/java-impl/resources/fileTemplates/code/Overridden Method Body.java.html
| Fills the body of an overridden method each time it is generated by the program, e.g. when the Code | Override Method... function is called.
This built-in template is editable. Along with Java expressions and comments, you can also use the predefined variables that will be then expanded into the corresponding values. |
| Predefined variables take the following values: |
| ${CALL_SUPER} | | Super method call, for void methods - super.method_name(); with or without parameters for other methods - return super.method_name(); with or without parameters |
| ${PLAIN_CALL_SUPER} | | Super method call, super.method_name(); with or without parameters |
| ${RETURN_TYPE} | | Return type of the created method |
| ${DEFAULT_RETURN_VALUE} | | Value returned by the method by default |
| ${METHOD_NAME} | | Name of the method that is overridden |
| ${CLASS_NAME} | | Qualified name of the class in which the method is overridden |
| ${SIMPLE_CLASS_NAME} | | Non-qualified name of the class in which the method is implemented |
| All the predefined variables from the File Header template (Includes tab) are also available (e.g. ${USER} , ${DATE} , etc.) |