public class FilterTypeFlow extends TypeFlow<BytecodePosition>
InstanceOfNode, which represents an instanceof test.| Constructor and Description |
|---|
FilterTypeFlow(BytecodePosition position,
AnalysisType filterType,
boolean isExact,
boolean isAssignable,
boolean includeNull) |
FilterTypeFlow(MethodFlowsGraph methodFlows,
FilterTypeFlow original) |
| Modifier and Type | Method and Description |
|---|---|
TypeFlow<BytecodePosition> |
copy(PointsToAnalysis bb,
MethodFlowsGraph methodFlows)
By default a type flow is not cloneable.
|
TypeState |
filter(PointsToAnalysis bb,
TypeState update) |
boolean |
includeNull() |
boolean |
isAssignable() |
boolean |
isExact() |
protected void |
notifyObserverOfSaturation(PointsToAnalysis bb,
TypeFlow<?> observer) |
protected void |
notifyUseOfSaturation(PointsToAnalysis bb,
TypeFlow<?> use) |
protected void |
onInputSaturated(PointsToAnalysis bb,
TypeFlow<?> input)
Notified by an input that it is saturated and it will stop sending updates.
|
String |
toString() |
addInput, addObservee, addObserver, addObserver, addState, addState, addUse, addUse, canSaturate, clearInputs, clearObservees, clearObservers, clearUses, declaredTypeFilter, declaredTypeFilter, doAddUse, equals, filterUncheckedInterface, format, formatSource, getDeclaredType, getInputs, getObservees, getObservers, getSlot, getSource, getState, getUses, graphRef, hashCode, id, initFlow, invalidate, isAllInstantiated, isClone, isContextInsensitive, isSaturated, isValid, method, needsInitialization, onObservedSaturated, onObservedUpdate, onSaturated, onSaturated, receiver, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setObserved, setSaturated, setSlot, setState, swapAtObserver, swapAtUse, swapOut, updatepublic FilterTypeFlow(BytecodePosition position,
AnalysisType filterType,
boolean isExact,
boolean isAssignable,
boolean includeNull)
public FilterTypeFlow(MethodFlowsGraph methodFlows, FilterTypeFlow original)
public TypeFlow<BytecodePosition> copy(PointsToAnalysis bb, MethodFlowsGraph methodFlows)
TypeFlowpublic TypeState filter(PointsToAnalysis bb, TypeState update)
protected void onInputSaturated(PointsToAnalysis bb, TypeFlow<?> input)
TypeFlowonInputSaturated in class TypeFlow<BytecodePosition>protected void notifyUseOfSaturation(PointsToAnalysis bb, TypeFlow<?> use)
notifyUseOfSaturation in class TypeFlow<BytecodePosition>protected void notifyObserverOfSaturation(PointsToAnalysis bb, TypeFlow<?> observer)
notifyObserverOfSaturation in class TypeFlow<BytecodePosition>public boolean isExact()
public boolean isAssignable()
public boolean includeNull()