public final class ReflectionClassFactory extends Object implements XTypeFactory
| Constructor and Description |
|---|
ReflectionClassFactory() |
| Modifier and Type | Method and Description |
|---|---|
XClass |
fromClass(Class<?> c)
Wraps the given Class in an XClass.
|
XClass |
fromTypeMirror(TypeMirror typeMirror)
Wraps the given TypeMirror in an XClass.
|
public XClass fromClass(Class<?> c)
XTypeFactoryfromClass in interface XTypeFactoryc - can be nullpublic XClass fromTypeMirror(TypeMirror typeMirror)
XTypeFactoryfromTypeMirror in interface XTypeFactorytypeMirror - can be nullCopyright © 2020 JBoss, a division of Red Hat. All rights reserved.