public abstract class AbstractParser<M extends MessageContainer> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ProcessorContext |
context |
protected boolean |
generateSlowPathOnly |
protected String |
generateSlowPathOnlyFilter |
protected Log |
log |
protected ProcessingEnvironment |
processingEnv |
protected TruffleTypes |
types |
| Constructor and Description |
|---|
AbstractParser() |
| Modifier and Type | Method and Description |
|---|---|
protected M |
filterErrorElements(M model) |
List<DeclaredType> |
getAllAnnotationTypes() |
abstract DeclaredType |
getAnnotationType() |
DeclaredType |
getRepeatAnnotationType() |
List<DeclaredType> |
getTypeDelegatedAnnotationTypes() |
boolean |
isDelegateToRootDeclaredType() |
protected boolean |
isGenerateSlowPathOnly(NodeData node) |
protected boolean |
isGenerateSlowPathOnly(TypeElement element) |
M |
parse(Element element) |
M |
parse(Element element,
boolean emitErrors) |
protected abstract M |
parse(Element element,
List<AnnotationMirror> mirror) |
protected void |
setGenerateSlowPathOnly(boolean flag) |
protected final ProcessorContext context
protected final ProcessingEnvironment processingEnv
protected final TruffleTypes types
protected boolean generateSlowPathOnly
protected final String generateSlowPathOnlyFilter
protected final Log log
protected void setGenerateSlowPathOnly(boolean flag)
protected boolean isGenerateSlowPathOnly(NodeData node)
protected boolean isGenerateSlowPathOnly(TypeElement element)
protected abstract M parse(Element element, List<AnnotationMirror> mirror)
public abstract DeclaredType getAnnotationType()
public DeclaredType getRepeatAnnotationType()
public boolean isDelegateToRootDeclaredType()
public List<DeclaredType> getAllAnnotationTypes()
public List<DeclaredType> getTypeDelegatedAnnotationTypes()