Package edu.umd.cs.findbugs.ba.npe
Class IsNullValueFrame
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanStaleKnowledge
(ValueNumberFrame vnaFrameAfter) void
copyFrom
(Frame<IsNullValue> other) Make this Frame exactly the same as the one given as a parameter.void
Downgrade all NSP values in frame.getKnownValue
(ValueNumber valueNumber) boolean
void
mergeKnownValuesWith
(IsNullValueFrame otherFrame) boolean
sameAs
(Frame<IsNullValue> other) Return true if this stack frame is the same as the one given as a parameter.void
setDecision
(IsNullConditionDecision decision) void
setKnownValue
(ValueNumber valueNumber, IsNullValue knownValue) void
setTop()
Make this frame the special "TOP" value.void
toString()
Convert to string.void
useNewValueNumberForLoad
(ValueNumber oldValueNumber, ValueNumber newValueNumber) Methods inherited from class edu.umd.cs.findbugs.ba.Frame
allSlots, clearStack, contains, getArgument, getArgument, getArgumentSet, getArgumentSlot, getInstance, getInstanceSlot, getInstanceStackLocation, getLastUpdateTimestamp, getNumArguments, getNumArgumentsIncludingObjectInstance, getNumLocals, getNumSlots, getOperand, getStackDepth, getStackLocation, getStackValue, getTopStackWords, getTopValue, getValue, isBottom, isTop, isValid, popValue, pushValue, setBottom, setLastUpdateTimestamp, setValid, setValue, valueToString
-
Constructor Details
-
IsNullValueFrame
public IsNullValueFrame(int numLocals, boolean trackValueNumbers)
-
-
Method Details
-
isTrackValueNumbers
public boolean isTrackValueNumbers() -
cleanStaleKnowledge
-
setTop
public void setTop()Description copied from class:Frame
Make this frame the special "TOP" value. Such Frames are the identity element of the meet operation.- Overrides:
setTop
in classFrame<IsNullValue>
-
toExceptionValues
public void toExceptionValues() -
setDecision
-
getDecision
-
setKnownValue
-
useNewValueNumberForLoad
-
getKnownValue
-
getKnownValues
-
getKnownValueMapEntrySet
-
mergeKnownValuesWith
-
copyFrom
Description copied from class:Frame
Make this Frame exactly the same as the one given as a parameter.- Overrides:
copyFrom
in classFrame<IsNullValue>
- Parameters:
other
- the Frame to make this object the same as
-
sameAs
Description copied from class:Frame
Return true if this stack frame is the same as the one given as a parameter.- Overrides:
sameAs
in classFrame<IsNullValue>
- Parameters:
other
- the other Frame- Returns:
- true if the frames are the same, false otherwise
-
toString
Description copied from class:Frame
Convert to string.- Overrides:
toString
in classFrame<IsNullValue>
-
downgradeOnControlSplit
public void downgradeOnControlSplit()Downgrade all NSP values in frame. Should be called when a non-exception control split occurs.
-