Uses of Class
org.springframework.test.context.TestContextAnnotationUtils.AnnotationDescriptor
Package
Description
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
-
Uses of TestContextAnnotationUtils.AnnotationDescriptor in org.springframework.test.context
Modifier and TypeClassDescriptionstatic class
Untyped extension ofTestContextAnnotationUtils.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 TypeMethodDescriptionstatic <T extends Annotation>
TestContextAnnotationUtils.AnnotationDescriptor<T>TestContextAnnotationUtils.findAnnotationDescriptor
(Class<?> clazz, Class<T> annotationType) Find theTestContextAnnotationUtils.AnnotationDescriptor
for the suppliedannotationType
on the suppliedClass
, traversing its annotations, interfaces, superclasses, and enclosing classes if no annotation can be found on the given class itself.TestContextAnnotationUtils.AnnotationDescriptor.next()
Find the nextTestContextAnnotationUtils.AnnotationDescriptor
for the specified annotation type in the hierarchy above the root declaring class of this descriptor.