code: public boolean isNumber() {
  		if (type == Byte.TYPE || type == Short.TYPE || type == Integer.TYPE
  				|| type == Long.TYPE || type == Float.TYPE
  				|| type == Double.TYPE) {
  			return true;
  		} else {
  			return isRawTypeSubOf(Number.class);
  		}
  	}
docs: check if type is a number type (either primitive or instance of Number)
  
  @param type
  @return
  @throws ClassNotFoundException