Bug 120667

Summary: [hierarchy] Type hierarchy for enum type does not include anonymous subtypes
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.3 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch and regression test none

Description Markus Keller CLA 2005-12-13 14:08:27 EST
I20051213-0010

public enum Try {
    THIS,
    THAT(),
    ANONYMOUS() {}
}

- Type hierarchy on Try does not include the anonymous type declared in ANONYMOUS
- Type hierarchy on the anonymous type (e.g. from Outline) has no super types
Comment 1 Jerome Lanneluc CLA 2006-06-14 12:37:55 EDT
Created attachment 44420 [details]
Proposed patch and regression test
Comment 2 Jerome Lanneluc CLA 2006-06-14 12:41:26 EDT
Patch and tests released for 3.3M1 in HEAD.
Comment 3 Frederic Fusier CLA 2006-08-07 05:21:37 EDT
Verified for 3.3 M1 using build I20060807-0010