Project: JDT
Bug 231112 [getter setter] Elements not inserted at correct location
Reported: 2008-05-08 08:25:08 | Status: verified fixed

20080508 - create the following class public class T { private Runnable x; } - Invoke 'Generate Getter and Setter' - Select getter and select 'Insert As first member' New methods are added last, after x. Should be before x.

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateGettersSettersTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddGetterSetterOperation.java