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, generateSlowPathOnly, generateSlowPathOnlyFilter, log, processingEnv, types| Modifier and Type | Method and Description |
|---|---|
static Map<CacheExpression,String> |
computeSharing(Element templateType,
Collection<NodeData> nodes,
boolean emitSharingWarnings) |
static NodeParser |
createDefaultParser() |
static NodeParser |
createExportParser(TypeMirror exportLibraryType,
TypeElement exportDeclarationType,
boolean substituteThisToParent) |
protected NodeData |
filterErrorElements(NodeData model) |
static TypeMirror |
findContextTypeFromLanguage(TypeMirror languageType) |
DeclaredType |
getAnnotationType() |
static List<TypeMirror> |
getCachedAnnotations() |
List<DeclaredType> |
getTypeDelegatedAnnotationTypes() |
static List<Element> |
importVisibleStaticMembers(TypeElement relativeTo,
TypeElement importType,
boolean includeConstructors) |
boolean |
isDelegateToRootDeclaredType() |
protected NodeData |
parse(Element element,
List<AnnotationMirror> mirror) |
static void |
removeFastPathSpecializations(NodeData node) |
getAllAnnotationTypes, getRepeatAnnotationType, isGenerateSlowPathOnly, isGenerateSlowPathOnly, parse, parse, setGenerateSlowPathOnlypublic final List<DeclaredType> annotations
public static List<TypeMirror> getCachedAnnotations()
public static NodeParser createExportParser(TypeMirror exportLibraryType, TypeElement exportDeclarationType, boolean substituteThisToParent)
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(Element templateType, Collection<NodeData> nodes, boolean emitSharingWarnings)
public static List<Element> importVisibleStaticMembers(TypeElement relativeTo, TypeElement importType, boolean includeConstructors)
public static void removeFastPathSpecializations(NodeData node)
public static TypeMirror findContextTypeFromLanguage(TypeMirror languageType)