public abstract class AbstractParser<M extends MessageContainer> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ProcessorContext |
context |
protected Log |
log |
protected ProcessingEnvironment |
processingEnv |
| Constructor and Description |
|---|
AbstractParser() |
| Modifier and Type | Method and Description |
|---|---|
protected M |
filterErrorElements(M model) |
List<Class<? extends Annotation>> |
getAllAnnotationTypes() |
abstract Class<? extends Annotation> |
getAnnotationType() |
List<Class<? extends Annotation>> |
getTypeDelegatedAnnotationTypes() |
boolean |
isDelegateToRootDeclaredType() |
M |
parse(Element element) |
protected abstract M |
parse(Element element,
AnnotationMirror mirror) |
protected final ProcessorContext context
protected final ProcessingEnvironment processingEnv
protected final Log log
protected abstract M parse(Element element, AnnotationMirror mirror)
public abstract Class<? extends Annotation> getAnnotationType()
public boolean isDelegateToRootDeclaredType()
public List<Class<? extends Annotation>> getAllAnnotationTypes()
public List<Class<? extends Annotation>> getTypeDelegatedAnnotationTypes()