Class AbstractParser<M extends MessageContainer>
- java.lang.Object
-
- com.oracle.truffle.dsl.processor.parser.AbstractParser<M>
-
- Direct Known Subclasses:
NodeParser
,TypeSystemParser
public abstract class AbstractParser<M extends MessageContainer> extends java.lang.Object
THIS IS NOT PUBLIC API.
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessorContext
context
protected Log
log
protected javax.annotation.processing.ProcessingEnvironment
processingEnv
-
Constructor Summary
Constructors Constructor Description AbstractParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
context
protected final ProcessorContext context
-
processingEnv
protected final javax.annotation.processing.ProcessingEnvironment processingEnv
-
log
protected final Log log
-
-
Method Detail
-
parse
public final M parse(javax.lang.model.element.Element element)
-
parse
protected abstract M parse(javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror mirror)
-
getAnnotationType
public abstract java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
-
isDelegateToRootDeclaredType
public boolean isDelegateToRootDeclaredType()
-
getAllAnnotationTypes
public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getAllAnnotationTypes()
-
getTypeDelegatedAnnotationTypes
public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getTypeDelegatedAnnotationTypes()
-
-