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, getResult
public XSingleAnnotationField(String name, Class<?> type, XAnnotationValue<T> value)
public Class<?> getType()
XAnnotationField
getType
in class XAnnotationField<T>
public T getValue()
XAnnotationField
getValue
in class XAnnotationField<T>
public XAnnotationValue<T> getAnnotationValue()
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–2017. All rights reserved.