public class PropertyKeyAnnotatedTypeFactory<Checker extends PropertyKeyChecker> extends BasicAnnotatedTypeFactory<Checker>
| Modifier and Type | Class and Description |
|---|---|
protected class |
PropertyKeyAnnotatedTypeFactory.KeyLookupTreeAnnotator
This TreeAnnotator checks for every String literal whether it is included in the lookup
keys.
|
AnnotatedTypeFactory.InheritedFromClassAnnotatorchecker, defaults, flow, FLOW_BY_DEFAULT, poly, treeAnnotator, typeAnnotator, useFlowannotations, atypes, elements, env, fromTreeCache, qualHierarchy, root, trees, types, uid, visitorState| Constructor and Description |
|---|
PropertyKeyAnnotatedTypeFactory(Checker checker,
@Nullable CompilationUnitTree root) |
| Modifier and Type | Method and Description |
|---|---|
TreeAnnotator |
createTreeAnnotator(Checker checker)
Returns a
TreeAnnotator that adds annotations to a type based
on the contents of a tree. |
annotateImplicit, annotateImplicit, annotateImplicit, constructorFromUse, createFlow, createFlowQualifiers, createTypeAnnotator, getDefaultedAnnotatedType, methodFromUse, postDirectSuperTypes, postInitaddAliasedAnnotation, aliasedAnnotation, annotateInheritedFromClass, canHaveAnnotatedTypeParameters, createLRUCache, declarationFromElement, fromClass, fromElement, fromElement, fromElement, fromExpression, fromMember, fromNewClass, fromTypeTree, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedTypeFromTypeTree, getBoxedType, getCurrentClassTree, getCurrentClassType, getCurrentMethodReceiver, getDeclAnnotation, getEnclosingType, getImplicitReceiverType, getPath, getQualifierHierarchy, getReceiverType, getSelfType, getUnboxedType, getVisitorState, isAnyEnclosingThisDeref, isMostEnclosingThisDeref, isSupportedQualifier, isWithinConstructor, postAsMemberOf, toAnnotatedType, toString, typeVariablesFromUse, unifypublic PropertyKeyAnnotatedTypeFactory(Checker checker, @Nullable CompilationUnitTree root)
public TreeAnnotator createTreeAnnotator(Checker checker)
BasicAnnotatedTypeFactoryTreeAnnotator that adds annotations to a type based
on the contents of a tree.
Subclasses may override this method to specify more appriopriate
TreeAnnotatorcreateTreeAnnotator in class BasicAnnotatedTypeFactory<Checker extends PropertyKeyChecker>