soot.jimple
Class StringConstant
java.lang.Object
|
+--soot.jimple.Constant
|
+--soot.jimple.StringConstant
- public class StringConstant
- extends Constant
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
value
|
Method Summary |
void |
apply(Switch sw)
Called when this object is visited. |
boolean |
equals(java.lang.Object c)
|
Type |
getType()
Returns the Soot type of this Value. |
int |
hashCode()
Returns a hash code for this StringConstant object. |
java.lang.String |
toString()
|
static StringConstant |
v(java.lang.String value)
|
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
value
public final java.lang.String value
v
public static StringConstant v(java.lang.String value)
equals
public boolean equals(java.lang.Object c)
- Overrides:
- equals in class java.lang.Object
hashCode
public int hashCode()
- Returns a hash code for this StringConstant object.
- Overrides:
- hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.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.