checkers.oigj
Class OwnershipAnnotatedTypeFactory
java.lang.Object
checkers.types.AnnotatedTypeFactory
checkers.types.BasicAnnotatedTypeFactory<OwnershipSubchecker>
checkers.oigj.OwnershipAnnotatedTypeFactory
public class OwnershipAnnotatedTypeFactory
extends BasicAnnotatedTypeFactory<OwnershipSubchecker>
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 |
OwnershipAnnotatedTypeFactory
public OwnershipAnnotatedTypeFactory(OwnershipSubchecker checker,
CompilationUnitTree root)
createTypeAnnotator
protected TypeAnnotator createTypeAnnotator(OwnershipSubchecker checker)
- Description copied from class:
BasicAnnotatedTypeFactory
- Returns a
TypeAnnotator
that adds annotations to a type based
on the content of the type itself.
- Overrides:
createTypeAnnotator
in class BasicAnnotatedTypeFactory<OwnershipSubchecker>
- Returns:
- a type annotator