类 KotlinDetector
- java.lang.Object
- org.springframework.core.KotlinDetector
public abstract class KotlinDetector extends Object
A common delegate for detecting Kotlin's presence and for identifying Kotlin types.- 从以下版本开始:
- 5.0
- 作者:
- Juergen Hoeller, Sebastien Deleuze
构造器概要
构造器 构造器 说明 KotlinDetector()
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 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 givenClass
is a Kotlin type (with Kotlin metadata present on it).
构造器详细资料
KotlinDetector
public KotlinDetector()
方法详细资料
isKotlinPresent
public static boolean isKotlinPresent()
Determine whether Kotlin is present in general.
isKotlinReflectPresent
public static boolean isKotlinReflectPresent()
Determine whether Kotlin reflection is present.- 从以下版本开始:
- 5.1
isKotlinType
public static boolean isKotlinType(Class<?> clazz)
Determine whether the givenClass
is a Kotlin type (with Kotlin metadata present on it).