Community
Participate
Working Groups
Build ID: M20090211-1700 Steps To Reproduce: See the sample code below. Paste that code into Eclipse, right click and choose "Source -> Generate Getters and Setters...". The wizard does not list a getter for AA. It should -- the static method is NOT an instance-level getter. Sample code: public class test { private int AA; public static int getAA() { return 1; } }
I realize that it's illegal to have both a static and instance-level method with the same name, but it would be nice if the wizard would flag a case similar to my example with a warning.
What you see is not related to whether the existing method is static or not. *** This bug has been marked as a duplicate of bug 18757 ***