public static class XAnnotationField.XAnnotationArray extends XAnnotationField.XFixedArrayField<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 |
---|
XAnnotationArray(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.
|
getValue
equals, getInternalValue, hashCode, toString
getName
public XAnnotationArray(String name, XAnnotation[] value, Class<? extends Annotation> annotationClass)
public Class<?> getType()
XAnnotationField
getType
in class XAnnotationField<XAnnotation[]>
public Class<? extends Annotation> getAnnotationClass()
public <T> T accept(XAnnotationVisitor<T> visitor)
XAnnotationField
accept
in class XAnnotationField<XAnnotation[]>
T
- Return type of the visitor.visitor
- visitor to accept.public Object getResult()
XAnnotationField
getResult
in class XAnnotationField.XArrayField<XAnnotation>
Copyright © 2006–2017 Highsource. All rights reserved.