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