Package 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Variable
getVariable()
Get the variable of the variable.java.lang.String
getVarName()
Get the variable name.java.lang.String
toString()
-
-
-
Constructor Detail
-
Binding
public Binding(java.lang.String varName, Variable variable)
Constructor.- Parameters:
varName
- the name of the variablevariable
- the variable
-
-
Method Detail
-
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 classjava.lang.Object
-
-