public abstract class OffsetStoreTypeFlow extends TypeFlow<BytecodePosition>
| Modifier and Type | Class and Description |
|---|---|
static class |
OffsetStoreTypeFlow.AbstractUnsafeStoreTypeFlow |
static class |
OffsetStoreTypeFlow.StoreIndexedTypeFlow
Implements the type flow of an indexed store operation.
|
static class |
OffsetStoreTypeFlow.UnsafePartitionStoreTypeFlow |
static class |
OffsetStoreTypeFlow.UnsafeStoreTypeFlow
Implements an unsafe store operation type flow.
|
| Modifier and Type | Field and Description |
|---|---|
protected TypeFlow<?> |
objectFlow
The flow of the receiver object.
|
protected AnalysisType |
objectType |
protected TypeFlow<?> |
valueFlow
The flow of the input value.
|
| Constructor and Description |
|---|
OffsetStoreTypeFlow(BytecodePosition storeLocation,
AnalysisType objectType,
AnalysisType componentType,
TypeFlow<?> objectFlow,
TypeFlow<?> valueFlow) |
OffsetStoreTypeFlow(PointsToAnalysis bb,
MethodFlowsGraph methodFlows,
OffsetStoreTypeFlow original) |
| Modifier and Type | Method and Description |
|---|---|
abstract TypeFlow<BytecodePosition> |
copy(PointsToAnalysis bb,
MethodFlowsGraph methodFlows)
By default a type flow is not cloneable.
|
boolean |
isContextInsensitive() |
void |
markAsContextInsensitive() |
abstract void |
onObservedSaturated(PointsToAnalysis bb,
TypeFlow<?> observed)
Notified by an observed flow that it is saturated.
|
abstract void |
onObservedUpdate(PointsToAnalysis bb)
Notify the observer that the observed type flow state has changed.
|
TypeFlow<?> |
receiver()
Some flows have a receiver (e.g., loads, store and invokes).
|
void |
setObserved(TypeFlow<?> newObjectFlow)
Set the type flow that this flow is observing.
|
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, initFlow, invalidate, isAllInstantiated, isClone, isSaturated, isValid, method, needsInitialization, notifyObserverOfSaturation, notifyUseOfSaturation, onInputSaturated, onSaturated, onSaturated, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setSaturated, setSlot, setState, swapAtObserver, swapAtUse, swapOut, toString, updateprotected final AnalysisType objectType
protected final TypeFlow<?> valueFlow
protected TypeFlow<?> objectFlow
public OffsetStoreTypeFlow(BytecodePosition storeLocation,
AnalysisType objectType,
AnalysisType componentType,
TypeFlow<?> objectFlow,
TypeFlow<?> valueFlow)
public OffsetStoreTypeFlow(PointsToAnalysis bb, MethodFlowsGraph methodFlows, OffsetStoreTypeFlow original)
public TypeFlow<?> receiver()
TypeFlowpublic abstract TypeFlow<BytecodePosition> copy(PointsToAnalysis bb, MethodFlowsGraph methodFlows)
TypeFlowpublic void setObserved(TypeFlow<?> newObjectFlow)
TypeFlowsetObserved in class TypeFlow<BytecodePosition>public abstract void onObservedUpdate(PointsToAnalysis bb)
TypeFlowonObservedUpdate in class TypeFlow<BytecodePosition>public abstract void onObservedSaturated(PointsToAnalysis bb, TypeFlow<?> observed)
TypeFlowonObservedSaturated in class TypeFlow<BytecodePosition>public void markAsContextInsensitive()
public boolean isContextInsensitive()
isContextInsensitive in class TypeFlow<BytecodePosition>