クラスの使用
org.springframework.aot.hint.ReflectionHints
ReflectionHints を使用するパッケージ
パッケージ
説明
リフレクション、リソース、java 直列化、実行時のプロキシの必要性を登録するためのサポート。
ランタイムヒントのアノテーションサポート。
メッセージを処理するためのアノテーションとサポートクラス。
org.springframework.aot.hint 内の ReflectionHints 使用
ReflectionHints を返す org.springframework.aot.hint のメソッド修飾子と型メソッド説明RuntimeHints.jni()jni ベースのヒントへのアクセスを提供します。RuntimeHints.reflection()リフレクションベースのヒントへのアクセスを提供します。ReflectionHints.registerConstructor(ConstructorSE<?> constructor, ExecutableMode mode) 指定されたExecutableModeを使用して、指定されたConstructorSE でリフレクションの必要性を登録します。ReflectionHints.registerField(FieldSE field) 指定されたFieldSE に反射フィールドアクセスの必要性を登録します。ReflectionHints.registerForInterfaces(ClassSE<?> type, ConsumerSE<TypeHint.Builder> typeHint) 共通の Java 言語インターフェースを無視して、指定された型とその親クラスによって実装されるすべてのインターフェースのリフレクションヒントを登録またはカスタマイズします。ReflectionHints.registerMethod(MethodSE method, ExecutableMode mode) 指定されたExecutableModeを使用して、指定されたMethodSE でリフレクションの必要性を登録します。ReflectionHints.registerType(ClassSE<?> type, ConsumerSE<TypeHint.Builder> typeHint) 指定された型のリフレクションヒントを登録またはカスタマイズします。ReflectionHints.registerType(ClassSE<?> type, MemberCategory... memberCategories) 指定されたMemberCategoriesを使用して、指定された型のリフレクションヒントを登録またはカスタマイズします。ReflectionHints.registerType(TypeReference type, ConsumerSE<TypeHint.Builder> typeHint) 指定されたTypeReferenceによって定義された型のリフレクションヒントを登録またはカスタマイズします。ReflectionHints.registerType(TypeReference type, MemberCategory... memberCategories) 指定されたMemberCategoriesを使用して、指定された型のリフレクションヒントを登録またはカスタマイズします。ReflectionHints.registerTypeIfPresent(ClassLoaderSE classLoader, StringSE typeName, ConsumerSE<TypeHint.Builder> typeHint) 指定されたClassLoaderSE を使用して利用可能な場合、指定された型のリフレクションヒントを登録またはカスタマイズします。ReflectionHints.registerTypeIfPresent(ClassLoaderSE classLoader, StringSE typeName, MemberCategory... memberCategories) 指定されたClassLoaderSE を使用して利用可能な場合、指定された型のリフレクションヒントを登録またはカスタマイズします。ReflectionHints.registerTypes(IterableSE<TypeReference> types, ConsumerSE<TypeHint.Builder> typeHint) type referencesの指定されたリストによって定義された型のリフレクションヒントを登録またはカスタマイズします。型 ReflectionHints のパラメーターを持つ org.springframework.aot.hint のメソッド修飾子と型メソッド説明voidBindingReflectionHintsRegistrar.registerReflectionHints(ReflectionHints hints, TypeSE... types) 指定された型をバインドするために必要なリフレクションヒントを登録します。org.springframework.aot.hint.annotation 内の ReflectionHints 使用
型 ReflectionHints のパラメーターを持つ org.springframework.aot.hint.annotation のメソッド修飾子と型メソッド説明protected voidSimpleReflectiveProcessor.registerConstructorHint(ReflectionHints hints, ConstructorSE<?> constructor) 指定されたConstructorSE に対してReflectionHintsを登録します。protected voidSimpleReflectiveProcessor.registerFieldHint(ReflectionHints hints, FieldSE field) 指定されたFieldSE に対してReflectionHintsを登録します。protected voidSimpleReflectiveProcessor.registerMethodHint(ReflectionHints hints, MethodSE method) 指定されたMethodSE に対してReflectionHintsを登録します。voidReflectiveProcessor.registerReflectionHints(ReflectionHints hints, AnnotatedElementSE element) 指定されたAnnotatedElementSE に対してReflectionHintsを登録します。protected voidRegisterReflectionReflectiveProcessor.registerReflectionHints(ReflectionHints hints, ClassSE<?> target, MemberCategory[] memberCategories) final voidRegisterReflectionReflectiveProcessor.registerReflectionHints(ReflectionHints hints, AnnotatedElementSE element) protected voidRegisterReflectionReflectiveProcessor.registerReflectionHints(ReflectionHints hints, RegisterReflectionReflectiveProcessor.ReflectionRegistration registration) voidSimpleReflectiveProcessor.registerReflectionHints(ReflectionHints hints, AnnotatedElementSE element) protected voidSimpleReflectiveProcessor.registerTypeHint(ReflectionHints hints, ClassSE<?> type) 指定されたClassSE に対してReflectionHintsを登録します。org.springframework.messaging.handler.annotation 内の ReflectionHints 使用
型 ReflectionHints のパラメーターを持つ org.springframework.messaging.handler.annotation のメソッド修飾子と型メソッド説明protected voidMessageMappingReflectiveProcessor.registerMessageExceptionHandlerHints(ReflectionHints hints, MessageExceptionHandler annotation) protected voidMessageMappingReflectiveProcessor.registerMethodHints(ReflectionHints hints, MethodSE method) protected voidMessageMappingReflectiveProcessor.registerParameterHints(ReflectionHints hints, MethodSE method) voidMessageMappingReflectiveProcessor.registerReflectionHints(ReflectionHints hints, AnnotatedElementSE element) protected voidMessageMappingReflectiveProcessor.registerReturnValueHints(ReflectionHints hints, MethodSE method) protected voidMessageMappingReflectiveProcessor.registerTypeHints(ReflectionHints hints, ClassSE<?> type)