Bug 23656 - hierarchy: type hierarchy on interfaces does not contain Object
Summary: hierarchy: type hierarchy on interfaces does not contain Object
Status: RESOLVED WONTFIX
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.1 M2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-17 11:53 EDT by Adam Kiezun CLA
Modified: 2002-10-01 03:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-09-17 11:53:34 EDT
Object is a supertype of any other type - also interfaces
it should be included in the type hierarchies
Comment 1 Philipe Mulet CLA 2002-09-19 08:45:29 EDT
I would agree too.
Comment 2 Jerome Lanneluc CLA 2002-09-30 07:09:53 EDT
Current API (e.g. javadoc of ITypeHierarchy.getSupertypes(IType)) implies that 
if the type is an interface, only interfaces that the interface extends are 
returned.
Asked on jdt-core-dev mailing list if there are advantages to changing this.
Comment 3 Jerome Lanneluc CLA 2002-10-01 03:55:42 EDT
Post from Adam on jdt-core-dev:
Guys,
i did not mean it - but look like my suggestion  caused some trouble here
and there.
I do not feel strongly about it so if it is going to break somebody's code
(or world <g>)  then it's ok. from my side,
to leave it as is.

It just felt weird not to see Object when i asked an interface for its
supertypes, that's all.
a.
Comment 4 Jerome Lanneluc CLA 2002-10-01 03:57:41 EDT
Closing