Setting Override Methods Properties
See Also
To configure the way methods are generated when using the Override Methods feature:
- Choose Tools > Options from the main menu and click Advanced Options in the Options window.
- In the left pane, expand the Editing > Java Sources node and select Override Methods.
- In the property sheet pane, set this property:
- Return Generation Mode. When creating a new method declared to
return a value, this property determines whether to generate code that
returns nothing, an exception, or a neutral value for the return type.
If you choose to return a neutral value, the IDE returns null for reference
types, zero for numeric types, or an empty string for strings.
- See Also
- Overriding and Implementing Methods
- Using the Options Window
Legal Notices