Hi,

Try using 
org.eclipse.php.internal.core.ast.nodes.Bindings.findTypeInHierarchy(ITypeBinding,
 String)

Roy
-----Original Message-----
From: pdt-dev-boun...@eclipse.org [mailto:pdt-dev-boun...@eclipse.org] On 
Behalf Of Robert Gruendler
Sent: Thursday, October 27, 2011 12:36 PM
To: pdt-dev@eclipse.org
Subject: [pdt-dev] Check if any class in the superclasshierarchy implements an 
interface

Hi,

i'm trying to check in my IndexingVisitorExtension if a visited class
implements a certain interface.

The ClassDeclaration's "getSuperclasses()" method seemed to be a way to 
do this,
but as it turns out it only evaluates the direct superclass and the 
direct implemented
interfaces.

So i'm wondering if i somehow can walk through the complete superclass 
hierarchy during
indexing of a php class?

regards

-robert


_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to