public abstract class AbstractParser<M extends MessageContainer> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ProcessorContext |
context |
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() |
M |
parse(Element element) |
M |
parse(Element element,
boolean emitErrors) |
protected abstract M |
parse(Element element,
List<AnnotationMirror> mirror) |
protected final ProcessorContext context
protected final ProcessingEnvironment processingEnv
protected final TruffleTypes types
protected final Log log
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()