soot.jimple
Class StringConstant
java.lang.Object
|
+--soot.jimple.Constant
|
+--soot.jimple.StringConstant
- All Implemented Interfaces:
- ConvertToBaf, EquivTo, java.io.Serializable, Switchable, ToBriefString, Value
- public class StringConstant
- extends Constant
- implements Switchable, ToBriefString
- 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 |
toBriefString()
Returns a brief description of this 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
toBriefString
public java.lang.String toBriefString()
- Description copied from interface:
ToBriefString
- Returns a brief description of this object.
- Specified by:
toBriefString
in interface ToBriefString
getType
public Type getType()
- Description copied from interface:
Value
- Returns the Soot type of this Value.
- Specified by:
getType
in interface Value
apply
public void apply(Switch sw)
- Description copied from interface:
Switchable
- Called when this object is visited.
- Specified by:
apply
in interface Switchable