public class Store extends FieldAccess
PatternElement
Constructor and Description |
---|
Store(java.lang.String fieldVarName,
java.lang.String valueVarName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MatchResult |
match(org.apache.bcel.generic.InstructionHandle handle,
org.apache.bcel.generic.ConstantPoolGen cpg,
ValueNumberFrame before,
ValueNumberFrame after,
BindingSet bindingSet)
Return whether or not this element matches the given instruction with the
given Bindings in effect.
|
checkConsistent, isLongOrDouble, snarfFieldValue
acceptBranch, maxOccur, minOccur
addOrCheckDefinition, allowTrailingEdges, dominatedBy, getDominatedBy, getLabel, getNext, label, lookup, setAllowTrailingEdges, setIndex, setNext, toString
public Store(java.lang.String fieldVarName, java.lang.String valueVarName)
fieldVarName
- the name of the field variablevalueVarName
- the name of the variable representing the value storedpublic MatchResult match(org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, ValueNumberFrame before, ValueNumberFrame after, BindingSet bindingSet) throws DataflowAnalysisException
PatternElement
match
in class PatternElement
handle
- the instructioncpg
- the ConstantPoolGen from the methodbefore
- the ValueNumberFrame representing values in the Java stack
frame just before the execution of the instructionafter
- the ValueNumberFrame representing values in the Java stack
frame just after the execution of the instructionbindingSet
- the set of BindingsDataflowAnalysisException
SpotBugs is licensed under the LGPL.