public class NullnessAnalysis extends CFAbstractAnalysis<NullnessValue,NullnessStore,NullnessTransfer>
Analysis.Worklist
atypeFactory, checker, dependentTypesHelper, env, fieldValues, qualifierHierarchy, typeHierarchy, types
blockCount, cfg, currentInput, currentNode, currentTree, elseStores, finalLocalValues, inputs, isRunning, maxCountBeforeWidening, nodeValues, storesAtReturnStatements, thenStores, transferFunction, 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, getEnv, getFieldValues, getTypeFactory, getTypeHierarchy, getTypes, performAnalysis, visualizeCFG
addStoreBefore, addToWorklist, callTransferFunction, getContainingClass, getContainingMethod, getCurrentTree, getExceptionalExitStore, getInput, getInputBefore, getNodesForTree, getNodeValues, getRegularExitStore, getResult, getReturnStatementStores, getStoreBefore, getTransferFunction, getValue, getValue, init, isRunning, performAnalysis, performAnalysisBlock, propagateStoresTo, readFromStore, setCurrentTree, 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
.