Bug 6889 - No typehierarchy for inner types
Summary: No typehierarchy for inner types
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 6898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-12-13 05:57 EST by Martin Aeschlimann CLA
Modified: 2002-01-11 08:56 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2001-12-13 05:57:04 EST
11211
1. Create
    public class A {
	public class B extends java.util.Vector {
	}
    }
2. open B in type hierarchy, turn on 'Show All Inherited Members'
3. -> There is no supertype hierarchy of B, 'Object' missing
      typeHierarchy.getSuperTypes('B') returns an empty array
4. -> The inherited methods are complete
      typeHierarchy.getAllSuperTypes('B') returns results
Comment 1 Philipe Mulet CLA 2001-12-13 06:08:37 EST
Did you save the working copy prior to opening the hierarchy ?
Comment 2 Martin Aeschlimann CLA 2001-12-13 06:28:42 EST
Yes, everything saved.
Comment 3 Martin Aeschlimann CLA 2001-12-14 04:45:02 EST
*** Bug 6898 has been marked as a duplicate of this bug. ***
Comment 4 Jerome Lanneluc CLA 2001-12-18 05:15:32 EST
HierarchyResolver was not converting the source type it was fed with to the 
correct compilation unit when the source type was an inner type.
Fixed by finding the outer most type first.