Class CalledMethodsAnalysis
java.lang.Object
org.checkerframework.dataflow.analysis.AbstractAnalysis<V,S,T>
  
org.checkerframework.dataflow.analysis.ForwardAnalysisImpl<V,S,T>
  
org.checkerframework.framework.flow.CFAbstractAnalysis<CFValue,CFStore,CFTransfer>
  
org.checkerframework.framework.flow.CFAnalysis
org.checkerframework.checker.calledmethods.CalledMethodsAnalysis
- All Implemented Interfaces:
- Analysis<CFValue,,- CFStore, - CFTransfer> - ForwardAnalysis<CFValue,- CFStore, - CFTransfer> 
- Direct Known Subclasses:
- ResourceLeakAnalysis
The analysis for the Called Methods Checker. The analysis is specialized to ignore certain
 exception types; see 
isIgnoredExceptionType(TypeMirror).- 
Nested Class SummaryNested classes/interfaces inherited from class org.checkerframework.framework.flow.CFAbstractAnalysisCFAbstractAnalysis.FieldInitialValue<V extends CFAbstractValue<V>>Nested classes/interfaces inherited from class org.checkerframework.dataflow.analysis.AbstractAnalysisAbstractAnalysis.WorklistNested classes/interfaces inherited from interface org.checkerframework.dataflow.analysis.AnalysisAnalysis.BeforeOrAfter, Analysis.Direction
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe fully-qualified names of the exception types that are ignored by this checker when computing dataflow stores.Fields inherited from class org.checkerframework.framework.flow.CFAbstractAnalysisatypeFactory, checker, dependentTypesHelper, env, fieldValues, qualifierHierarchy, typeHierarchy, typesFields inherited from class org.checkerframework.dataflow.analysis.ForwardAnalysisImplblockCount, elseStores, maxCountBeforeWidening, storesAtReturnStatements, thenStoresFields inherited from class org.checkerframework.dataflow.analysis.AbstractAnalysiscfg, currentInput, currentNode, currentTree, direction, finalLocalValues, inputs, isRunning, nodeValues, transferFunction, worklist
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCalledMethodsAnalysis(BaseTypeChecker checker, CalledMethodsAnnotatedTypeFactory factory) Creates a newCalledMethodsAnalysis.
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanisIgnoredExceptionType(TypeMirror exceptionType) Ignore exceptional control flow due to ignored exception types.Methods inherited from class org.checkerframework.framework.flow.CFAnalysiscreateAbstractValue, createCopiedStore, createEmptyStoreMethods inherited from class org.checkerframework.framework.flow.CFAbstractAnalysiscreateAbstractValue, createSingleAnnotationValue, createTransferFunction, defaultCreateAbstractValue, getEnv, getFieldInitialValues, getTypeFactory, getTypeHierarchy, getTypes, performAnalysisMethods inherited from class org.checkerframework.dataflow.analysis.ForwardAnalysisImpladdStoreBefore, callTransferFunction, getInput, getInputBefore, getReturnStatementStores, getStoreBefore, initFields, initInitialInputs, performAnalysis, performAnalysisBlock, propagateStoresTo, runAnalysisForMethods inherited from class org.checkerframework.dataflow.analysis.AbstractAnalysisaddToWorklist, getContainingClass, getContainingMethod, getCurrentTree, getDirection, getExceptionalExitStore, getNodesForTree, getNodeValues, getRegularExitStore, getResult, getTransferFunction, getValue, getValue, init, isRunning, readFromStore, setCurrentNode, setCurrentTree, updateNodeValuesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.checkerframework.dataflow.analysis.AnalysisgetDirection, getExceptionalExitStore, getRegularExitStore, getResult, getTransferFunction, getValue, getValue, isRunning
- 
Field Details- 
ignoredExceptionTypesThe fully-qualified names of the exception types that are ignored by this checker when computing dataflow stores.
 
- 
- 
Constructor Details- 
CalledMethodsAnalysisCreates a newCalledMethodsAnalysis.- Parameters:
- checker- the checker
- factory- the factory
 
 
- 
- 
Method Details- 
isIgnoredExceptionTypeIgnore exceptional control flow due to ignored exception types.- Overrides:
- isIgnoredExceptionTypein class- AbstractAnalysis<CFValue,- CFStore, - CFTransfer> 
- Parameters:
- exceptionType- exception type
- Returns:
- trueif- exceptionTypeis a member of- ignoredExceptionTypes,- falseotherwise
 
 
-