public class GeneralAnnotatedTypeFactory extends AnnotatedTypeFactory
AnnotatedTypeFactory.InheritedFromClassAnnotator
checker, elements, fromTreeCache, processingEnv, qualHierarchy, root, SHOULD_CACHE, SHOULD_READ_CACHE, shouldCache, shouldReadCache, trees, typeHierarchy, types, uid, visitorState
Constructor and Description |
---|
GeneralAnnotatedTypeFactory(BaseTypeChecker checker) |
Modifier and Type | Method and Description |
---|---|
QualifierHierarchy |
createQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory factory)
Factory method to easily change what QualifierHierarchy is
created.
|
boolean |
isSupportedQualifier(javax.lang.model.element.AnnotationMirror a)
Return true to support any qualifier.
|
protected void |
postProcessClassTree(com.sun.source.tree.ClassTree tree)
Called by getAnnotatedType(Tree) for each ClassTree after determining the type.
|
addAliasedAnnotation, addAliasedDeclAnnotation, aliasedAnnotation, annotateImplicit, annotateImplicit, annotateInheritedFromClass, annotateInheritedFromClass, buildIndexTypes, constructorFromUse, createLRUCache, createQualifierHierarchy, createQualifierHierarchy, createQualifierHierarchyFactory, createSupportedTypeQualifiers, createTypeHierarchy, declarationFromElement, fromClass, fromElement, fromElement, fromElement, fromExpression, fromMember, fromNewClass, fromTypeTree, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedTypeFromTypeTree, getAnnotationMirror, getAnnotationWithMetaAnnotation, getBoxedType, getCurrentClassTree, getCurrentClassType, getCurrentMethodReceiver, getDeclAnnotation, getDeclAnnotations, getDeclAnnotationWithMetaAnnotation, getElementUtils, getEnclosingMethod, getEnclosingType, getImplicitReceiverType, getMethodReturnType, getMethodReturnType, getPath, getProcessingEnv, getQualifierHierarchy, getReceiverType, getSelfType, getSupportedTypeQualifiers, getTreeUtils, getTypeHierarchy, getUnboxedType, getUninferredWildcardType, getVisitorState, getWildcardBoundedBy, isAnyEnclosingThisDeref, isFromByteCode, isFromStubFile, isMostEnclosingThisDeref, isWithinConstructor, methodFromUse, postAsMemberOf, postDirectSuperTypes, postInit, setPathHack, setRoot, toAnnotatedType, toString, type, typeVariablesFromUse
public GeneralAnnotatedTypeFactory(BaseTypeChecker checker)
protected void postProcessClassTree(com.sun.source.tree.ClassTree tree)
AnnotatedTypeFactory
postProcessClassTree
in class AnnotatedTypeFactory
public boolean isSupportedQualifier(javax.lang.model.element.AnnotationMirror a)
isSupportedQualifier
in class AnnotatedTypeFactory
a
- any annotationpublic QualifierHierarchy createQualifierHierarchy(MultiGraphQualifierHierarchy.MultiGraphFactory factory)
AnnotatedTypeFactory
createQualifierHierarchy
in class AnnotatedTypeFactory