パッケージ org.springframework.core

クラス KotlinDetector

java.lang.ObjectSE
org.springframework.core.KotlinDetector

public abstract class KotlinDetector extends ObjectSE
Kotlin の存在を検出し、Kotlin 型を識別するための共通デリゲート。
導入:
5.0
作成者:
Juergen Hoeller, Sebastien Deleuze
  • コンストラクターの詳細

    • KotlinDetector

      public KotlinDetector()
  • メソッドの詳細

    • isKotlinPresent

      public static boolean isKotlinPresent()
      Kotlin が一般的に存在するかどうかを確認します。
    • isKotlinReflectPresent

      public static boolean isKotlinReflectPresent()
      Kotlin 反射が存在するかどうかを確認します。
      導入:
      5.1
    • isKotlinType

      public static boolean isKotlinType(ClassSE<?> clazz)
      指定された Class が Kotlin 型(Kotlin メタデータが存在する)かどうかを判別します。
    • isSuspendingFunction

      public static boolean isSuspendingFunction(MethodSE method)
      メソッドがサスペンド関数の場合は、true を返します。
      導入:
      5.3