TypeDeclaration.getSuperInterfaces not returning interfaces [message #243133] |
Mon, 23 April 2007 13:53 |
Eclipse User |
|
|
|
Originally posted by: kajoanet.execulink.com
Hey guys,
I'm using
List<Type> interfaces = node.superInterfaceTypes();
where node is a TypeDeclaration node. The list that returns does not
contain the interfaces that it should. It only returns the super class of
the class.
I don't think I'm doing anything wrong but a little help would be
appreciated.
Kailey
|
|
|
|
Re: TypeDeclaration.getSuperInterfaces not returning interfaces [message #243175 is a reply to message #243160] |
Tue, 24 April 2007 13:05 |
Eclipse User |
|
|
|
Originally posted by: kajoanet.execulink.com
List<Type> interfaces = node.superInterfaceTypes();
for ( int i = 0; i < interfaces.size(); i++ )
Nothing fancy just iterating through the list of interfaces. But instead of
getting a list of interfaces I only get the super class.
The class I run it on has the following signature:
class MyClass extends MySuperClass implements Runnable
I am never able to get the Runnable interface. The list only contains
MySuperClass
The JDT Core is 3.2.3v
Kailey
I don't ever get the runnable interface in the list.
"Olivier Thomann" <olivier_thomann@ca.ibm.com> wrote in message
news:462D2361.9010100@ca.ibm.com...
> Kailey Joanette a
|
|
|
Powered by
FUDForum. Page generated in 0.04247 seconds