system/src/sc/lang/java/Expression.java
protected boolean inObjectGetMethod(Object newType) {
      MethodDefinition currentMethod;

      if ((currentMethod = getCurrentMethod()) != null &&
              currentMethod.propertyName != null) {
         Object objectType = currentMethod.getReturnType(true);
         if (objectType != null)
            return ModelUtil.sameTypes(objectType, newType);
      }
      return false;
   }
/** Returns true this expression is defined in a method which makes up a getX method for an object of the type being newed.
    * Because we do not generate classes for simple inner types, the newType passed has to be the runtime class used in the
    * new expression for this objects type.
    */
Returns true this expression is defined in a method which makes up a getX method for an object of the type being newed.
Because we do not generate classes for simple inner types, the newType passed has to be the runtime class used in the
new expression for this objects type.
Returns true this expression is defined in a method which makes up a getX method for an object of the type being newed . Because we do not generate classes for simple inner types the newType passed has to be the runtime class used in the new expression for this objects type .
protected boolean inObjectGetMethod(Object newType) {
      MethodDefinition currentMethod;
      if ((currentMethod = getCurrentMethod()) != null &&
              currentMethod.propertyName != null) {
         Object objectType = currentMethod.getReturnType(true);
         if (objectType != null)
            return ModelUtil.sameTypes(objectType, newType);
      }
      return false;
   }
protected boolean inObjectGetMethod ( Object newType ) { MethodDefinition currentMethod ; if ( ( currentMethod = getCurrentMethod ( ) ) != null && currentMethod . propertyName != null ) { Object objectType = currentMethod . getReturnType ( true ) ; if ( objectType != null ) return ModelUtil . sameTypes ( objectType , newType ) ; } return false ; }
Returns true this expression is defined in a method which makes up a getX method for an object of the type being newed.
Returns true this expression is defined in a method which makes up a getX method for an object of the type being newed .