public interface ClassReader
限定符和类型 | 方法和说明 |
---|---|
Set<ClassInfo> |
getClass(String packageName,
boolean recursive)
Get class list by package
|
Set<ClassInfo> |
getClass(String packageName,
Class<?> parent,
boolean recursive)
Get class list by package and parent class
|
Set<ClassInfo> |
getClassByAnnotation(String packageName,
Class<?> parent,
Class<? extends Annotation> annotation,
boolean recursive)
Get class list by annotation and parent class
|
Set<ClassInfo> |
getClassByAnnotation(String packageName,
Class<? extends Annotation> annotation,
boolean recursive)
Get class list by annotation
|
Set<ClassInfo> getClass(String packageName, boolean recursive)
packageName
- package namerecursive
- whether the recursive scanningSet<ClassInfo> getClass(String packageName, Class<?> parent, boolean recursive)
packageName
- package nameparent
- parent classrecursive
- whether the recursive scanningSet<ClassInfo> getClassByAnnotation(String packageName, Class<? extends Annotation> annotation, boolean recursive)
packageName
- package nameannotation
- class annotationrecursive
- whether the recursive scanningSet<ClassInfo> getClassByAnnotation(String packageName, Class<?> parent, Class<? extends Annotation> annotation, boolean recursive)
packageName
- package nameparent
- parent classannotation
- class annotationrecursive
- whether the recursive scanningCopyright © 2017. All rights reserved.