system/src/sc/lang/java/IdentifierExpression.java
private boolean enclosingTypeExtends(Object other) {
      JavaSemanticNode node = this;
      TypeDeclaration decl;
      do {
         decl = node.getEnclosingType();
         if (decl != null)
            if (ModelUtil.isAssignableFrom(other, decl))
               return true;
         node = decl;
      } while (decl != null);
      return false;
   }
/**
    * To decide if we need to prepend the type: if any of the parent types of this reference extends that type
    * we do not need to prepend the type.
    */
To decide if we need to prepend the type: if any of the parent types of this reference extends that type
we do not need to prepend the type.
To decide if we need to prepend the type : if any of the parent types of this reference extends that type we do not need to prepend the type .
private boolean enclosingTypeExtends(Object other) {
      JavaSemanticNode node = this;
      TypeDeclaration decl;
      do {
         decl = node.getEnclosingType();
         if (decl != null)
            if (ModelUtil.isAssignableFrom(other, decl))
               return true;
         node = decl;
      } while (decl != null);
      return false;
   }
private boolean enclosingTypeExtends ( Object other ) { JavaSemanticNode node = this ; TypeDeclaration decl ; do { decl = node . getEnclosingType ( ) ; if ( decl != null ) if ( ModelUtil . isAssignableFrom ( other , decl ) ) return true ; node = decl ; } while ( decl != null ) ; return false ; }
To decide if we need to prepend the type: if any of the parent types of this reference extends that type
 we do not need to prepend the type.
To decide if we need to prepend the type : if any of the parent types of this reference extends that type we do not need to prepend the type .