checkers.i18n
Class LocalizableKeyAnnotatedTypeFactory
java.lang.Object
checkers.types.AnnotatedTypeFactory
checkers.types.BasicAnnotatedTypeFactory<Checker>
checkers.propkey.PropertyKeyAnnotatedTypeFactory<LocalizableKeyChecker>
checkers.i18n.LocalizableKeyAnnotatedTypeFactory
public class LocalizableKeyAnnotatedTypeFactory
extends PropertyKeyAnnotatedTypeFactory<LocalizableKeyChecker>
A PropertyKeyATF that uses LocalizableKey to annotate the keys.
- Author:
- wmdietl
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, unify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalizableKeyAnnotatedTypeFactory
public LocalizableKeyAnnotatedTypeFactory(LocalizableKeyChecker checker,
CompilationUnitTree root)
createTreeAnnotator
public TreeAnnotator createTreeAnnotator(LocalizableKeyChecker 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<LocalizableKeyChecker>
- Returns:
- a tree annotator