public final class ReflectionClassFactory extends Object implements UnifiedTypeFactory
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)
UnifiedTypeFactory
fromClass
in interface UnifiedTypeFactory
c
- can be nullpublic XClass fromTypeMirror(TypeMirror typeMirror)
UnifiedTypeFactory
fromTypeMirror
in interface UnifiedTypeFactory
typeMirror
- can be nullCopyright © 2019 JBoss, a division of Red Hat. All rights reserved.