Class Classes


  • public final class Classes
    extends Object
    • Method Detail

      • isSimpleProperty

        public static boolean isSimpleProperty​(Class<?> clazz)
        Check if the given type represents a "simple" property: a primitive, a String or other CharSequence, a Number, a Date, a URI, a URL, a Locale, a Class, or a corresponding array. Used to determine properties to check for a "simple" dependency-check. Params: clazz – the type to check Returns: whether the given type represents a "simple" property
      • isSimpleValueType

        public static boolean isSimpleValueType​(Class<?> clazz)
        Check if the given type represents a "simple" value type: a primitive, a String or other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class.
        Parameters:
        clazz - the type to check
        Returns:
        whether the given type represents a "simple" value type