Class KotlinDetector
- java.lang.Object
-
- io.temporal.internal.common.kotlin.KotlinDetector
-
public abstract class KotlinDetector extends java.lang.Object
This class allows checking if the class is Kotlin class without using any Kotlin dependencies
-
-
Constructor Summary
Constructors Constructor Description KotlinDetector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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 givenClass
is a Kotlin type (with Kotlin metadata present on it).static boolean
isPresent(java.lang.String className, java.lang.ClassLoader classLoader)
-
-
-
Method Detail
-
isPresent
public static boolean isPresent(java.lang.String className, java.lang.ClassLoader classLoader)
-
isKotlinPresent
public static boolean isKotlinPresent()
Determine whether Kotlin is present in general.
-
isKotlinReflectPresent
public static boolean isKotlinReflectPresent()
Determine whether Kotlin reflection is present.
-
isKotlinType
public static boolean isKotlinType(java.lang.Class<?> clazz)
Determine whether the givenClass
is a Kotlin type (with Kotlin metadata present on it).
-
-