public class CalledMethodsAnalysis extends CFAnalysis
isIgnoredExceptionType(TypeMirror)
.CFAbstractAnalysis.FieldInitialValue<V extends CFAbstractValue<V>>
AbstractAnalysis.Worklist
Analysis.BeforeOrAfter, Analysis.Direction
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
ignoredExceptionTypes
The fully-qualified names of the exception types that are ignored by this checker when
computing dataflow stores.
|
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 |
CalledMethodsAnalysis(BaseTypeChecker checker,
CalledMethodsAnnotatedTypeFactory factory)
Creates a new
CalledMethodsAnalysis . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isIgnoredExceptionType(TypeMirror exceptionType)
Ignore exceptional control flow due to ignored exception types.
|
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 CalledMethodsAnalysis(BaseTypeChecker checker, CalledMethodsAnnotatedTypeFactory factory)
CalledMethodsAnalysis
.checker
- the checkerfactory
- the factoryprotected boolean isIgnoredExceptionType(TypeMirror exceptionType)
isIgnoredExceptionType
in class AbstractAnalysis<CFValue,CFStore,CFTransfer>
exceptionType
- exception typetrue
if exceptionType
is a member of ignoredExceptionTypes
,
false
otherwise