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, toString
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getValue()
public Type getType()
Value
public void apply(Switch sw)
Switchable