soot.baf.internal
Class BafLocal

java.lang.Object
  |
  +--soot.baf.internal.BafLocal

public class BafLocal
extends java.lang.Object
implements Local

See Also:
Serialized Form

Constructor Summary
BafLocal(java.lang.String name, Type t)
           
 
Method Summary
 void apply(Switch s)
          Called when this object is visited.
 java.lang.Object clone()
          Returns a clone of this Value.
 int equivHashCode()
          Returns a hash code for this object, consistent with structural equality.
 boolean equivTo(java.lang.Object o)
          Returns true if this object is equivalent to o.
 java.lang.String getName()
          Returns the name of the current Local variable.
 int getNumber()
           
 Type getType()
          Returns the Soot type of this Value.
 java.util.List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 void setName(java.lang.String name)
          Sets the name of the current variable.
 void setNumber(int number)
           
 void setType(Type t)
          Sets the type of the current variable.
 java.lang.String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BafLocal

public BafLocal(java.lang.String name,
                Type t)
Method Detail

equivTo

public boolean equivTo(java.lang.Object o)
Description copied from interface: EquivTo
Returns true if this object is equivalent to o.

equivHashCode

public int equivHashCode()
Returns a hash code for this object, consistent with structural equality.

clone

public java.lang.Object clone()
Description copied from interface: Value
Returns a clone of this Value.
Overrides:
clone in class java.lang.Object

getName

public java.lang.String getName()
Description copied from interface: Local
Returns the name of the current Local variable.
Specified by:
getName in interface Local

setName

public void setName(java.lang.String name)
Description copied from interface: Local
Sets the name of the current variable.
Specified by:
setName in interface Local

getType

public Type getType()
Description copied from interface: Value
Returns the Soot type of this Value.

setType

public void setType(Type t)
Description copied from interface: Local
Sets the type of the current variable.
Specified by:
setType in interface Local

toString

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

toString

public void toString(UnitPrinter up)

getUseBoxes

public java.util.List getUseBoxes()
Description copied from interface: Value
Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.

apply

public void apply(Switch s)
Description copied from interface: Switchable
Called when this object is visited.

getNumber

public final int getNumber()

setNumber

public final void setNumber(int number)