public static class XAnnotationField.XAnnotation extends XAnnotationField.XFixedField<XAnnotation>
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.XAnnotation(String name,
XAnnotation value,
Class<? extends Annotation> annotationClass) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(XAnnotationVisitor<T> visitor)
Accepts the annotation visitor.
|
Class<? extends Annotation> |
getAnnotationClass() |
Object |
getResult()
Returns the result value of the field.
|
Class<?> |
getType()
Return the type of the field.
|
getValueequals, hashCode, toStringgetInternalValue, getNamepublic XAnnotationField.XAnnotation(String name, XAnnotation value, Class<? extends Annotation> annotationClass)
public Class<?> getType()
XAnnotationFieldgetType in class XAnnotationField<XAnnotation>public Class<? extends Annotation> getAnnotationClass()
public <T> T accept(XAnnotationVisitor<T> visitor)
XAnnotationFieldaccept in class XAnnotationField<XAnnotation>T - Return type of the visitor.visitor - visitor to accept.public Object getResult()
XAnnotationFieldgetResult in class XAnnotationField<XAnnotation>Copyright © 2006-2012 Highsource. All Rights Reserved.