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,
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, getTypeHierarchy, performAnalysis, visualizeCFG
addStoreBefore, addToWorklist, callTransferFunction, getContainingClass, getContainingMethod, getCurrentTree, getEnv, getExceptionalExitStore, getInput, getInputBefore, getNodesForTree, getNodeValues, getRegularExitStore, getResult, getReturnStatementStores, getStoreBefore, getTransferFunction, getTypes, getValue, getValue, init, isRunning, performAnalysis, performAnalysisBlock, propagateStoresTo, readFromStore, setCurrentTree, 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
.