This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have class: class A implements Runnable { void method1() { } void method2() { } class B { } } When I do Implement All Abstract Methods I see, that run() method is generated behind inner class B at the very end of the class. But I would like to have this method added behind the last method (method2), not behind the last member.
GeneratorUtils.generateAllAbstractMethodImplementations in java.editor should use GeneratorUtilities.insertClassMembers to insert members at correct places. Please check also other methods in GeneratorUtils.
http://hg.netbeans.org/main/rev/3f0e86a23766
Integrated into 'main-golden', available in NB_Trunk_Production #294 build Changeset: http://hg.netbeans.org/main/rev/3f0e86a23766 User: Max Sauer <msauer@netbeans.org> Log: #135513: Wrong position of method when using Implement all abstract methods