edu.umd.cs.findbugs.ba.bcp
Class Binding

java.lang.Object
  extended by 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

Field Summary
private  Variable variable
           
private  java.lang.String varName
           
 
Constructor Summary
Binding(java.lang.String varName, Variable variable)
          Constructor.
 
Method Summary
 Variable getVariable()
          Get the variable of the variable.
 java.lang.String getVarName()
          Get the variable name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

varName

private final java.lang.String varName

variable

private final Variable variable
Constructor Detail

Binding

public Binding(java.lang.String varName,
               Variable variable)
Constructor.

Parameters:
varName - the name of the variable
variable - 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 class java.lang.Object