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()
请先登录再写评论。
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()
>