public class XAnnotationSingleAnnotationFieldParser<A extends Annotation> extends XAnnotationFieldParser<A,A>
Constructor and Description |
---|
XAnnotationSingleAnnotationFieldParser() |
Modifier and Type | Method and Description |
---|---|
XAnnotationField<A> |
construct(String name,
A value,
Class<?> type) |
XAnnotationField<A> |
parse(Annotation annotation,
String name,
Class<?> type) |
XAnnotationField<A> |
parse(Element annotationElement,
String name,
Class<?> type) |
XAnnotationField<A> |
parse(japa.parser.ast.expr.Expression annotationElement,
String name,
Class<?> type) |
getAnnotationFieldValue
public XAnnotationSingleAnnotationFieldParser()
public XAnnotationField<A> parse(Element annotationElement, String name, Class<?> type) throws AnnotationElementParseException
parse
in class XAnnotationFieldParser<A extends Annotation,A extends Annotation>
AnnotationElementParseException
public XAnnotationField<A> parse(japa.parser.ast.expr.Expression annotationElement, String name, Class<?> type) throws AnnotationExpressionParseException
parse
in class XAnnotationFieldParser<A extends Annotation,A extends Annotation>
AnnotationExpressionParseException
public XAnnotationField<A> parse(Annotation annotation, String name, Class<?> type) throws NoSuchAnnotationFieldException
parse
in class XAnnotationFieldParser<A extends Annotation,A extends Annotation>
NoSuchAnnotationFieldException
public XAnnotationField<A> construct(String name, A value, Class<?> type)
construct
in class XAnnotationFieldParser<A extends Annotation,A extends Annotation>
Copyright © 2006–2017. All rights reserved.