system/src/sc/lang/java/ModelUtil.java
public static String isGetMethod(String name, Object[] parameterTypes, Object returnType) {
      String typeName;
      if (name.startsWith("get") || name.startsWith("is")) {
         if (returnType != null && ModelUtil.typeIsVoid(returnType))
            return null;
         if (parameterTypes == null || parameterTypes.length == 0 ||
             (parameterTypes.length == 1 && name.startsWith("get") && typeIsBoolean(parameterTypes[0])))
           return CTypeUtil.decapitalizePropertyName(name.charAt(0) == 'g' ? name.substring(3) : name.substring(2));
      }
      return null;
   }
/**
    * These next three functions take info from a method and turn it into a property name if it is a property of
    * this type.  Note that we can't use getTypeDeclaration here since we need this info before we start the
    * component so all determinations must be done using the type name.
    */
These next three functions take info from a method and turn it into a property name if it is a property of
this type.  Note that we can't use getTypeDeclaration here since we need this info before we start the
component so all determinations must be done using the type name.
These next three functions take info from a method and turn it into a property name if it is a property of this type . Note that we can ' t use getTypeDeclaration here since we need this info before we start the component so all determinations must be done using the type name .
public static String isGetMethod(String name, Object[] parameterTypes, Object returnType) {
      String typeName;
      if (name.startsWith("get") || name.startsWith("is")) {
         if (returnType != null && ModelUtil.typeIsVoid(returnType))
            return null;
         if (parameterTypes == null || parameterTypes.length == 0 ||
             (parameterTypes.length == 1 && name.startsWith("get") && typeIsBoolean(parameterTypes[0])))
           return CTypeUtil.decapitalizePropertyName(name.charAt(0) == 'g' ? name.substring(3) : name.substring(2));
      }
      return null;
   }
public static String isGetMethod ( String name , Object [ ] parameterTypes , Object returnType ) { String typeName ; if ( name . startsWith ( "get" ) || name . startsWith ( "is" ) ) { if ( returnType != null && ModelUtil . typeIsVoid ( returnType ) ) return null ; if ( parameterTypes == null || parameterTypes . length == 0 || ( parameterTypes . length == 1 && name . startsWith ( "get" ) && typeIsBoolean ( parameterTypes [ 0 ] ) ) ) return CTypeUtil . decapitalizePropertyName ( name . charAt ( 0 ) == 'g' ? name . substring ( 3 ) : name . substring ( 2 ) ) ; } return null ; }
These next three functions take info from a method and turn it into a property name if it is a property of
 this type.
These next three functions take info from a method and turn it into a property name if it is a property of this type .