public static class TestContextAnnotationUtils.UntypedAnnotationDescriptor extends TestContextAnnotationUtils.AnnotationDescriptor<Annotation>
TestContextAnnotationUtils.AnnotationDescriptor that is used
to describe the declaration of one of several candidate annotation types
where the actual annotation type cannot be predetermined.| Modifier and Type | Method and Description |
|---|---|
Set<Annotation> |
findAllLocalMergedAnnotations()
Throws an
UnsupportedOperationException since the type of annotation
represented by an UntypedAnnotationDescriptor is unknown. |
TestContextAnnotationUtils.UntypedAnnotationDescriptor |
next()
Find the next
TestContextAnnotationUtils.UntypedAnnotationDescriptor for the specified
annotation types in the hierarchy above the
root declaring class of this
descriptor. |
getAnnotation, getDeclaringClass, getRootDeclaringClass, toString@Nullable public TestContextAnnotationUtils.UntypedAnnotationDescriptor next()
TestContextAnnotationUtils.UntypedAnnotationDescriptor for the specified
annotation types in the hierarchy above the
root declaring class of this
descriptor.
If one of the corresponding annotations is found in the superclass hierarchy of the root declaring class, that will be returned. Otherwise, an attempt will be made to find a corresponding annotation in the enclosing class hierarchy of the root declaring class if appropriate.
next in class TestContextAnnotationUtils.AnnotationDescriptor<Annotation>nullTestContextAnnotationUtils.AnnotationDescriptor.next()public Set<Annotation> findAllLocalMergedAnnotations()
UnsupportedOperationException since the type of annotation
represented by an UntypedAnnotationDescriptor is unknown.findAllLocalMergedAnnotations in class TestContextAnnotationUtils.AnnotationDescriptor<Annotation>Annotations found,
or an empty set if none were found