public class NullnessAnalysis extends CFAbstractAnalysis<NullnessValue,NullnessStore,NullnessTransfer>
Analysis.Worklist
atypeFactory, checker, dependentTypesHelper, fieldValues, qualifierHierarchy, typeHierarchy
blockCount, cfg, currentInput, currentNode, currentTree, elseStores, env, finalLocalValues, inputs, isRunning, maxCountBeforeWidening, nodeValues, storesAtReturnStatements, thenStores, transferFunction, types, worklist
Constructor and Description |
---|
NullnessAnalysis(BaseTypeChecker checker,
NullnessAnnotatedTypeFactory factory,
List<Pair<VariableElement,NullnessValue>> fieldValues) |
Modifier and Type | Method and Description |
---|---|
NullnessValue |
createAbstractValue(Set<AnnotationMirror> annotations,
TypeMirror underlyingType) |
NullnessStore |
createCopiedStore(NullnessStore s) |
NullnessStore |
createEmptyStore(boolean sequentialSemantics) |
createAbstractValue, createSingleAnnotationValue, createTransferFunction, defaultCreateAbstractValue, getFieldValues, getTypeFactory, getTypeFactoryOfSubchecker, getTypeHierarchy, visualizeCFG
addStoreBefore, addToWorklist, callTransferFunction, getContainingClass, getContainingMethod, getCurrentTree, getEnv, getExceptionalExitStore, getInput, getInputBefore, getNodesForTree, getRegularExitStore, getResult, getReturnStatementStores, getStoreBefore, getTransferFunction, getTypes, getValue, getValue, init, isRunning, performAnalysis, propagateStoresTo, readFromStore, setCurrentTree, setTransferFunction, updateNodeValues
public NullnessAnalysis(BaseTypeChecker checker, NullnessAnnotatedTypeFactory factory, List<Pair<VariableElement,NullnessValue>> fieldValues)
public NullnessStore createEmptyStore(boolean sequentialSemantics)
createEmptyStore
in class CFAbstractAnalysis<NullnessValue,NullnessStore,NullnessTransfer>
public NullnessStore createCopiedStore(NullnessStore s)
createCopiedStore
in class CFAbstractAnalysis<NullnessValue,NullnessStore,NullnessTransfer>
s
.public NullnessValue createAbstractValue(Set<AnnotationMirror> annotations, TypeMirror underlyingType)
createAbstractValue
in class CFAbstractAnalysis<NullnessValue,NullnessStore,NullnessTransfer>
annotations
and underlyingType
.