system/src/sc/lang/java/ModelUtil.java
public static boolean needsGetSet(Object boundType) {
      // The identifier can resolve to a "field" but the param typed member is a get method
      if (boundType instanceof ParamTypedMember) {
         boundType = ((ParamTypedMember) boundType).getMemberObject();
         return boundType instanceof MethodDefinition &&
                 ((MethodDefinition) boundType).hasGetMethod();
      }
      if (boundType instanceof PropertyAssignment)
         boundType = ((PropertyAssignment) boundType).getAssignedProperty();
      VariableDefinition varDef;
      return (boundType instanceof VariableDefinition) && ((varDef = (VariableDefinition) boundType).needsGetSet() || varDef.isDynamicType());
   }
/** Fields in the original model might get converted to get/set */
Fields in the original model might get converted to get/set
Fields in the original model might get converted to get / set
public static boolean needsGetSet(Object boundType) {
      if (boundType instanceof ParamTypedMember) {
         boundType = ((ParamTypedMember) boundType).getMemberObject();
         return boundType instanceof MethodDefinition &&
                 ((MethodDefinition) boundType).hasGetMethod();
      }
      if (boundType instanceof PropertyAssignment)
         boundType = ((PropertyAssignment) boundType).getAssignedProperty();
      VariableDefinition varDef;
      return (boundType instanceof VariableDefinition) && ((varDef = (VariableDefinition) boundType).needsGetSet() || varDef.isDynamicType());
   }
public static boolean needsGetSet ( Object boundType ) { if ( boundType instanceof ParamTypedMember ) { boundType = ( ( ParamTypedMember ) boundType ) . getMemberObject ( ) ; return boundType instanceof MethodDefinition && ( ( MethodDefinition ) boundType ) . hasGetMethod ( ) ; } if ( boundType instanceof PropertyAssignment ) boundType = ( ( PropertyAssignment ) boundType ) . getAssignedProperty ( ) ; VariableDefinition varDef ; return ( boundType instanceof VariableDefinition ) && ( ( varDef = ( VariableDefinition ) boundType ) . needsGetSet ( ) || varDef . isDynamicType ( ) ) ; }
Fields in the original model might get converted to get/set
Fields in the original model might get converted to get / set
// The identifier can resolve to a "field" but the param typed member is a get method