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.

Bug 6478 - When synchonizing a class with an interface, inherited methods are put before first inner class.
Summary: When synchonizing a class with an interface, inherited methods are put before...
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-04-28 20:35 UTC by Jan Lahoda
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2000-04-28 20:35:38 UTC
Try to synchronize class with inner class and methods AFTER inner class. Synchonized methods from interface are added before inner class, not at the end of the main class.

[Svata] This is currently the correct behaviour. Class members are ordered as follows:
1. initializers
2. fields

3. constructors
4. methods
5. inner classes

The code generator writes the new element before the textually first one from the type group following the new element`s own. E.g. newly inserted initializer goes before the first field.

[Svata] Jaga branch contains support for marking insert positions. I`ll probably add an action to class element`s context menu for marking current insertion point.
Comment 1 Quality Engineering 2003-07-01 13:13:00 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 2 Quality Engineering 2003-07-01 13:21:07 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.