クラス TestContextAnnotationUtils.UntypedAnnotationDescriptor
java.lang.ObjectSE
org.springframework.test.context.TestContextAnnotationUtils.AnnotationDescriptor<AnnotationSE>
org.springframework.test.context.TestContextAnnotationUtils.UntypedAnnotationDescriptor
- 含まれているクラス:
- TestContextAnnotationUtils
public static class TestContextAnnotationUtils.UntypedAnnotationDescriptor
extends TestContextAnnotationUtils.AnnotationDescriptor<AnnotationSE>
実際のアノテーション型を事前に決定できない、いくつかの候補アノテーション型の 1 つの宣言を記述するために使用される
TestContextAnnotationUtils.AnnotationDescriptor
の型なし拡張。メソッドのサマリー
修飾子と型メソッド説明UntypedAnnotationDescriptor
で表されるアノテーションの型が不明であるため、UnsupportedOperationException
SE をスローします。next()
この記述子のルート宣言クラスの上の階層で、指定されたアノテーション型の次のTestContextAnnotationUtils.UntypedAnnotationDescriptor
を見つけます。クラス org.springframework.test.context.TestContextAnnotationUtils.AnnotationDescriptor から継承されたメソッド
getAnnotation, getDeclaringClass, getRootDeclaringClass, toString
メソッドの詳細
next
この記述子のルート宣言クラスの上の階層で、指定されたアノテーション型の次のTestContextAnnotationUtils.UntypedAnnotationDescriptor
を見つけます。対応するアノテーションの 1 つがルート宣言クラスのスーパークラス階層で見つかった場合、それが返されます。それ以外の場合は、必要に応じて、ルート宣言クラスの囲んでいるクラス階層で対応するアノテーションを見つけようとします。
- オーバーライド:
- クラス
TestContextAnnotationUtils.AnnotationDescriptor<AnnotationSE>
のnext
- 戻り値:
- アノテーションの 1 つが見つかった場合は、次に対応するアノテーション記述子。それ以外の場合は
null
- 関連事項:
findAllLocalMergedAnnotations
UntypedAnnotationDescriptor
で表されるアノテーションの型が不明であるため、UnsupportedOperationException
SE をスローします。- オーバーライド:
- クラス
TestContextAnnotationUtils.AnnotationDescriptor<AnnotationSE>
のfindAllLocalMergedAnnotations
- 戻り値:
- マージされ、合成されたすべての
Annotations
のセットが見つかりました。見つからなかった場合は空のセット