Class.getInterfaces() ?
That gives the interfaces that that class implements.

But if you extend a class. Then you already know at compile time that it
implements the interface or not.
So why do you want to check for that at runtime?
And you can always do an instanceof check

johan


On 11/4/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:

IAlternateParentProvider is an interface and Border for example
implements it. The disadvantage is that no subclass of Border is able
to reliably change the IAlternateParentProvider implementation as
super.XXX is not available. Or does anyone know a means to check that
a superclass implements the interface and than call the superclass'
implementation from the subclass?

Juergen

Reply via email to