public class XSingleAnnotationFieldParser<T,V> extends XAnnotationFieldParser<T,V>
Constructor and Description |
---|
XSingleAnnotationFieldParser(XAnnotationValueParser<T,V> annotationValueParser) |
Modifier and Type | Method and Description |
---|---|
XAnnotationField<T> |
construct(String name,
V value,
Class<?> type) |
XAnnotationField<T> |
parse(Annotation annotation,
String name,
Class<?> type) |
XAnnotationField<T> |
parse(Element element,
String name,
Class<?> type) |
XAnnotationField<T> |
parse(japa.parser.ast.expr.Expression expression,
String name,
Class<?> type) |
getAnnotationFieldValue
public XSingleAnnotationFieldParser(XAnnotationValueParser<T,V> annotationValueParser)
public XAnnotationField<T> parse(Element element, String name, Class<?> type) throws AnnotationElementParseException
parse
in class XAnnotationFieldParser<T,V>
AnnotationElementParseException
public XAnnotationField<T> parse(Annotation annotation, String name, Class<?> type) throws NoSuchAnnotationFieldException
parse
in class XAnnotationFieldParser<T,V>
NoSuchAnnotationFieldException
public final XAnnotationField<T> construct(String name, V value, Class<?> type)
construct
in class XAnnotationFieldParser<T,V>
public XAnnotationField<T> parse(japa.parser.ast.expr.Expression expression, String name, Class<?> type) throws AnnotationExpressionParseException
parse
in class XAnnotationFieldParser<T,V>
AnnotationExpressionParseException
Copyright © 2006–2018. All rights reserved.