接口的使用
org.springframework.core.type.AnnotatedTypeMetadata
使用AnnotatedTypeMetadata的程序包 程序包 说明 org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.core.type Core support package for type introspection.org.springframework.core.type.classreading Support classes for reading annotation and class-level metadata.org.springframework.context.annotation中AnnotatedTypeMetadata的使用
参数类型为AnnotatedTypeMetadata的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 boolean
Condition. matches(ConditionContext context, AnnotatedTypeMetadata metadata)
Determine if the condition matches.org.springframework.core.type中AnnotatedTypeMetadata的使用
org.springframework.core.type中AnnotatedTypeMetadata的子接口 修饰符和类型 接口 说明 interface
AnnotationMetadata
Interface that defines abstract access to the annotations of a specific class, in a form that does not require that class to be loaded yet.interface
MethodMetadata
Interface that defines abstract access to the annotations of a specific class, in a form that does not require that class to be loaded yet.实现AnnotatedTypeMetadata的org.springframework.core.type中的类 修饰符和类型 类 说明 class
StandardAnnotationMetadata
AnnotationMetadata
implementation that uses standard reflection to introspect a givenClass
.class
StandardMethodMetadata
MethodMetadata
implementation that uses standard reflection to introspect a givenMethod
.org.springframework.core.type.classreading中AnnotatedTypeMetadata的使用
实现AnnotatedTypeMetadata的org.springframework.core.type.classreading中的类 修饰符和类型 类 说明 class
AnnotationMetadataReadingVisitor
已过时。As of Spring Framework 5.2, this class has been replaced bySimpleAnnotationMetadataReadingVisitor
for internal use within the framework, but there is no public replacement forAnnotationMetadataReadingVisitor
.class
MethodMetadataReadingVisitor
已过时。As of Spring Framework 5.2, this class and related classes in this package have been replaced bySimpleAnnotationMetadataReadingVisitor
and related classes for internal use within the framework.