soot.jimple.internal
Class JimpleLocal

java.lang.Object
  |
  +--soot.jimple.internal.JimpleLocal

public class JimpleLocal
extends java.lang.Object
implements Local, ConvertToBaf


Constructor Summary
JimpleLocal(java.lang.String name, Type t)
          Constructs a JimpleLocal of the given name and type.
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
 java.lang.Object clone()
          Returns a clone of the current JimpleLocal.
 void convertToBaf(JimpleToBafContext context, java.util.List out)
           
 int equivHashCode()
          Returns a hash code for this object, consistent with structural equality.
 boolean equivTo(java.lang.Object o)
          Returns true if the given object is structurally equal to this one.
 java.lang.String getName()
          Returns the name of this object.
 Type getType()
          Returns the type of this local.
 java.util.List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 int hashCode()
          Returns a hashCode consistent with object equality.
 void setName(java.lang.String name)
          Sets the name of this object as given.
 void setType(Type t)
          Sets the type of this local.
 java.lang.String toBriefString()
          Returns a brief description of this object.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JimpleLocal

public JimpleLocal(java.lang.String name,
                   Type t)
Constructs a JimpleLocal of the given name and type.
Method Detail

equivTo

public boolean equivTo(java.lang.Object o)
Returns true if the given object is structurally equal to this one.

equivHashCode

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

clone

public java.lang.Object clone()
Returns a clone of the current JimpleLocal.
Overrides:
clone in class java.lang.Object

getName

public java.lang.String getName()
Returns the name of this object.
Specified by:
getName in interface Local

setName

public void setName(java.lang.String name)
Sets the name of this object as given.
Specified by:
setName in interface Local

hashCode

public int hashCode()
Returns a hashCode consistent with object equality.
Overrides:
hashCode in class java.lang.Object

getType

public Type getType()
Returns the type of this local.

setType

public void setType(Type t)
Sets the type of this local.
Specified by:
setType in interface Local

toString

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

toBriefString

public java.lang.String toBriefString()
Description copied from interface: ToBriefString
Returns a brief description of this object.

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 sw)
Description copied from interface: Switchable
Called when this object is visited.

convertToBaf

public void convertToBaf(JimpleToBafContext context,
                         java.util.List out)
Specified by:
convertToBaf in interface ConvertToBaf