Generating Getters & Setters Question

Hello -

Using Idea 14.1.4 and Ctrl-Return (on a MAC) invokes generating Getters & Setters.  I have already made changes so the variable name in the setter adds the word "Value" as a suffix.

For example:

private Integer itemCount;

public Integer getItemCount() {
    return itemCount;

public void setItemCount( Integer itemCountValue ) {
    itemCount = itemCountValue;

So my question:  Is there a way to configure IntelliJ so the variable name in the Setter is just "value"?  For example:

public void setItemCount( Integer value ) {
    itemCount = value;


1 comment
Comment actions Permalink

One can use Velocity templates to customize getters and setters: .

Unfortunately, it's not documented yet: .


Please sign in to leave a comment.