public static class XAnnotationField.XClassArray extends XAnnotationField.XArrayField<Class>
XAnnotationField.XAnnotation, XAnnotationField.XAnnotationArray, XAnnotationField.XArrayField<T>, XAnnotationField.XBoolean, XAnnotationField.XBooleanArray, XAnnotationField.XByte, XAnnotationField.XByteArray, XAnnotationField.XChar, XAnnotationField.XCharArray, XAnnotationField.XClass, XAnnotationField.XClassArray, XAnnotationField.XDouble, XAnnotationField.XDoubleArray, XAnnotationField.XEnum, XAnnotationField.XEnumArray, XAnnotationField.XField<T>, XAnnotationField.XFixedArrayField<T>, XAnnotationField.XFixedField<T>, XAnnotationField.XFloat, XAnnotationField.XFloatArray, XAnnotationField.XInt, XAnnotationField.XIntArray, XAnnotationField.XLong, XAnnotationField.XLongArray, XAnnotationField.XShort, XAnnotationField.XShortArray, XAnnotationField.XString, XAnnotationField.XStringArray| Constructor and Description |
|---|
XAnnotationField.XClassArray(String name,
Class[] classes) |
XAnnotationField.XClassArray(String name,
String[] classNames) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(XAnnotationVisitor<T> visitor)
Accepts the annotation visitor.
|
String[] |
getClassNames() |
Object[] |
getInternalValue()
Returns the internal value of the field used for
Object.hashCode(),
Object.equals(Object) and Object.toString() operations. |
Class<?> |
getType()
Return the type of the field.
|
Class[] |
getValue()
Returns the value of the field.
|
equals, getResult, hashCode, toStringgetNamepublic Class[] getValue()
XAnnotationFieldgetValue in class XAnnotationField<Class[]>public Object[] getInternalValue()
XAnnotationFieldObject.hashCode(),
Object.equals(Object) and Object.toString() operations. Defaults to
the value of the field.getInternalValue in class XAnnotationField.XArrayField<Class>public String[] getClassNames()
public Class<?> getType()
XAnnotationFieldgetType in class XAnnotationField<Class[]>public <T> T accept(XAnnotationVisitor<T> visitor)
XAnnotationFieldaccept in class XAnnotationField<Class[]>T - Return type of the visitor.visitor - visitor to accept.Copyright © 2006-2012 Highsource. All Rights Reserved.