code: public static boolean isBasicType(Class<?> clazz) {
  		return (clazz == null) ? false : (clazz.isPrimitive()
  				|| clazz.equals(String.class)
  				|| clazz.equals(Long.class)
  				|| clazz.equals(Integer.class)
  				|| clazz.equals(Boolean.class)
  				|| clazz.equals(Byte.class)
  				|| clazz.equals(Short.class)
  				|| clazz.equals(Float.class)
  				|| clazz.equals(Double.class)
  				|| clazz.equals(Character.class));
  	}
docs: Checks if a class is primitive, String or a primitive wrapper.
  
  @param clazz a class
  @return true if primitive or wrapper