クラス SimpleReflectiveProcessor

java.lang.ObjectSE
org.springframework.aot.hint.annotation.SimpleReflectiveProcessor
実装されたすべてのインターフェース:
ReflectiveProcessor

public class SimpleReflectiveProcessor extends ObjectSE implements ReflectiveProcessor
アノテーション付き型のリフレクションヒントのみを登録する単純な ReflectiveProcessor 実装。特定の AnnotatedElementSE 型の処理をカスタマイズするためにサブクラス化できます。
導入:
6.0
作成者:
Stephane Nicoll
  • コンストラクターの詳細

    • SimpleReflectiveProcessor

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

    • registerReflectionHints

      public void registerReflectionHints(ReflectionHints hints, AnnotatedElementSE element)
      インターフェースからコピーされた説明: ReflectiveProcessor
      指定された AnnotatedElementSE に対して ReflectionHints を登録します。
      次で指定:
      インターフェース ReflectiveProcessorregisterReflectionHints 
      パラメーター:
      hints - 使用するリフレクションヒントインスタンス
      element - 処理する要素
    • registerTypeHint

      protected void registerTypeHint(ReflectionHints hints, ClassSE<?> type)
      指定された ClassSE に対して ReflectionHints を登録します。
      パラメーター:
      hints - 使用するリフレクションヒントインスタンス
      type - 処理するクラス
    • registerConstructorHint

      protected void registerConstructorHint(ReflectionHints hints, ConstructorSE<?> constructor)
      指定された ConstructorSE に対して ReflectionHints を登録します。
      パラメーター:
      hints - 使用するリフレクションヒントインスタンス
      constructor - 処理するコンストラクター
    • registerFieldHint

      protected void registerFieldHint(ReflectionHints hints, FieldSE field)
      指定された FieldSE に対して ReflectionHints を登録します。
      パラメーター:
      hints - 使用するリフレクションヒントインスタンス
      field - 処理するフィールド
    • registerMethodHint

      protected void registerMethodHint(ReflectionHints hints, MethodSE method)
      指定された MethodSE に対して ReflectionHints を登録します。
      パラメーター:
      hints - 使用するリフレクションヒントインスタンス
      method - 処理方法