public class NodeParser extends AbstractParser<NodeData>
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
ANNOTATIONS |
context, log, processingEnv
Constructor and Description |
---|
NodeParser() |
Modifier and Type | Method and Description |
---|---|
protected NodeData |
filterErrorElements(NodeData model) |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType() |
java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getTypeDelegatedAnnotationTypes() |
boolean |
isDelegateToRootDeclaredType() |
static boolean |
isSourceSectionConstructor(ProcessorContext context,
javax.lang.model.element.ExecutableElement constructor) |
protected NodeData |
parse(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror mirror) |
getAllAnnotationTypes, parse
public static final java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> ANNOTATIONS
protected NodeData parse(javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror mirror)
parse
in class AbstractParser<NodeData>
protected NodeData filterErrorElements(NodeData model)
filterErrorElements
in class AbstractParser<NodeData>
public boolean isDelegateToRootDeclaredType()
isDelegateToRootDeclaredType
in class AbstractParser<NodeData>
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
getAnnotationType
in class AbstractParser<NodeData>
public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getTypeDelegatedAnnotationTypes()
getTypeDelegatedAnnotationTypes
in class AbstractParser<NodeData>
public static boolean isSourceSectionConstructor(ProcessorContext context, javax.lang.model.element.ExecutableElement constructor)