Getter & Setter generation
Hi, is there anyway to change the default style of getter and setter genearation?
I'm generating getters and setters for three ints:
private int first;
private int second;
private int third;
// I want the setters come first...
public void setFirst()
public void setSecond()
public void setThird()
// ... and getters last
public int getFirst()
public int getSecond()
public int getThird()
Please sign in to leave a comment.
That sounds like something the rearranger plugin might be better suited for.
Norris Shelton
Sun Certified Java Programmer
AM wrote:
>Hi, is there anyway to change the default style of getter and setter genearation?
>
>I'm generating getters and setters for three ints:
>
>private int first;
>private int second;
>private int third;
>
>// I want the setters come first...
>public void setFirst()
>public void setSecond()
>public void setThird()
>
>// ... and getters last
>public int getFirst()
>public int getSecond()
>public int getThird()
>