checkers.compilermsgs
Class CompilerMessagesAnnotatedTypeFactory
java.lang.Object
checkers.types.AnnotatedTypeFactory
checkers.types.BasicAnnotatedTypeFactory<Checker>
checkers.propkey.PropertyKeyAnnotatedTypeFactory<CompilerMessagesChecker>
checkers.compilermsgs.CompilerMessagesAnnotatedTypeFactory
public class CompilerMessagesAnnotatedTypeFactory
extends PropertyKeyAnnotatedTypeFactory<CompilerMessagesChecker>
A PropertyKeyATF that uses CompilerMessageKey to annotate the keys.
- Author:
- wmdietl
Fields inherited from class checkers.types.AnnotatedTypeFactory |
annotations, atypes, elements, env, fromTreeCache, qualHierarchy, root, trees, types, uid, visitorState |
Methods inherited from class checkers.types.AnnotatedTypeFactory |
aliasedAnnotation, annotateInheritedFromClass, canHaveAnnotatedTypeParameters, constructorFromUse, createLRUCache, declarationFromElement, fromClass, fromElement, fromElement, fromElement, fromExpression, fromMember, fromNewClass, fromTypeTree, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedType, getAnnotatedTypeFromTypeTree, getBoxedType, getCurrentClassType, getCurrentMethodReceiver, getEnclosingType, getImplicitReceiverType, getPath, getQualifierHierarchy, getReceiver, getSelfType, getUnboxedType, getVisitorState, isMostEnclosingThisDeref, isWithinConstructor, postAsMemberOf, toString, unify |
CompilerMessagesAnnotatedTypeFactory
public CompilerMessagesAnnotatedTypeFactory(CompilerMessagesChecker checker,
CompilationUnitTree root)
createTreeAnnotator
public TreeAnnotator createTreeAnnotator(CompilerMessagesChecker checker)
- Description copied from class:
BasicAnnotatedTypeFactory
- Returns a
TreeAnnotator
that adds annotations to a type based
on the contents of a tree.
Subclasses may override this method to specify more appriopriate
TreeAnnotator
- Overrides:
createTreeAnnotator
in class PropertyKeyAnnotatedTypeFactory<CompilerMessagesChecker>
- Returns:
- a tree annotator