接口 MetadataReader
- 所有已知实现类:
SimpleMetadataReader
public interface MetadataReader
Simple facade for accessing class metadata,
as read by an ASM
ClassReader.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Harry Yang
-
方法概要
修饰符和类型方法说明Read full annotation metadata for the underlying class, including metadata for annotated methods.Read basic class metadata for the underlying class.Return the resource reference for the class file.
-
方法详细资料
-
getResource
Resource getResource()Return the resource reference for the class file. -
getClassMetadata
ClassMetadata getClassMetadata()Read basic class metadata for the underlying class. -
getAnnotationMetadata
AnnotationMetadata getAnnotationMetadata()Read full annotation metadata for the underlying class, including metadata for annotated methods.
-