system/src/sc/lang/js/JSTypeParameters.java
public boolean isGetWithArgs() {
         boolean val = defaultMethod != null && ((defaultMethod.name.startsWith("get") && defaultMethod.name.length() > 3) ||
                                          (defaultMethod.name.startsWith("is") && defaultMethod.name.length() > 2)) && defaultMethod.getNumParameters() > 0 &&
                                          !getVariableParamNum();
         if (val)
            return true;
         return false;
      }
/**
       * Allows the code generation to handle the case where there's a getX(foo) method.  The runtime needs a way to tell that there's no getX() method so we'll
       * inject code to return undefined if arguments.length == 0.   When there are variable parameter numbers, we already check the parameters and will return undefined
       * cause no case will match.
       */
Allows the code generation to handle the case where there's a getX(foo) method.  The runtime needs a way to tell that there's no getX() method so we'll
inject code to return undefined if arguments.length == 0.   When there are variable parameter numbers, we already check the parameters and will return undefined
cause no case will match.
Allows the code generation to handle the case where there ' s a getX ( foo ) method . The runtime needs a way to tell that there ' s no getX () method so we ' ll inject code to return undefined if arguments . length == 0 . When there are variable parameter numbers we already check the parameters and will return undefined cause no case will match .
public boolean isGetWithArgs() {
         boolean val = defaultMethod != null && ((defaultMethod.name.startsWith("get") && defaultMethod.name.length() > 3) ||
                                          (defaultMethod.name.startsWith("is") && defaultMethod.name.length() > 2)) && defaultMethod.getNumParameters() > 0 &&
                                          !getVariableParamNum();
         if (val)
            return true;
         return false;
      }
public boolean isGetWithArgs ( ) { boolean val = defaultMethod != null && ( ( defaultMethod . name . startsWith ( "get" ) && defaultMethod . name . length ( ) > 3 ) || ( defaultMethod . name . startsWith ( "is" ) && defaultMethod . name . length ( ) > 2 ) ) && defaultMethod . getNumParameters ( ) > 0 && ! getVariableParamNum ( ) ; if ( val ) return true ; return false ; }
Allows the code generation to handle the case where there's a getX(foo) method.
Allows the code generation to handle the case where there ' s a getX ( foo ) method .