Bug 8613 - Outline should show anonymous inner classes
Summary: Outline should show anonymous inner classes
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 38024 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-28 13:46 EST by Peter Burka CLA
Modified: 2003-10-17 06:34 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Burka CLA 2002-01-28 13:46:47 EST
It would be nice if the outline showed anonymous inner classes, as well as 
named ones.

It would be particularly useful in that it would give access to some of the 
unique features which only the outline view provides (e.g. Override methods and 
Add constructors from superclass).

I would suggest that anon. inner classes could be shown as children of the 
method within which they are declared.  Might be problematic for anon. inner 
classes defined within initializers, though.
Comment 1 Ilja Preuss CLA 2002-03-15 09:38:16 EST
Yes, that would be nice. Same for local classes. Same for Type Hierarchy.

"Add constructors..." is pointless for anonymous classes, though.
Comment 2 Erich Gamma CLA 2002-05-11 15:08:42 EDT
not for 2.0
Comment 3 Dirk Baeumer CLA 2002-07-24 10:51:32 EDT
Moving to JDT Core since these elements aren't present in the Java Model.
Comment 4 Philipe Mulet CLA 2003-01-16 04:19:33 EST
Not for 2.1, would require addition of new kind of Java elements.
Comment 5 Jerome Lanneluc CLA 2003-04-25 07:22:09 EDT
Consider for 3.0
Comment 6 Philipe Mulet CLA 2003-05-23 07:01:06 EDT
*** Bug 38024 has been marked as a duplicate of this bug. ***
Comment 7 Philipe Mulet CLA 2003-06-24 05:33:52 EDT
*** Bug 39098 has been marked as a duplicate of this bug. ***
Comment 8 Jerome Lanneluc CLA 2003-09-24 06:50:13 EDT
Changed IMethod, IField and IInitializer to be IParents and have there children 
be their local/anonymous types.
Comment 9 David Audel CLA 2003-10-08 11:31:35 EDT
Verified.