public class NullnessAnalysis extends CFAbstractAnalysis<NullnessValue,NullnessStore,NullnessTransfer>
Analysis.Worklist
atypeFactory, checker, 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,
java.util.List<Pair<javax.lang.model.element.VariableElement,NullnessValue>> fieldValues) |
Modifier and Type | Method and Description |
---|---|
NullnessValue |
createAbstractValue(java.util.Set<javax.lang.model.element.AnnotationMirror> annotations,
javax.lang.model.type.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, getNodeForTree, getRegularExitStore, getResult, getReturnStatementStores, getStoreBefore, getTransferFunction, getTypes, getValue, getValue, init, isRunning, performAnalysis, propagateStoresTo, readFromStore, setCurrentTree, setTransferFunction, updateNodeValues
public NullnessAnalysis(BaseTypeChecker checker, NullnessAnnotatedTypeFactory factory, java.util.List<Pair<javax.lang.model.element.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(java.util.Set<javax.lang.model.element.AnnotationMirror> annotations, javax.lang.model.type.TypeMirror underlyingType)
createAbstractValue
in class CFAbstractAnalysis<NullnessValue,NullnessStore,NullnessTransfer>
annotations
and underlyingType
.