code: static boolean isBasicValueType(final Class<?> cls) {
          return cls == String.class //
                  || cls == Integer.class || cls == Integer.TYPE //
                  || cls == Long.class || cls == Long.TYPE //
                  || cls == Short.class || cls == Short.TYPE //
                  || cls == Float.class || cls == Float.TYPE //
                  || cls == Double.class || cls == Double.TYPE //
                  || cls == Byte.class || cls == Byte.TYPE //
                  || cls == Character.class || cls == Character.TYPE //
                  || cls == Boolean.class || cls == Boolean.TYPE //
                  || cls.isEnum();
      }
docs: Return true for classes that can be equal to a basic value type (types that can be converted directly to and
  from string representation).
  
  @param cls
  the class
  @return true, if the class is a basic value type