/** @apilevel internal */ private boolean isSupertypeOfClassDecl_compute(ClassDecl type) { if (super.isSupertypeOfClassDecl(type)) return true; for (Iterator iter = type.interfacesIterator(); iter.hasNext(); ) { TypeDecl typeDecl = (TypeDecl) iter.next(); if (typeDecl.instanceOf(this)) return true; } return type.hasSuperclass() && type.superclass() != null && type.superclass().instanceOf(this); }