code: public static boolean isNumber(Type t)
    {
      for(int i = 0; i < NUMERICAL_TYPES.length; i++) {
        if(NUMERICAL_TYPES[i] == t) {
          return true;
        }
      }
      return false;
    }
docs: Test if type is numeric. A type is considered numeric if is a Java standard class representing a number.
  
  @param t type to test.
  @return true if <code>type</code> is numeric.