public class XSingleAnnotationField<T> extends XAnnotationField<T>
| Constructor and Description |
|---|
XSingleAnnotationField(String name,
Class<?> type,
XAnnotationValue<T> value) |
| Modifier and Type | Method and Description |
|---|---|
<P> P |
accept(XAnnotationFieldVisitor<P> visitor)
Accepts the annotation visitor.
|
boolean |
equals(Object obj) |
XAnnotationValue<T> |
getAnnotationValue() |
Class<?> |
getType()
Return the type of the field.
|
T |
getValue()
Returns the value of the field.
|
int |
hashCode() |
String |
toString() |
getInternalValue, getName, getResultpublic XSingleAnnotationField(String name, Class<?> type, XAnnotationValue<T> value)
public Class<?> getType()
XAnnotationFieldgetType in class XAnnotationField<T>public T getValue()
XAnnotationFieldgetValue in class XAnnotationField<T>public XAnnotationValue<T> getAnnotationValue()
public <P> P accept(XAnnotationFieldVisitor<P> visitor)
XAnnotationFieldaccept in class XAnnotationField<T>P - Return type of the visitor.visitor - visitor to accept.Copyright © 2006–2016. All rights reserved.