soot.jimple
Class StringConstant

java.lang.Object
  extended by soot.jimple.Constant
      extended by soot.jimple.StringConstant
All Implemented Interfaces:
Serializable, EquivTo, Immediate, ConvertToBaf, Switchable, Value

public class StringConstant
extends Constant

See Also:
Serialized Form

Field Summary
 String value
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
 boolean equals(Object c)
           
 Type getType()
          Returns the Soot type of this Value.
 int hashCode()
          Returns a hash code for this StringConstant object.
 String toString()
           
static StringConstant v(String value)
           
 
Methods inherited from class soot.jimple.Constant
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public final String value
Method Detail

v

public static StringConstant v(String value)

equals

public boolean equals(Object c)
Overrides:
equals in class Object

hashCode

public int hashCode()
Returns a hash code for this StringConstant object.

Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getType

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


apply

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