public final class NodeParser extends AbstractParser<NodeData>
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeParser.ParseMode |
| Modifier and Type | Field and Description |
|---|---|
List<DeclaredType> |
annotations |
context, log, processingEnv, types| Modifier and Type | Method and Description |
|---|---|
static Map<CacheExpression,String> |
computeSharing(Collection<NodeData> nodes,
boolean emitSharingWarnings) |
static NodeParser |
createDefaultParser() |
static NodeParser |
createExportParser(TypeMirror exportLibraryType,
TypeElement exportDeclarationType) |
protected NodeData |
filterErrorElements(NodeData model) |
DeclaredType |
getAnnotationType() |
static List<TypeMirror> |
getCachedAnnotations() |
List<DeclaredType> |
getTypeDelegatedAnnotationTypes() |
boolean |
isDelegateToRootDeclaredType() |
protected NodeData |
parse(Element element,
List<AnnotationMirror> mirror) |
getAllAnnotationTypes, getRepeatAnnotationType, parse, parsepublic final List<DeclaredType> annotations
public static List<TypeMirror> getCachedAnnotations()
public static NodeParser createExportParser(TypeMirror exportLibraryType, TypeElement exportDeclarationType)
public static NodeParser createDefaultParser()
protected NodeData parse(Element element, List<AnnotationMirror> mirror)
parse in class AbstractParser<NodeData>protected NodeData filterErrorElements(NodeData model)
filterErrorElements in class AbstractParser<NodeData>public boolean isDelegateToRootDeclaredType()
isDelegateToRootDeclaredType in class AbstractParser<NodeData>public DeclaredType getAnnotationType()
getAnnotationType in class AbstractParser<NodeData>public List<DeclaredType> getTypeDelegatedAnnotationTypes()
getTypeDelegatedAnnotationTypes in class AbstractParser<NodeData>public static Map<CacheExpression,String> computeSharing(Collection<NodeData> nodes, boolean emitSharingWarnings)