Class ClassConstant
java.lang.Object
sootup.core.jimple.common.constant.ClassConstant
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V extends ConstantVisitor>
Vaccept
(V v) Called when this object is visited.boolean
getType()
Returns the Soot type of this Value.getValue()
int
hashCode()
Returns a hash code for this ClassConstant object.boolean
Gets whether this class constant denotes a reference type.toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface sootup.core.jimple.common.constant.Constant
equivHashCode, equivTo, getUses, toString
-
Constructor Details
-
ClassConstant
-
-
Method Details
-
isRefType
public boolean isRefType()Gets whether this class constant denotes a reference type. This does not check for arrays.- Returns:
- True if this class constant denotes a reference type, otherwise false
-
equals
-
hashCode
public int hashCode()Returns a hash code for this ClassConstant object. -
getValue
-
getType
Description copied from interface:Value
Returns the Soot type of this Value. -
accept
Description copied from interface:Acceptor
Called when this object is visited.- Specified by:
accept
in interfaceAcceptor<ConstantVisitor>
-
toString
-