/** @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);
 }
Example #2
0
 public void flushCache() {
   super.flushCache();
   isCircular_visited = 0;
   isCircular_computed = false;
   isCircular_initialized = false;
   getSuperClassAccessOpt_computed = false;
   getSuperClassAccessOpt_value = null;
   getImplementsList_computed = false;
   getImplementsList_value = null;
 }
Example #3
0
 private boolean supertypeClassDecl_compute(ClassDecl type) {
   return type.subtype(genericDecl().original());
 }