public class XClass extends XAnnotatedElement<Class<?>>
Modifier and Type | Field and Description |
---|---|
static XClass[] |
EMPTY_ARRAY
Empty array of classes.
|
static XClass |
VOID
XClass for Void.
|
Constructor and Description |
---|
XClass(Class<?> targetClass,
XAnnotation[] xannotations,
XField[] xfields,
XConstructor[] xconstructors,
XMethod[] xmethods)
Constructs an annotated class.
|
Modifier and Type | Method and Description |
---|---|
XConstructor[] |
getConstructors()
Returns annotated constructors of the class.
|
XField[] |
getFields()
Returns annotated fields of the class.
|
XMember<?>[] |
getMembers()
Returns annotated members of the class.
|
XMethod[] |
getMethods()
Returns annotated methods of the class.
|
Class<?> |
getTargetClass()
Returns the target class.
|
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresent
equals, getAnnotations, getXAnnotations, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
public static final XClass[] EMPTY_ARRAY
public static final XClass VOID
public XClass(Class<?> targetClass, XAnnotation[] xannotations, XField[] xfields, XConstructor[] xconstructors, XMethod[] xmethods)
targetClass
- target class.xannotations
- class annotations.xfields
- annotated fields.xconstructors
- annotated constructors.xmethods
- annotated methods.public Class<?> getTargetClass()
public XMember<?>[] getMembers()
public XConstructor[] getConstructors()
public XField[] getFields()
public XMethod[] getMethods()
Copyright © 2006–2015 Highsource. All rights reserved.