public class InitialReceiverTypeFlow extends InitialParamTypeFlow
positioncontext, declaredType, graphRef, id, inQueue, nextId, source, usedAsAParameter, usedAsAReceiver| Constructor and Description |
|---|
InitialReceiverTypeFlow(AnalysisMethod source,
AnalysisType declaredType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addUse(PointsToAnalysis bb,
TypeFlow<?> use)
The state of the formal receiver type flow cannot be updated directly, thus
FormalReceiverTypeFlow.addReceiverState(PointsToAnalysis, TypeState) needs to be
used. |
TypeFlow<AnalysisMethod> |
copy(PointsToAnalysis bb,
MethodFlowsGraph methodFlows)
By default a type flow is not cloneable.
|
TypeState |
filter(PointsToAnalysis bb,
TypeState newState) |
String |
toString() |
void |
update(PointsToAnalysis bb) |
method, positionaddInput, addObservee, addObserver, addOriginalObserver, addOriginalUse, addState, addState, canSaturate, context, declaredTypeFilter, doAddUse, equals, format, formatSource, getDeclaredType, getInputs, getObservees, getObservers, getSlot, getSource, getState, getUses, graphRef, hashCode, id, initClone, isAllInstantiated, isClone, isSaturated, isUsedAsAParameter, isUsedAsAReceiver, notifyObserverOfSaturation, notifyObservers, notifyUseOfSaturation, onInputSaturated, onObservedSaturated, onObservedUpdate, onSaturated, receiver, removeInput, removeObservee, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setObserved, setSaturated, setSlot, setState, setUsedAsAParameter, setUsedAsAReceiver, swapAtObserver, swapAtUse, swapOutpublic InitialReceiverTypeFlow(AnalysisMethod source, AnalysisType declaredType)
public TypeFlow<AnalysisMethod> copy(PointsToAnalysis bb, MethodFlowsGraph methodFlows)
TypeFlowcopy in class InitialParamTypeFlowpublic TypeState filter(PointsToAnalysis bb, TypeState newState)
filter in class TypeFlow<AnalysisMethod>public boolean addUse(PointsToAnalysis bb, TypeFlow<?> use)
FormalReceiverTypeFlow.addReceiverState(PointsToAnalysis, TypeState) needs to be
used. See FormalReceiverTypeFlow.addState(PointsToAnalysis, TypeState) for a complete
explanation.addUse in class TypeFlow<AnalysisMethod>public void update(PointsToAnalysis bb)
update in class TypeFlow<AnalysisMethod>public String toString()
toString in class InitialParamTypeFlow