public interface ReflectionManager
| 限定符和类型 | 方法和说明 |
|---|---|
AnnotationReader |
buildAnnotationReader(AnnotatedElement annotatedElement) |
XClass |
classForName(String name)
Given the name of a Class, retrieve the XClass representation.
|
<T> boolean |
equals(XClass class1,
Class<T> class2) |
ClassLoaderDelegate |
getClassLoaderDelegate()
Access to the ClassLoaderDelegate currently associated with this ReflectionManager
|
Map |
getDefaults() |
void |
injectClassLoaderDelegate(ClassLoaderDelegate delegate)
Allows injection of a ClassLoaderDelegate into the ReflectionManager
|
XPackage |
packageForName(String packageName) |
Class |
toClass(XClass xClazz) |
Method |
toMethod(XMethod method) |
<T> XClass |
toXClass(Class<T> clazz) |
void injectClassLoaderDelegate(ClassLoaderDelegate delegate)
delegate - The ClassLoaderDelegate to useClassLoaderDelegate getClassLoaderDelegate()
XClass classForName(String name) throws ClassLoadingException
getClassLoaderDelegate()) to resolve the Class referencename - The name of the Class to load (as an XClass)ClassLoadingException - Indicates a problem resolving the Class; see ClassLoaderDelegate.classForName(java.lang.String)XPackage packageForName(String packageName) throws ClassNotFoundException
AnnotationReader buildAnnotationReader(AnnotatedElement annotatedElement)
Map getDefaults()
Copyright © 2020. All rights reserved.