Class KotlinDetector
java.lang.Object
io.temporal.internal.common.kotlin.KotlinDetector
This class allows checking if the class is Kotlin class without using any Kotlin dependencies
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDetermine whether Kotlin is present in general.static booleanDetermine whether Kotlin reflection is present.static booleanisKotlinType(Class<?> clazz) Determine whether the givenClassis a Kotlin type (with Kotlin metadata present on it).static booleanisPresent(String className, ClassLoader classLoader)
-
Constructor Details
-
KotlinDetector
public KotlinDetector()
-
-
Method Details
-
isPresent
-
isKotlinPresent
public static boolean isKotlinPresent()Determine whether Kotlin is present in general. -
isKotlinReflectPresent
public static boolean isKotlinReflectPresent()Determine whether Kotlin reflection is present. -
isKotlinType
Determine whether the givenClassis a Kotlin type (with Kotlin metadata present on it).
-