public class FormatterAnalysis extends CFAbstractAnalysis<CFValue,CFStore,FormatterTransfer>
FormatUtil.asFormat(java.lang.String, org.checkerframework.checker.formatter.qual.ConversionCategory...)
method.Analysis.Worklist
atypeFactory, checker, fieldValues, qualifierHierarchy, typeHierarchy
cfg, currentInput, currentNode, currentTree, elseStores, env, finalLocalValues, inputs, isRunning, nodeValues, storesAtReturnStatements, thenStores, transferFunction, types, worklist
Constructor and Description |
---|
FormatterAnalysis(BaseTypeChecker checker,
FormatterAnnotatedTypeFactory factory,
List<Pair<VariableElement,CFValue>> fieldValues) |
Modifier and Type | Method and Description |
---|---|
CFValue |
createAbstractValue(AnnotatedTypeMirror type) |
CFStore |
createCopiedStore(CFStore s) |
CFStore |
createEmptyStore(boolean sequentialSemantics) |
FormatterTransfer |
createTransferFunction() |
createSingleAnnotationValue, defaultCreateAbstractValue, getFieldValues, getTypeFactory, getTypeFactoryOfSubchecker, getTypeHierarchy, outputToDotFile
addStoreBefore, addToWorklist, callTransferFunction, getContainingClass, getContainingMethod, getCurrentTree, getEnv, getExceptionalExitStore, getInput, getInputBefore, getNodeForTree, getRegularExitStore, getResult, getReturnStatementStores, getStoreBefore, getTransferFunction, getTypes, getValue, getValue, init, isRunning, performAnalysis, propagateStoresTo, readFromStore, setCurrentTree, setTransferFunction, updateNodeValues
public FormatterAnalysis(BaseTypeChecker checker, FormatterAnnotatedTypeFactory factory, List<Pair<VariableElement,CFValue>> fieldValues)
public FormatterTransfer createTransferFunction()
createTransferFunction
in class CFAbstractAnalysis<CFValue,CFStore,FormatterTransfer>
public CFStore createEmptyStore(boolean sequentialSemantics)
createEmptyStore
in class CFAbstractAnalysis<CFValue,CFStore,FormatterTransfer>
public CFStore createCopiedStore(CFStore s)
createCopiedStore
in class CFAbstractAnalysis<CFValue,CFStore,FormatterTransfer>
s
.public CFValue createAbstractValue(AnnotatedTypeMirror type)
createAbstractValue
in class CFAbstractAnalysis<CFValue,CFStore,FormatterTransfer>
type
.