![]() |
![]() |
![]() |
This dialog lets you generate method stubs for get and set methods for a class' fields.
In the field list, select the fields for which you want to generate get and set methods. The Instance, Static, and Final checkboxes control which fields are shown in the list. Click Select fields without accessors to select field that do not already have accessor methods.
In the Getter and Setter boxes, select the method access level for the get and set methods.
The following options affect the method names assigned to the generated accessor stubs:
Note: If selecting these options creates a situation where the accessor methods for two or more fields will conflict, then the accessors for only one of the fields will be generated.
Enable Replace existing accessors if you want to generate stubs that will replace existing accessor methods.