public abstract class KotlinDetector
extends java.lang.Object
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). |
static boolean |
isPresent(java.lang.String className,
java.lang.ClassLoader classLoader) |
public static boolean isPresent(java.lang.String className, java.lang.ClassLoader classLoader)
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).