edu.umd.cs.findbugs.ba.bcp
Class Binding
java.lang.Object
edu.umd.cs.findbugs.ba.bcp.Binding
public class Binding
- extends java.lang.Object
A Binding binds a name to a Variable.
- Author:
- David Hovemeyer
- See Also:
Variable
Constructor Summary |
Binding(java.lang.String varName,
Variable variable)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
varName
private final java.lang.String varName
variable
private final Variable variable
Binding
public Binding(java.lang.String varName,
Variable variable)
- Constructor.
- Parameters:
varName
- the name of the variablevariable
- the variable
getVarName
public java.lang.String getVarName()
- Get the variable name.
getVariable
public Variable getVariable()
- Get the variable of the variable.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object