Using setters in Generate Constructor


Is there a way to tell IDEA to use setters when generating constructors?

for example:

public Foo( String value )
{
setValue( value );
}

instead of:

public Foo( String value )
{
this.value = value;
}

If not, i'll add a feature request for it, but thought i would check first.

ckw

3

Please sign in to leave a comment.