public abstract class OffsetLoadTypeFlow extends TypeFlow<BytecodePosition>
| Modifier and Type | Class and Description |
|---|---|
static class |
OffsetLoadTypeFlow.AbstractUnsafeLoadTypeFlow |
static class |
OffsetLoadTypeFlow.LoadIndexedTypeFlow
Implements the type flow of an indexed load operation.
|
static class |
OffsetLoadTypeFlow.UnsafeLoadTypeFlow |
static class |
OffsetLoadTypeFlow.UnsafePartitionLoadTypeFlow |
| Modifier and Type | Field and Description |
|---|---|
protected TypeFlow<?> |
objectFlow
The type flow of the receiver object of the load operation.
|
| Constructor and Description |
|---|
OffsetLoadTypeFlow(BytecodePosition loadLocation,
AnalysisType objectType,
AnalysisType componentType,
TypeFlow<?> objectFlow) |
OffsetLoadTypeFlow(PointsToAnalysis bb,
MethodFlowsGraph methodFlows,
OffsetLoadTypeFlow original) |
| Modifier and Type | Method and Description |
|---|---|
TypeState |
getObjectState() |
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.
|
protected void |
onSaturated() |
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, copy, declaredTypeFilter, declaredTypeFilter, doAddUse, equals, filter, filterUncheckedInterface, format, formatSource, getDeclaredType, getInputs, getObservees, getObservers, getSlot, getSource, getState, getUses, graphRef, hashCode, id, initFlow, invalidate, isAllInstantiated, isClone, isContextInsensitive, isSaturated, isValid, method, needsInitialization, notifyObserverOfSaturation, notifyUseOfSaturation, onInputSaturated, onSaturated, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setSaturated, setSlot, setState, swapAtObserver, swapAtUse, swapOut, toString, updateprotected TypeFlow<?> objectFlow
public OffsetLoadTypeFlow(BytecodePosition loadLocation,
AnalysisType objectType,
AnalysisType componentType,
TypeFlow<?> objectFlow)
public OffsetLoadTypeFlow(PointsToAnalysis bb, MethodFlowsGraph methodFlows, OffsetLoadTypeFlow original)
public void setObserved(TypeFlow<?> newObjectFlow)
TypeFlowsetObserved in class TypeFlow<BytecodePosition>public abstract void onObservedUpdate(PointsToAnalysis bb)
TypeFlowonObservedUpdate in class TypeFlow<BytecodePosition>public void onObservedSaturated(PointsToAnalysis bb, TypeFlow<?> observed)
TypeFlowonObservedSaturated in class TypeFlow<BytecodePosition>protected void onSaturated()
onSaturated in class TypeFlow<BytecodePosition>public TypeFlow<?> receiver()
TypeFlowpublic TypeState getObjectState()