クラス HandlerMethod.HandlerMethodParameter

含まれているクラス:
HandlerMethod

protected class HandlerMethod.HandlerMethodParameter extends SynthesizingMethodParameter
HandlerMethod 固有の動作を持つ MethodParameter。
  • コンストラクターの詳細

  • メソッドの詳細

    • getMethod

      @NonNull public MethodSE getMethod()
      クラスからコピーされた説明: MethodParameter
      ラップされたメソッドがあれば返します。

      メモ: Method または Constructor のいずれかを使用できます。

      オーバーライド:
      クラス MethodParametergetMethod 
      戻り値:
      メソッド、または存在しない場合は null 
    • getContainingClass

      public ClassSE<?> getContainingClass()
      クラスからコピーされた説明: MethodParameter
      このメソッドパラメーターの包含クラスを返します。
      オーバーライド:
      クラス MethodParametergetContainingClass 
      戻り値:
      特定の包含クラス(潜在的に宣言クラスのサブクラス)、または単に宣言クラス自体
      関連事項:
    • getMethodAnnotation

      public <T extends AnnotationSE> T getMethodAnnotation(ClassSE<T> annotationType)
      クラスからコピーされた説明: MethodParameter
      可能な場合、指定された型のメソッド / コンストラクターアノテーションを返します。
      オーバーライド:
      クラス MethodParametergetMethodAnnotation 
      パラメーター:
      annotationType - 検索するアノテーション型
      戻り値:
      アノテーションオブジェクト、または見つからない場合は null 
    • hasMethodAnnotation

      public <T extends AnnotationSE> boolean hasMethodAnnotation(ClassSE<T> annotationType)
      クラスからコピーされた説明: MethodParameter
      メソッド / コンストラクターに指定された型のアノテーションが付けられているかどうかを返します。
      オーバーライド:
      クラス MethodParameterhasMethodAnnotation 
      パラメーター:
      annotationType - 検索するアノテーション型
      関連事項:
    • getParameterAnnotations

      public AnnotationSE[] getParameterAnnotations()
      クラスからコピーされた説明: MethodParameter
      特定のメソッド / コンストラクターパラメーターに関連付けられているアノテーションを返します。
      オーバーライド:
      クラス MethodParametergetParameterAnnotations 
    • clone

      オーバーライド:
      クラス SynthesizingMethodParameterclone