java.lang.Object
org.neo4j.ogm.support.ClassUtils
- Author:
- Michael J. Simons
-
Method Summary
-
Method Details
-
isEnum
See https://github.com/neo4j/neo4j-ogm/issues/643. An enum instance that overrides methods of the enum itself is realized as an anonymous inner class for whichClass.isEnum()returns false.- Parameters:
clazz- The class to check whether it is an enum or not.- Returns:
- True, if
clazzis an enum.
-
isEnum
- Parameters:
type- The type to check whether it is an enum or not.- Returns:
- True, if the type refers to an enum instance.
- See Also:
-
isEnum
- Parameters:
object-- Returns:
- True, if the object is an enum instance.
- See Also:
-