final class SimpleMetadataReader extends Object implements MetadataReader
MetadataReader implementation based on an ASM
org.springframework.asm.ClassReader.
Package-visible in order to allow for repackaging the ASM library
without effect on users of the core.type package.
| 构造器和说明 |
|---|
SimpleMetadataReader(Resource resource,
ClassLoader classLoader) |
| 限定符和类型 | 方法和说明 |
|---|---|
AnnotationMetadata |
getAnnotationMetadata()
Read full annotation metadata for the underlying class,
including metadata for annotated methods.
|
ClassMetadata |
getClassMetadata()
Read basic class metadata for the underlying class.
|
Resource |
getResource()
Return the resource reference for the class file.
|
SimpleMetadataReader(Resource resource, ClassLoader classLoader) throws IOException
IOExceptionpublic Resource getResource()
MetadataReadergetResource 在接口中 MetadataReaderpublic ClassMetadata getClassMetadata()
MetadataReadergetClassMetadata 在接口中 MetadataReaderpublic AnnotationMetadata getAnnotationMetadata()
MetadataReadergetAnnotationMetadata 在接口中 MetadataReaderCopyright © 2020. All rights reserved.