public class NullCheckTypeFlow extends TypeFlow<BytecodePosition>
| Constructor and Description |
|---|
NullCheckTypeFlow(BytecodePosition position,
AnalysisType inputType,
boolean blockNull) |
NullCheckTypeFlow(MethodFlowsGraph methodFlows,
NullCheckTypeFlow 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 newState) |
boolean |
isBlockingNull()
If true, lets anything but null pass through.
|
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, notifyObserverOfSaturation, notifyUseOfSaturation, onInputSaturated, onObservedSaturated, onObservedUpdate, onSaturated, onSaturated, receiver, removeObserver, removeUse, replacedObservedWith, replaceObservedWith, setObserved, setSaturated, setSlot, setState, swapAtObserver, swapAtUse, swapOut, updatepublic NullCheckTypeFlow(BytecodePosition position,
AnalysisType inputType,
boolean blockNull)
public NullCheckTypeFlow(MethodFlowsGraph methodFlows, NullCheckTypeFlow original)
public TypeFlow<BytecodePosition> copy(PointsToAnalysis bb, MethodFlowsGraph methodFlows)
TypeFlowpublic boolean isBlockingNull()
public TypeState filter(PointsToAnalysis bb, TypeState newState)