public abstract class KotlinDetector extends 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(Class<?> clazz)
Determine whether the given
Class is a Kotlin type
(with Kotlin metadata present on it). |
static boolean |
isSuspendingFunction(Method method)
Return
true if the method is a suspending function. |
public static boolean isKotlinPresent()
public static boolean isKotlinReflectPresent()
public static boolean isKotlinType(Class<?> clazz)
Class is a Kotlin type
(with Kotlin metadata present on it).public static boolean isSuspendingFunction(Method method)
true if the method is a suspending function.