IntelliJ IDEA 2024.3 Help

Generate Setter dialog

Code | Generate - Setter

Item

Description

Template

Use this list to choose the template to use. You can click the Browse button to open the Template Dialog and add a new getter template or select an existing one.

the Sort Alphabetically button

Click this button to represent the fields in ascending or descending alphabetical order.

Click this button to show classes.

Click this button to expand all class nodes.

Click this button to collapse all nodes.

Copy all annotations

If this option is selected, all applicable annotations from fields will be copied to parameters of new methods. Otherwise, only applicable nullability annotations will be copied.

Last modified: 26 September 2024