クラス AnnotatedMethod.AnnotatedMethodParameter
java.lang.ObjectSE
org.springframework.core.MethodParameter
org.springframework.core.annotation.SynthesizingMethodParameter
org.springframework.core.annotation.AnnotatedMethod.AnnotatedMethodParameter
- 含まれているクラス:
- AnnotatedMethod
AnnotatedMethod 固有の動作を持つ MethodParameter。
コンストラクターのサマリー
コンストラクター方法の概要
修飾子と型メソッド説明clone()
ClassSE<?>
このメソッドパラメーターの包含クラスを返します。ラップされたメソッドがあれば返します。<T extends AnnotationSE>
TgetMethodAnnotation
(ClassSE<T> annotationType) 可能な場合、指定された型のメソッド / コンストラクターアノテーションを返します。特定のメソッド / コンストラクターパラメーターに関連付けられているアノテーションを返します。<T extends AnnotationSE>
booleanhasMethodAnnotation
(ClassSE<T> annotationType) メソッド / コンストラクターに指定された型のアノテーションが付けられているかどうかを返します。クラス org.springframework.core.annotation.SynthesizingMethodParameter から継承されたメソッド
adaptAnnotation, adaptAnnotationArray, forExecutable, forParameter
クラス org.springframework.core.MethodParameter から継承されたメソッド
decreaseNestingLevel, equals, findParameterIndex, forFieldAwareConstructor, forMethodOrConstructor, getAnnotatedElement, getConstructor, getDeclaringClass, getExecutable, getGenericParameterType, getMember, getMethodAnnotations, getNestedGenericParameterType, getNestedParameterType, getNestingLevel, getParameter, getParameterAnnotation, getParameterIndex, getParameterName, getParameterType, getTypeIndexForCurrentLevel, getTypeIndexForLevel, hashCode, hasParameterAnnotation, hasParameterAnnotations, increaseNestingLevel, initParameterNameDiscovery, isOptional, nested, nested, nestedIfOptional, setTypeIndexForCurrentLevel, toString, withContainingClass, withTypeIndex
コンストラクターの詳細
AnnotatedMethodParameter
public AnnotatedMethodParameter(int index) AnnotatedMethodParameter
メソッドの詳細
getMethod
クラスからコピーされた説明:MethodParameter
ラップされたメソッドがあれば返します。メモ: Method または Constructor のいずれかを使用できます。
- オーバーライド:
- クラス
MethodParameter
のgetMethod
- 戻り値:
- メソッド、または存在しない場合は
null
getContainingClass
クラスからコピーされた説明:MethodParameter
このメソッドパラメーターの包含クラスを返します。- オーバーライド:
- クラス
MethodParameter
のgetContainingClass
- 戻り値:
- 特定の包含クラス(潜在的に宣言クラスのサブクラス)、または単に宣言クラス自体
- 関連事項:
getMethodAnnotation
クラスからコピーされた説明:MethodParameter
可能な場合、指定された型のメソッド / コンストラクターアノテーションを返します。- オーバーライド:
- クラス
MethodParameter
のgetMethodAnnotation
- パラメーター:
annotationType
- 検索するアノテーション型- 戻り値:
- アノテーションオブジェクト、または見つからない場合は
null
hasMethodAnnotation
クラスからコピーされた説明:MethodParameter
メソッド / コンストラクターに指定された型のアノテーションが付けられているかどうかを返します。- オーバーライド:
- クラス
MethodParameter
のhasMethodAnnotation
- パラメーター:
annotationType
- 検索するアノテーション型- 関連事項:
getParameterAnnotations
クラスからコピーされた説明:MethodParameter
特定のメソッド / コンストラクターパラメーターに関連付けられているアノテーションを返します。- オーバーライド:
- クラス
MethodParameter
のgetParameterAnnotations
clone
- オーバーライド:
- クラス
SynthesizingMethodParameter
のclone