code: public static boolean isPrimitiveLike(Type t)
    {
      if(isNumber(t)) {
        return true;
      }
      if(isBoolean(t)) {
        return true;
      }
      if(isEnum(t)) {
        return true;
      }
      if(isCharacter(t)) {
        return true;
      }
      if(isDate(t)) {
        return true;
      }
      if(t == String.class) {
        return true;
      }
      return false;
    }
docs: Test if type is like a primitive? Return true only if given type is a number, boolean, enumeration, character or
  string.
  
  @param t type to test.
  @return true if this type is like a primitive.