public class LockAnalysis extends CFAbstractAnalysis<CFValue,LockStore,LockTransfer>
Analysis.Worklist
atypeFactory, checker, fieldValues, qualifierHierarchy, typeHierarchy
cfg, currentInput, currentNode, currentTree, elseStores, env, finalLocalValues, inputs, isRunning, nodeValues, storesAtReturnStatements, thenStores, transferFunction, types, worklist
Constructor and Description |
---|
LockAnalysis(BaseTypeChecker checker,
LockAnnotatedTypeFactory factory,
List<Pair<VariableElement,CFValue>> fieldValues) |
Modifier and Type | Method and Description |
---|---|
CFValue |
createAbstractValue(AnnotatedTypeMirror type) |
LockStore |
createCopiedStore(LockStore s) |
LockStore |
createEmptyStore(boolean sequentialSemantics) |
LockTransfer |
createTransferFunction() |
createSingleAnnotationValue, defaultCreateAbstractValue, getFieldValues, getTypeFactory, getTypeFactoryOfSubchecker, getTypeHierarchy, outputToDotFile
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 LockAnalysis(BaseTypeChecker checker, LockAnnotatedTypeFactory factory, List<Pair<VariableElement,CFValue>> fieldValues)
public LockTransfer createTransferFunction()
createTransferFunction
in class CFAbstractAnalysis<CFValue,LockStore,LockTransfer>
public LockStore createEmptyStore(boolean sequentialSemantics)
createEmptyStore
in class CFAbstractAnalysis<CFValue,LockStore,LockTransfer>
public LockStore createCopiedStore(LockStore s)
createCopiedStore
in class CFAbstractAnalysis<CFValue,LockStore,LockTransfer>
s
.public CFValue createAbstractValue(AnnotatedTypeMirror type)
createAbstractValue
in class CFAbstractAnalysis<CFValue,LockStore,LockTransfer>
type
.