public class XArrayAnnotationField<T> extends XAnnotationField<T[]>
Constructor and Description |
---|
XArrayAnnotationField(String name,
Class<?> type,
XAnnotationValue<T>... values) |
Modifier and Type | Method and Description |
---|---|
<P> P |
accept(XAnnotationFieldVisitor<P> visitor)
Accepts the annotation visitor.
|
boolean |
equals(Object obj) |
XAnnotationValue<T>[] |
getAnnotationValues() |
Object |
getResult()
Returns the result value of the field.
|
Class<?> |
getType()
Return the type of the field.
|
T[] |
getValue()
Returns the value of the field.
|
int |
hashCode() |
String |
toString() |
getInternalValue, getName
public XArrayAnnotationField(String name, Class<?> type, XAnnotationValue<T>... values)
public Class<?> getType()
XAnnotationField
getType
in class XAnnotationField<T[]>
public XAnnotationValue<T>[] getAnnotationValues()
public T[] getValue()
XAnnotationField
getValue
in class XAnnotationField<T[]>
public Object getResult()
XAnnotationField
getResult
in class XAnnotationField<T[]>
public <P> P accept(XAnnotationFieldVisitor<P> visitor)
XAnnotationField
accept
in class XAnnotationField<T[]>
P
- Return type of the visitor.visitor
- visitor to accept.Copyright © 2006–2018. All rights reserved.