| Modifier and Type | Method and Description |
|---|---|
Class<?> |
asClass()
Deprecated.
|
String |
getCanonicalName() |
XClass |
getComponentType()
Array component type, for arrays only.
|
XConstructor |
getDeclaredConstructor(XClass... argTypes) |
Iterable<? extends XConstructor> |
getDeclaredConstructors() |
Iterable<? extends XField> |
getDeclaredFields() |
Iterable<? extends XMethod> |
getDeclaredMethods() |
XClass |
getEnclosingClass() |
Iterable<? extends XEnumConstant> |
getEnumConstants()
Enum constants, for enums only.
|
XTypeFactory |
getFactory() |
XClass[] |
getInterfaces() |
XMethod |
getMethod(String methodName,
XClass... argTypes) |
String |
getPackageName() |
String |
getSimpleName() |
XClass |
getSuperclass() |
default boolean |
isAbstract() |
boolean |
isArray() |
boolean |
isAssignableTo(XClass c) |
boolean |
isEnum() |
default boolean |
isInterface() |
boolean |
isLocal()
Is it a local or anonymous class?
|
boolean |
isPrimitive() |
getAnnotation, getAnnotationsByType, getModifiers, getName, getProtoDocs, isFinal, isPrivate, isPublic, isStaticXTypeFactory getFactory()
@Deprecated Class<?> asClass() throws UnsupportedOperationException
UnsupportedOperationException.UnsupportedOperationExceptionString getSimpleName()
String getCanonicalName()
String getPackageName()
boolean isPrimitive()
boolean isEnum()
Iterable<? extends XEnumConstant> getEnumConstants()
boolean isArray()
XClass getComponentType()
XClass getEnclosingClass()
XClass getSuperclass()
XClass[] getInterfaces()
boolean isAssignableTo(XClass c)
XConstructor getDeclaredConstructor(XClass... argTypes)
Iterable<? extends XConstructor> getDeclaredConstructors()
boolean isLocal()
default boolean isAbstract()
default boolean isInterface()
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.