public abstract class KotlinDetector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.Class<? extends java.lang.annotation.Annotation> |
kotlinMetadata |
private static boolean |
kotlinReflectPresent |
private static Log |
logger |
Constructor and Description |
---|
KotlinDetector() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isKotlinPresent()
Determine whether Kotlin is present in general.
|
static boolean |
isKotlinReflectPresent()
Determine whether Kotlin reflection is present.
|
static boolean |
isKotlinType(java.lang.Class<?> clazz)
Determine whether the given
Class is a Kotlin type
(with Kotlin metadata present on it). |
private static final Log logger
@Nullable private static final java.lang.Class<? extends java.lang.annotation.Annotation> kotlinMetadata
private static final boolean kotlinReflectPresent
public static boolean isKotlinPresent()
public static boolean isKotlinReflectPresent()
public static boolean isKotlinType(java.lang.Class<?> clazz)
Class
is a Kotlin type
(with Kotlin metadata present on it).