@ NullSafe public static boolean isClass ( Class type ) { return type != null && ! ( type . isAnnotation ( ) || type . isArray ( ) || type . isEnum ( ) || type . isInterface ( ) || type . isPrimitive ( ) ) ; }
Determines whether the specified Class object represents an actual class and not an Annotation Array Enum Interface or Primitive type .