public class JavaReflectionManager extends Object implements ReflectionManager, MetadataProviderInjector
| 构造器和说明 |
|---|
JavaReflectionManager() |
public MetadataProvider getMetadataProvider()
getMetadataProvider 在接口中 MetadataProviderInjectorpublic void setMetadataProvider(MetadataProvider metadataProvider)
MetadataProviderInjectorsetMetadataProvider 在接口中 MetadataProviderInjectorpublic void injectClassLoaderDelegate(ClassLoaderDelegate delegate)
ReflectionManagerinjectClassLoaderDelegate 在接口中 ReflectionManagerdelegate - The ClassLoaderDelegate to usepublic ClassLoaderDelegate getClassLoaderDelegate()
ReflectionManagergetClassLoaderDelegate 在接口中 ReflectionManagerpublic XClass toXClass(Class clazz)
toXClass 在接口中 ReflectionManagerpublic Class toClass(XClass xClazz)
toClass 在接口中 ReflectionManagerpublic Method toMethod(XMethod xMethod)
toMethod 在接口中 ReflectionManagerpublic XClass classForName(String name) throws ClassLoadingException
ReflectionManagerReflectionManager.getClassLoaderDelegate()) to resolve the Class referenceclassForName 在接口中 ReflectionManagername - The name of the Class to load (as an XClass)ClassLoadingException - Indicates a problem resolving the Class; see ClassLoaderDelegate.classForName(java.lang.String)public XPackage packageForName(String packageName) throws ClassNotFoundException
packageForName 在接口中 ReflectionManagerClassNotFoundExceptionXClass toXClass(Type t, TypeEnvironment context)
XProperty getXProperty(Member member, TypeEnvironment context)
XMethod getXMethod(Member member, TypeEnvironment context)
TypeEnvironment getTypeEnvironment(Type t)
public JavaXType toXType(TypeEnvironment context, Type propType)
public boolean equals(XClass class1, Class class2)
equals 在接口中 ReflectionManagerpublic TypeEnvironment toApproximatingEnvironment(TypeEnvironment context)
public AnnotationReader buildAnnotationReader(AnnotatedElement annotatedElement)
buildAnnotationReader 在接口中 ReflectionManagerpublic Map getDefaults()
getDefaults 在接口中 ReflectionManagerCopyright © 2020. All rights reserved.