public class ResourceLeakAnalysis extends CalledMethodsAnalysis
MustCallConsistencyAnalyzer
. See MustCallConsistencyAnalyzer.ignoredExceptionTypes
.CFAbstractAnalysis.FieldInitialValue<V extends CFAbstractValue<V>>
AbstractAnalysis.Worklist
Analysis.BeforeOrAfter, Analysis.Direction
ignoredExceptionTypes
atypeFactory, checker, dependentTypesHelper, env, fieldValues, qualifierHierarchy, typeHierarchy, types
blockCount, elseStores, maxCountBeforeWidening, storesAtReturnStatements, thenStores
cfg, currentInput, currentNode, currentTree, direction, finalLocalValues, inputs, isRunning, nodeValues, transferFunction, worklist
Modifier | Constructor and Description |
---|---|
protected |
ResourceLeakAnalysis(BaseTypeChecker checker,
CalledMethodsAnnotatedTypeFactory factory)
Creates a new
CalledMethodsAnalysis . |
isIgnoredExceptionType
createAbstractValue, createCopiedStore, createEmptyStore
createAbstractValue, createSingleAnnotationValue, createTransferFunction, defaultCreateAbstractValue, getEnv, getFieldInitialValues, getTypeFactory, getTypeHierarchy, getTypes, performAnalysis
addStoreBefore, callTransferFunction, getInput, getInputBefore, getReturnStatementStores, getStoreBefore, initFields, initInitialInputs, performAnalysis, performAnalysisBlock, propagateStoresTo, runAnalysisFor
addToWorklist, getContainingClass, getContainingMethod, getCurrentTree, getDirection, getExceptionalExitStore, getNodesForTree, getNodeValues, getRegularExitStore, getResult, getTransferFunction, getValue, getValue, init, isRunning, readFromStore, setCurrentNode, setCurrentTree, updateNodeValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDirection, getExceptionalExitStore, getRegularExitStore, getResult, getTransferFunction, getValue, getValue, isRunning
protected ResourceLeakAnalysis(BaseTypeChecker checker, CalledMethodsAnnotatedTypeFactory factory)
CalledMethodsAnalysis
.checker
- the checkerfactory
- the factory