类 TestContextAnnotationUtils.UntypedAnnotationDescriptor
java.lang.Object
cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor<Annotation>
cn.taketoday.test.context.TestContextAnnotationUtils.UntypedAnnotationDescriptor
public static class TestContextAnnotationUtils.UntypedAnnotationDescriptor
extends TestContextAnnotationUtils.AnnotationDescriptor<Annotation>
Untyped extension of
TestContextAnnotationUtils.AnnotationDescriptor that is used
to describe the declaration of one of several candidate annotation types
where the actual annotation type cannot be predetermined.-
字段概要
字段 -
构造器概要
构造器构造器说明UntypedAnnotationDescriptor(Class<?> rootDeclaringClass, Annotation annotation, Class<? extends Annotation>[] annotationTypes) UntypedAnnotationDescriptor(Class<?> rootDeclaringClass, Class<?> declaringClass, Annotation annotation, Class<? extends Annotation>[] annotationTypes) -
方法概要
修饰符和类型方法说明Throws anUnsupportedOperationExceptionsince the type of annotation represented by anUntypedAnnotationDescriptoris unknown.next()Find the nextTestContextAnnotationUtils.UntypedAnnotationDescriptorfor the specified annotation types in the hierarchy above the root declaring class of this descriptor.从类继承的方法 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
getAnnotation, getAnnotationType, getDeclaringClass, getRootDeclaringClass, toString
-
字段详细资料
-
annotationTypes
-
-
构造器详细资料
-
UntypedAnnotationDescriptor
UntypedAnnotationDescriptor(Class<?> rootDeclaringClass, Annotation annotation, Class<? extends Annotation>[] annotationTypes) -
UntypedAnnotationDescriptor
UntypedAnnotationDescriptor(Class<?> rootDeclaringClass, Class<?> declaringClass, Annotation annotation, Class<? extends Annotation>[] annotationTypes)
-
-
方法详细资料
-
next
Find the nextTestContextAnnotationUtils.UntypedAnnotationDescriptorfor 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在类中TestContextAnnotationUtils.AnnotationDescriptor<Annotation>- 返回:
- the next corresponding annotation descriptor if one of the
annotations was found; otherwise
null - 另请参阅:
-
findAllLocalMergedAnnotations
Throws anUnsupportedOperationExceptionsince the type of annotation represented by anUntypedAnnotationDescriptoris unknown.- 覆盖:
findAllLocalMergedAnnotations在类中TestContextAnnotationUtils.AnnotationDescriptor<Annotation>- 返回:
- the set of all merged, synthesized
Annotationsfound, or an empty set if none were found
-