org.norecess.citkit.lir
Class LIRLabel

java.lang.Object
  extended by org.norecess.citkit.lir.LIRLabel
All Implemented Interfaces:
LIRControlDestination, LIRInstruction

public class LIRLabel
extends java.lang.Object
implements LIRInstruction, LIRControlDestination


Constructor Summary
LIRLabel(java.lang.String label)
           
 
Method Summary
<T> T
accept(LIRControlDestinationVisitor<T> visitor)
           
<T> T
accept(LIRInstructionVisitor<T> visitor)
           
 boolean equals(java.lang.Object other)
           
 java.lang.String getLabel()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LIRLabel

public LIRLabel(java.lang.String label)
Method Detail

getLabel

public java.lang.String getLabel()

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

accept

public <T> T accept(LIRInstructionVisitor<T> visitor)
Specified by:
accept in interface LIRInstruction

accept

public <T> T accept(LIRControlDestinationVisitor<T> visitor)
Specified by:
accept in interface LIRControlDestination