public class ClassConstant extends Constant
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
value |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
boolean |
equals(java.lang.Object c) |
static ClassConstant |
fromType(Type tp) |
Type |
getType()
Returns the Soot type of this Value.
|
java.lang.String |
getValue() |
int |
hashCode()
Returns a hash code for this ClassConstant object.
|
boolean |
isRefType()
Gets whether this class constant denotes a reference type.
|
Type |
toSootType() |
java.lang.String |
toString() |
static ClassConstant |
v(java.lang.String value) |
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toStringpublic static ClassConstant v(java.lang.String value)
public static ClassConstant fromType(Type tp)
public boolean isRefType()
public Type toSootType()
public boolean equals(java.lang.Object c)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getValue()
public Type getType()
Valuepublic void apply(Switch sw)
Switchable