public class LockAnalysis extends CFAbstractAnalysis<CFValue,LockStore,LockTransfer>
This class extends CFAbstractAnalysis
so that LockStore
is used rather than
CFStore
.
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 |
---|
LockAnalysis(BaseTypeChecker checker,
LockAnnotatedTypeFactory factory,
java.util.List<Pair<javax.lang.model.element.VariableElement,CFValue>> fieldValues) |
Modifier and Type | Method and Description |
---|---|
CFValue |
createAbstractValue(java.util.Set<javax.lang.model.element.AnnotationMirror> annotations,
javax.lang.model.type.TypeMirror underlyingType) |
LockStore |
createCopiedStore(LockStore s) |
LockStore |
createEmptyStore(boolean sequentialSemantics) |
LockTransfer |
createTransferFunction() |
createAbstractValue, createSingleAnnotationValue, 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 LockAnalysis(BaseTypeChecker checker, LockAnnotatedTypeFactory factory, java.util.List<Pair<javax.lang.model.element.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(java.util.Set<javax.lang.model.element.AnnotationMirror> annotations, javax.lang.model.type.TypeMirror underlyingType)
createAbstractValue
in class CFAbstractAnalysis<CFValue,LockStore,LockTransfer>
annotations
and underlyingType
.