Class CFAnalysis
java.lang.Object
org.checkerframework.dataflow.analysis.AbstractAnalysis<CFValue,CFStore,CFTransfer>
  
org.checkerframework.dataflow.analysis.ForwardAnalysisImpl<CFValue,CFStore,CFTransfer>
  
org.checkerframework.framework.flow.CFAbstractAnalysis<CFValue,CFStore,CFTransfer>
  
org.checkerframework.framework.flow.CFAnalysis
- All Implemented Interfaces:
- Analysis<CFValue,,- CFStore, - CFTransfer> - ForwardAnalysis<CFValue,- CFStore, - CFTransfer> 
The default org.checkerframework.dataflow analysis used in the Checker Framework.
- 
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 SummaryFields inherited from class org.checkerframework.framework.flow.CFAbstractAnalysisatypeFactory, checker, dependentTypesHelper, env, fieldValues, qualHierarchy, 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 SummaryConstructorsConstructorDescriptionCFAnalysis(BaseTypeChecker checker, GenericAnnotatedTypeFactory<CFValue, CFStore, CFTransfer, CFAnalysis> factory) Creates a newCFAnalysis.
- 
Method SummaryModifier and TypeMethodDescriptioncreateAbstractValue(AnnotationMirrorSet annotations, TypeMirror underlyingType) Returns an abstract value containing the givenannotationsandunderlyingType.Returns an identical copy of the stores.createEmptyStore(boolean sequentialSemantics) Returns an empty store of the appropriate type.Methods inherited from class org.checkerframework.framework.flow.CFAbstractAnalysiscallTransferFunction, createAbstractValue, createSingleAnnotationValue, createTransferFunction, defaultCreateAbstractValue, getEnv, getFieldInitialValues, getTypeFactory, getTypeHierarchy, getTypes, performAnalysisMethods inherited from class org.checkerframework.dataflow.analysis.ForwardAnalysisImpladdStoreBefore, getInput, getInputBefore, getReturnStatementStores, getStoreBefore, initFields, initInitialInputs, performAnalysis, performAnalysisBlock, propagateStoresTo, runAnalysisForMethods inherited from class org.checkerframework.dataflow.analysis.AbstractAnalysisaddToWorklist, getContainingClass, getContainingMethod, getCurrentTree, getDirection, getEnclosingClass, getEnclosingMethod, getExceptionalExitStore, getNodesForTree, getNodeValues, getRegularExitStore, getResult, getTransferFunction, getValue, getValue, init, isIgnoredExceptionType, isRunning, 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
- 
Constructor Details- 
CFAnalysispublic CFAnalysis(BaseTypeChecker checker, GenericAnnotatedTypeFactory<CFValue, CFStore, CFTransfer, CFAnalysis> factory) Creates a newCFAnalysis.- Parameters:
- checker- the checker
- factory- the factory
 
 
- 
- 
Method Details- 
createEmptyStoreDescription copied from class:CFAbstractAnalysisReturns an empty store of the appropriate type.- Specified by:
- createEmptyStorein class- CFAbstractAnalysis<CFValue,- CFStore, - CFTransfer> 
- Returns:
- an empty store of the appropriate type
 
- 
createCopiedStoreDescription copied from class:CFAbstractAnalysisReturns an identical copy of the stores.- Specified by:
- createCopiedStorein class- CFAbstractAnalysis<CFValue,- CFStore, - CFTransfer> 
- Returns:
- an identical copy of the store s
 
- 
createAbstractValueDescription copied from class:CFAbstractAnalysisReturns an abstract value containing the givenannotationsandunderlyingType. Returns null if the annotation set has missing annotations.- Specified by:
- createAbstractValuein class- CFAbstractAnalysis<CFValue,- CFStore, - CFTransfer> 
- Parameters:
- annotations- the annotations for the result annotated type
- underlyingType- the unannotated type for the result annotated type
- Returns:
- an abstract value containing the given annotationsandunderlyingType
 
 
-