public class StringConstant extends Constant
| Modifier and Type | Field and Description |
|---|---|
static StringConstant |
EMPTY_STRING |
String |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
StringConstant(String s) |
| Modifier and Type | Method and Description |
|---|---|
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) |
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toStringpublic final String value
public static final StringConstant EMPTY_STRING
protected StringConstant(String s)
public static StringConstant v(String value)
public int hashCode()
public Type getType()
Valuepublic void apply(Switch sw)
SwitchableCopyright © 2024 Soot OSS. All rights reserved.