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.ObjectA 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 VariablegetVariable()Get the variable of the variable.java.lang.StringgetVarName()Get the variable name.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-