Class ClassConstant
java.lang.Object
sootup.core.jimple.common.constant.ClassConstant
- All Implemented Interfaces:
EquivTo,Constant,Immediate,Value,JimpleIR,Acceptor<ConstantVisitor>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V extends ConstantVisitor>
Vaccept(@NonNull V v) Called when this object is visited.boolean@NonNull TypegetType()Returns the Soot type of this Value.getValue()inthashCode()Returns a hash code for this ClassConstant object.booleanGets whether this class constant denotes a reference type.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:ValueReturns the Soot type of this Value. -
accept
Description copied from interface:AcceptorCalled when this object is visited.- Specified by:
acceptin interfaceAcceptor<ConstantVisitor>
-
toString
-