Package org.neo4j.ogm.metadata
Class KotlinDetector
java.lang.Object
org.neo4j.ogm.metadata.KotlinDetector
A common delegate for detecting Kotlin's presence and for identifying Kotlin types.
This version has been adapted from Spring Framework's
org.springframework.core.KotlinDetector
. Thanks to
Juergen and Sebastien.- Author:
- Juergen Hoeller, Sebastien Deleuze, Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Determine whether Kotlin is present in general.static boolean
isKotlinType
(Class<?> clazz) Determine whether the givenClass
is a Kotlin type (with Kotlin metadata present on it).
-
Method Details
-
isKotlinPresent
public static boolean isKotlinPresent()Determine whether Kotlin is present in general. -
isKotlinType
Determine whether the givenClass
is a Kotlin type (with Kotlin metadata present on it).
-