system/src/sc/lang/java/IdentifierExpression.java
private Object evalRootObjectValue(ExecutionContext ctx, boolean returnTypes) {
      Object enclType = ModelUtil.getEnclosingType(boundTypes[0]);
      if (!isThisObjectReference()) {
         return ctx.resolveName(ModelUtil.getTypeName(boundTypes[0]), returnTypes);
      }
      else {
         Object rtType = ModelUtil.getRuntimeType(enclType);
         if (rtType == null)
            rtType = enclType; // Might be an inner object optimized so there's compiled class - if so, just use the TypeDeclaration to find it
         return evalThisReference(rtType, ctx);
      }
   }
/*
    * Retrieves the value of a top level object reference.  Could be static or a property of one of the objects
    * on the "this" stack of the current definition.
    */
Retrieves the value of a top level object reference.  Could be static or a property of one of the objects
on the "this" stack of the current definition.
Retrieves the value of a top level object reference . Could be static or a property of one of the objects on the " this " stack of the current definition .
private Object evalRootObjectValue(ExecutionContext ctx, boolean returnTypes) {
      Object enclType = ModelUtil.getEnclosingType(boundTypes[0]);
      if (!isThisObjectReference()) {
         return ctx.resolveName(ModelUtil.getTypeName(boundTypes[0]), returnTypes);
      }
      else {
         Object rtType = ModelUtil.getRuntimeType(enclType);
         if (rtType == null)
            rtType = enclType; 
         return evalThisReference(rtType, ctx);
      }
   }
private Object evalRootObjectValue ( ExecutionContext ctx , boolean returnTypes ) { Object enclType = ModelUtil . getEnclosingType ( boundTypes [ 0 ] ) ; if ( ! isThisObjectReference ( ) ) { return ctx . resolveName ( ModelUtil . getTypeName ( boundTypes [ 0 ] ) , returnTypes ) ; } else { Object rtType = ModelUtil . getRuntimeType ( enclType ) ; if ( rtType == null ) rtType = enclType ; return evalThisReference ( rtType , ctx ) ; } }
Retrieves the value of a top level object reference.
Retrieves the value of a top level object reference .
// Might be an inner object optimized so there's compiled class - if so, just use the TypeDeclaration to find it