Package soot.jimple
Class StringConstant
- java.lang.Object
-
- soot.jimple.Constant
-
- soot.jimple.StringConstant
-
- All Implemented Interfaces:
Serializable,EquivTo,Immediate,ConvertToBaf,Switchable,Value
public class StringConstant extends Constant
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringConstantEMPTY_STRINGStringvalue
-
Constructor Summary
Constructors Modifier Constructor Description protectedStringConstant(String s)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.booleanequals(Object c)TypegetType()Returns the Soot type of this Value.inthashCode()Returns a hash code for this StringConstant object.StringtoString()static StringConstantv(String value)-
Methods inherited from class soot.jimple.Constant
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toString
-
-
-
-
Field Detail
-
value
public final String value
-
EMPTY_STRING
public static final StringConstant EMPTY_STRING
-
-
Constructor Detail
-
StringConstant
protected StringConstant(String s)
-
-
Method Detail
-
v
public static StringConstant v(String value)
-
hashCode
public int hashCode()
Returns a hash code for this StringConstant object.
-
getType
public Type getType()
Description copied from interface:ValueReturns the Soot type of this Value.
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.
-
-