public class NewInstanceTypeFlow extends SourceTypeFlowBase
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<AnalysisContext,AnalysisObject> |
heapObjectsCache
The original type flow keeps track of the heap objects created for the clones to avoid
duplication of heap object abstractions.
|
protected AnalysisType |
type
Source flow has an immutable type state.
|
sourceStatedeclaredType, graphRef, id, inQueue, nextId, source, state, usedAsAParameter, usedAsAReceiver| Modifier | Constructor and Description |
|---|---|
|
NewInstanceTypeFlow(BytecodePosition position,
AnalysisType type) |
protected |
NewInstanceTypeFlow(BytecodePosition position,
AnalysisType type,
TypeState typeState) |
protected |
NewInstanceTypeFlow(PointsToAnalysis bb,
NewInstanceTypeFlow original,
MethodFlowsGraph methodFlows) |
| Modifier and Type | Method and Description |
|---|---|
protected TypeState |
cloneSourceState(PointsToAnalysis bb,
MethodFlowsGraph methodFlows)
Create the type state for a clone.
|
TypeFlow<BytecodePosition> |
copy(PointsToAnalysis bb,
MethodFlowsGraph methodFlows)
By default a type flow is not cloneable.
|
String |
toString() |
AnalysisType |
type() |
canSaturate, initFlow, onInputSaturated, onObservedSaturated, onObservedUpdate, onSaturated, setSourceStateaddInput, addObservee, addObserver, addObserver, addState, addState, addUse, addUse, declaredTypeFilter, doAddUse, equals, filter, format, formatSource, getDeclaredType, getInputs, getObservees, getObservers, getSlot, getSource, getState, getUses, graphRef, hashCode, id, isAllInstantiated, isClone, isContextInsensitive, isSaturated, isUsedAsAParameter, isUsedAsAReceiver, method, notifyObserverOfSaturation, notifyUseOfSaturation, onSaturated, receiver, removeInput, removeObservee, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setObserved, setSaturated, setSlot, setState, setUsedAsAParameter, setUsedAsAReceiver, swapAtObserver, swapAtUse, swapOut, updateprotected volatile ConcurrentMap<AnalysisContext,AnalysisObject> heapObjectsCache
protected final AnalysisType type
public NewInstanceTypeFlow(BytecodePosition position,
AnalysisType type)
protected NewInstanceTypeFlow(BytecodePosition position,
AnalysisType type,
TypeState typeState)
protected NewInstanceTypeFlow(PointsToAnalysis bb, NewInstanceTypeFlow original, MethodFlowsGraph methodFlows)
public TypeFlow<BytecodePosition> copy(PointsToAnalysis bb, MethodFlowsGraph methodFlows)
TypeFlowprotected TypeState cloneSourceState(PointsToAnalysis bb, MethodFlowsGraph methodFlows)
public AnalysisType type()