クラス ClassUtils
java.lang.ObjectSE
org.springframework.integration.util.ClassUtils
- 導入:
- 2.0
- 作成者:
- Mark Fisher, Artem Bilan
フィールド概要
フィールド修飾子と型フィールド説明static final MethodSEFunction.apply(Object)SE メソッドオブジェクト。static final MethodSEorg.springframework.integration.core.GenericHandler#handle(Object, Map)メソッドオブジェクト。static final ClassSE<?>kotlin.jvm.functions.Function0クラスオブジェクト。static final MethodSEkotlin.jvm.functions.Function0#invokeメソッドオブジェクト。static final ClassSE<?>kotlin.jvm.functions.Function1クラスオブジェクト。static final MethodSEorg.springframework.integration.core.GenericSelector#accept(Object)メソッドオブジェクト。static final MethodSESupplier.get()メソッドオブジェクト。static final MethodSEorg.springframework.integration.core.GenericTransformer#transform(Object)メソッドオブジェクト。コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明static ClassSE<?>findClosestMatch(ClassSE<?> type, SetSE<ClassSE<?>> candidates, boolean failOnTie) static booleanisKotlinFunction0(ClassSE<?> aClass) クラスがkotlin.jvm.functions.Function0かどうかを確認します。static booleanisKotlinFunction1(ClassSE<?> aClass) クラスがkotlin.jvm.functions.Function1かどうかを確認します。static booleanisKotlinUnit(ClassSE<?> aClass) クラスがkotlin.Unitかどうかを確認します。static booleanクラスが Java または Kotlin ラムダであるかどうかを確認します。static booleanオブジェクトが Java、Kotlin、Groovy ラムダであるかどうかを確認します。static ClassSE<?>resolvePrimitiveType(ClassSE<?> clazz) 指定されたクラスがプリミティブラッパークラスである場合は解決し、代わりに対応するプリミティブ型を返します。
フィールドの詳細
FUNCTION_APPLY_METHOD
Function.apply(Object)SE メソッドオブジェクト。SUPPLIER_GET_METHOD
Supplier.get()メソッドオブジェクト。SELECTOR_ACCEPT_METHOD
org.springframework.integration.core.GenericSelector#accept(Object)メソッドオブジェクト。TRANSFORMER_TRANSFORM_METHOD
org.springframework.integration.core.GenericTransformer#transform(Object)メソッドオブジェクト。HANDLER_HANDLE_METHOD
org.springframework.integration.core.GenericHandler#handle(Object, Map)メソッドオブジェクト。KOTLIN_FUNCTION_0_CLASS
kotlin.jvm.functions.Function0クラスオブジェクト。KOTLIN_FUNCTION_0_INVOKE_METHOD
kotlin.jvm.functions.Function0#invokeメソッドオブジェクト。KOTLIN_FUNCTION_1_CLASS
kotlin.jvm.functions.Function1クラスオブジェクト。
コンストラクターの詳細
ClassUtils
public ClassUtils()
方法の詳細
findClosestMatch
resolvePrimitiveType
指定されたクラスがプリミティブラッパークラスである場合は解決し、代わりに対応するプリミティブ型を返します。- パラメーター:
clazz- チェックするラッパークラス- 戻り値:
- clazz がラッパーの場合は対応するプリミティブ、それ以外の場合は null
isLambda
オブジェクトが Java、Kotlin、Groovy ラムダであるかどうかを確認します。- パラメーター:
candidate- チェックするObjectSE- 戻り値:
- オブジェクトが Java、Kotlin、Groovy ラムダの場合は true。
- 導入:
- 6.2
isLambda
クラスが Java または Kotlin ラムダであるかどうかを確認します。- パラメーター:
aClass- チェックするClassSE- 戻り値:
- クラスが Java または Kotlin ラムダの場合は true。
- 導入:
- 5.2
isKotlinFunction0
クラスがkotlin.jvm.functions.Function0かどうかを確認します。- パラメーター:
aClass- チェックするClassSE- 戻り値:
- クラスが
kotlin.jvm.functions.Function0実装の場合は true。 - 導入:
- 5.5.14
isKotlinFunction1
クラスがkotlin.jvm.functions.Function1かどうかを確認します。- パラメーター:
aClass- チェックするClassSE- 戻り値:
- クラスが
kotlin.jvm.functions.Function1実装の場合は true。 - 導入:
- 5.5.14
isKotlinUnit
クラスがkotlin.Unitかどうかを確認します。- パラメーター:
aClass- チェックするClassSE- 戻り値:
- クラスが
kotlin.Unit実装の場合は true。 - 導入:
- 5.3.2