public class KeyForAnalysis extends CFAbstractAnalysis<KeyForValue,KeyForStore,KeyForTransfer>
AbstractAnalysis.Worklist
Analysis.BeforeOrAfter, Analysis.Direction
atypeFactory, checker, dependentTypesHelper, env, fieldValues, qualifierHierarchy, typeHierarchy, types
blockCount, elseStores, maxCountBeforeWidening, storesAtReturnStatements, thenStores
cfg, currentInput, currentNode, currentTree, direction, finalLocalValues, inputs, isRunning, nodeValues, transferFunction, worklist
Constructor and Description |
---|
KeyForAnalysis(BaseTypeChecker checker,
KeyForAnnotatedTypeFactory factory,
List<Pair<VariableElement,KeyForValue>> fieldValues) |
KeyForAnalysis(BaseTypeChecker checker,
KeyForAnnotatedTypeFactory factory,
List<Pair<VariableElement,KeyForValue>> fieldValues,
int maxCountBeforeWidening) |
Modifier and Type | Method and Description |
---|---|
KeyForValue |
createAbstractValue(Set<AnnotationMirror> annotations,
TypeMirror underlyingType)
Returns an abstract value containing the given
annotations and underlyingType . |
KeyForStore |
createCopiedStore(KeyForStore store)
Returns an identical copy of the store
s . |
KeyForStore |
createEmptyStore(boolean sequentialSemantics)
Returns an empty store of the appropriate type.
|
createAbstractValue, createSingleAnnotationValue, createTransferFunction, defaultCreateAbstractValue, getEnv, getFieldValues, 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
public KeyForAnalysis(BaseTypeChecker checker, KeyForAnnotatedTypeFactory factory, List<Pair<VariableElement,KeyForValue>> fieldValues, int maxCountBeforeWidening)
public KeyForAnalysis(BaseTypeChecker checker, KeyForAnnotatedTypeFactory factory, List<Pair<VariableElement,KeyForValue>> fieldValues)
public KeyForStore createEmptyStore(boolean sequentialSemantics)
CFAbstractAnalysis
createEmptyStore
in class CFAbstractAnalysis<KeyForValue,KeyForStore,KeyForTransfer>
public KeyForStore createCopiedStore(KeyForStore store)
CFAbstractAnalysis
s
.createCopiedStore
in class CFAbstractAnalysis<KeyForValue,KeyForStore,KeyForTransfer>
s
public KeyForValue createAbstractValue(Set<AnnotationMirror> annotations, TypeMirror underlyingType)
CFAbstractAnalysis
annotations
and underlyingType
.createAbstractValue
in class CFAbstractAnalysis<KeyForValue,KeyForStore,KeyForTransfer>
annotations
and underlyingType