public abstract class OneVariableInstruction extends SingleInstruction
PatternElement
Constructor and Description |
---|
OneVariableInstruction(java.lang.String varName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected MatchResult |
addOrCheckDefinition(Variable variable,
BindingSet bindingSet)
Add a variable definition to the given BindingSet, or if there is an
existing definition, make sure it is consistent with the new definition.
|
acceptBranch, maxOccur, minOccur
addOrCheckDefinition, allowTrailingEdges, dominatedBy, getDominatedBy, getLabel, getNext, label, lookup, match, setAllowTrailingEdges, setIndex, setNext, toString
public OneVariableInstruction(java.lang.String varName)
varName
- the name of the Variable used in this instructionprotected MatchResult addOrCheckDefinition(Variable variable, BindingSet bindingSet)
variable
- the Variable which should be added or checked for consistencybindingSet
- the existing set of bindingsFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.