|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.annox.model.XAnnotated
org.jvnet.annox.model.XAnnotatedElement<Class<?>>
org.jvnet.annox.model.XClass
public class XClass
Defines an annotated class.
| Field Summary | |
|---|---|
static XClass[] |
EMPTY_ARRAY
Empty array of classes. |
static XClass |
VOID
XClass for Void. |
| Constructor Summary | |
|---|---|
XClass(Class<?> targetClass,
XAnnotation[] xannotations,
XField[] xfields,
XConstructor[] xconstructors,
XMethod[] xmethods)
Constructs an annotated class. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jvnet.annox.model.XAnnotatedElement |
|---|
getAnnotatedElement, getAnnotation, getDeclaredAnnotations, isAnnotationPresent |
| Methods inherited from class org.jvnet.annox.model.XAnnotated |
|---|
equals, getAnnotations, getXAnnotations, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.reflect.AnnotatedElement |
|---|
getAnnotations |
| Field Detail |
|---|
public static final XClass[] EMPTY_ARRAY
public static final XClass VOID
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public Class<?> getTargetClass()
public XMember<?>[] getMembers()
public XConstructor[] getConstructors()
public XField[] getFields()
public XMethod[] getMethods()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||