public class ConstantTypeFlow extends TypeFlow<BytecodePosition>
| Constructor and Description |
|---|
ConstantTypeFlow(BytecodePosition position,
AnalysisType type,
TypeState constantState)
Constant flow has an immutable type state.
|
ConstantTypeFlow(ConstantTypeFlow original,
MethodFlowsGraph methodFlows) |
| Modifier and Type | Method and Description |
|---|---|
TypeFlow<BytecodePosition> |
copy(PointsToAnalysis bb,
MethodFlowsGraph methodFlows)
By default a type flow is not cloneable.
|
void |
initFlow(PointsToAnalysis bb)
Initialization code for some type flow corner cases.
|
boolean |
needsInitialization()
Type flows that require initialization after the graph is created need to override this
method and return true.
|
String |
toString() |
addInput, addObservee, addObserver, addObserver, addState, addState, addUse, addUse, canSaturate, clearInputs, clearObservees, clearObservers, clearUses, declaredTypeFilter, declaredTypeFilter, doAddUse, equals, filter, filterUncheckedInterface, format, formatSource, getDeclaredType, getInputs, getObservees, getObservers, getSlot, getSource, getState, getUses, graphRef, hashCode, id, invalidate, isAllInstantiated, isClone, isContextInsensitive, isSaturated, isValid, method, notifyObserverOfSaturation, notifyUseOfSaturation, onInputSaturated, onObservedSaturated, onObservedUpdate, onSaturated, onSaturated, receiver, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setObserved, setSaturated, setSlot, setState, swapAtObserver, swapAtUse, swapOut, updatepublic ConstantTypeFlow(BytecodePosition position,
AnalysisType type,
TypeState constantState)
public ConstantTypeFlow(ConstantTypeFlow original, MethodFlowsGraph methodFlows)
public TypeFlow<BytecodePosition> copy(PointsToAnalysis bb, MethodFlowsGraph methodFlows)
TypeFlowpublic void initFlow(PointsToAnalysis bb)
TypeFlowTypeFlow.needsInitialization() also
needs to be overridden to enable type flow initialization.public boolean needsInitialization()
TypeFlowneedsInitialization in class TypeFlow<BytecodePosition>