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) |
getAnnotationFieldValuepublic XSingleAnnotationFieldParser(XAnnotationValueParser<T,V> annotationValueParser)
public XAnnotationField<T> parse(Element element, String name, Class<?> type) throws AnnotationElementParseException
parse in class XAnnotationFieldParser<T,V>AnnotationElementParseExceptionpublic XAnnotationField<T> parse(Annotation annotation, String name, Class<?> type) throws NoSuchAnnotationFieldException
parse in class XAnnotationFieldParser<T,V>NoSuchAnnotationFieldExceptionpublic 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>AnnotationExpressionParseExceptionCopyright © 2006–2016. All rights reserved.