checkers.oigj
Class OwnershipAnnotatedTypeFactory
java.lang.Object
checkers.types.AnnotatedTypeFactory
checkers.types.BasicAnnotatedTypeFactory<OwnershipSubchecker>
checkers.oigj.OwnershipAnnotatedTypeFactory
public class OwnershipAnnotatedTypeFactory
extends BasicAnnotatedTypeFactory<OwnershipSubchecker>
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 |
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