diff --git a/resources-en/src/fileTemplates/code/Catch Statement Body.java.html b/resources-en/src/fileTemplates/code/Catch Statement Body.java.html index c6c4b27a6c83..d1c5a3b03d99 100644 --- a/resources-en/src/fileTemplates/code/Catch Statement Body.java.html +++ b/resources-en/src/fileTemplates/code/Catch Statement Body.java.html @@ -1,23 +1,23 @@
-| This is a built-in template used for filling the body of a
- catch statement each time it is generated by the program, e.g. when using the
- Code | Surround with... function (Ctrl+Alt+T). - The template is editable. Along with Java expressions and comments, you can also use the predefined variables + | This is a built-in template used for filling the body of a
+ catch block when it is generated, e.g. when using the
+ Code | Surround with... function. + The template is editable. Along with Java expressions and comments, you can also use predefined variables that will be then expanded into the corresponding values. |
||
| Predefined variables will take the following values: | ||||
| - | name of the Exception variable specified as a catch parameter | +name of the Exception variable specified as a catch parameter | ||
|
- This is a built-in template used for replace string concatenation (e.g. String s = "Hello " + name;)
- with internationalized Java code expression,
- e.g. String s = MessageFormat.format(myResourceBundle.getString("hello.0"), name);. - The template is editable. Along with Java expressions and comments, you can also use the predefined variables that + |
+ This is a built-in template used for replacing a string concatenation (e.g. String s = "Hello " + name;)
+ with an internationalized Java code expression (e.g.
+ String s = MessageFormat.format(myResourceBundle.getString("hello.0"), name);).+ The template is editable. Along with Java expressions and comments, you can also use predefined variables that will be then expanded into the corresponding values. |
|||
| Predefined variables will take the following values: | |||||
| - | Expression of type java.util.ResourceBundle, instance of which is available in this context | +Expression of type java.util.ResourceBundle, instance of which is available in this context. | |||
| - | Property key name which is specified in the corresponding properties file. - Typically it is the value that is used for ResourceBundle.getString() method parameter. + | Variables used in the string concatenation, usually passed as arguments to the internationalized expression. | +|||
| + | Property key name which is defined in the corresponding properties file.
+ Typically it is the value that is used for ResourceBundle.getString() method parameter.
|
||||
| - | Property value which is specified in the corresponding properties file. - This is an original Java string literal value. + | Property value which is defined in the corresponding properties file. + This is the original Java string literal value. | |||
|
- This is a built-in template used for replace string literal expression (e.g. String s = "Hello";)
- with internationalized Java code expression,
- e.g. String s = myResourceBundle.getString("hello");. - The template is editable. Along with Java expressions and comments, you can also use the predefined variables that + |
+ This is a built-in template used for replacing a string literal expression (e.g. String s = "Hello";)
+ with an internationalized Java code expression
+ (e.g. String s = myResourceBundle.getString("hello");).+ The template is editable. Along with Java expressions and comments, you can also use predefined variables that will be then expanded into the corresponding values. |
||
| Predefined variables will take the following values: | ||||
| - | Expression of type java.util.ResourceBundle, instance of which is available in this context | +Expression of type java.util.ResourceBundle, instance of which is available in this context. |
||
Property key name which is specified in the corresponding properties file.
- Typically it is the value that is used for ResourceBundle.getString() method parameter.
+ Typically it is the value that is used for ResourceBundle.getString() method parameter.
|
||||
| - | Property value which is specified in the corresponding properties file. - This is an original Java string literal value. + | Property value which is defined in the corresponding properties file. + This is the original Java string literal value. | ||
|
- This is a built-in template used for replace text in JSP,
- e.g.
+ This is a built-in template used for replacing text in JSP,
+ e.g.
+ + <html><body>
- - <html> - <body> - Hello! - </body> - </html> + with internationalized JSP custom tag usage, e.g. - with internationalized JSP custom tag usage, - e.g. - - - <html> - <body> - <bean:message key="HelloKey"/> - </body> - </html> - . -
- The template is editable. Along with expressions allowed in JSP context, you can also use the predefined variables that
+ |
| Predefined variables will take the following values: | |||
| Property key name which is specified in the corresponding properties file. | |||
| Property value which is specified in the corresponding properties file. This is an original JSP text selection value. | |||
|
- This is a built-in template used for filling the body of an implemented method each time it is generated by the program,
- e.g. when using the Implement Abstract Class/Implement Abstract Method intention actions or
-calling the Code | Implement Method... function (Ctrl+I). - The template is editable. Along with Java expressions and comments, you can also use the predefined variables that + This is a built-in template used for filling the body of an implemented method when it is generated, + e.g. when using the Implement Abstract Class or Implement Abstract Method intention actions or + calling the Code | Implement Method... function. + The template is editable. Along with Java expressions and comments, you can also use predefined variables that will be then expanded into the corresponding values. |
| Predefined variables will take the following values: | |||||
| - | a return type of a created method | +return type of a created method | |||
| - | a value returned by the method by default | +value returned by the method by default | |||
| name of the method that is implemented | |||||
| qualified name of the class where method is implemented | |||||
| non-qualified name of the class where method is implemented | |||||
| All the predefined variables from "File Header" Include template are also available + | All the predefined variables from the File Header template (Includes tab)are also available (e.g. - ${USER}, - ${DATE}, + ${USER}, + ${DATE}, etc) | ||||
| This is a built-in template used for filling the body of a method
- each time it is generated by the program, e.g. when using the Create Method from Usage intention action. - The template is editable. Along with Java expressions and comments, you can also use the predefined variables + when it is generated, e.g. when using the Create Method from Usage intention action. + The template is editable. Along with Java expressions and comments, you can also use predefined variables that will be then expanded into the corresponding values. |
| Predefined variables will take the following values: | ||||
| - | a return type of a created method | +return type of a created method | ||
| - | a value returned by the method by default | +value returned by the method by default | ||
| name of the created method | ||||
| qualified name of the class where method is created | ||||
| non-qualified name of the class where method is implemented | ||||
| All the predefined variables from the File Header template (Includes tab)are also available + (e.g. + ${USER}, + ${DATE}, + etc) + | +||||
|
This is a built-in template used for filling the body of an overridden method each time it is generated by the program,
- e.g. when calling the Code | Override Method... function (Ctrl+O). - The template is editable. Along with Java expressions and comments, you can also use the predefined variables that + e.g. when calling the Code | Override Method... function. + The template is editable. Along with Java expressions and comments, you can also use predefined variables that will be then expanded into the corresponding values. |
| Predefined variables will take the following values: | |||||
| - | a super method call, for void methods - super(); with or without parameters; - for other methods - return super(); with or without parameters + | a super method call, for void methods - super.method_name(); with or without parameters;
+ for other methods - return super.method_name(); with or without parameters
|
|||
| - | a return type of a created method | +return type of a created method | |||
| - | a value returned by the method by default | +value returned by the method by default | |||
| name of the method that is overridden | |||||
| qualified name of the class where method is overridden | |||||
| non-qualified name of the class where method is implemented | |||||
| All the predefined variables from "File Header" Include template are also available + | All the predefined variables from the File Header template (Includes tab)are also available (e.g. - ${USER}, - ${DATE}, + ${USER}, + ${DATE}, etc) | ||||