Code generation

Code Generation

Option

Description

Default

Create Javadoc comments for methods and types

If enabled, new methods and types have default Javadoc comments.

The Javadoc can be customized by editing the template 'typecomment'.

See Templates preference page

On

Create non-Javadoc comments for overridden methods

If enabled, new overridden methods have a default non-Javadoc comment instead of a Javadoc comment.

Enabling this option will trigger javadoc to create documentation from the Javadoc of the super class.

Off

Create file comments for new files

If enabled, new Java files will have a default Javadoc comment.

The Javadoc can be customized by editing the template 'filecomment'.

See Templates preference page

Off

Remove prefix from field names

If enabled, the specified prefixes are removed from the fields prior to creation of getter and setter methods.

Off

Remove suffix from field names

If enabled, the specified suffixes are removed from the fields prior to creation of getter and setter methods.

Off

Related tasks

Generating getters and setters
Renaming a field

Related reference

Source actions
Java editor
Java editor preferences
Templates preferences