Class NullConstant
java.lang.Object
sootup.core.jimple.common.constant.NullConstant
- All Implemented Interfaces:
EquivTo,Constant,Immediate,Value,JimpleIR,Acceptor<ConstantVisitor>
-
Method Summary
Modifier and TypeMethodDescription<V extends ConstantVisitor>
Vaccept(@NonNull V v) Called when this object is visited.booleanstatic NullConstant@NonNull TypegetType()Returns the Soot type of this Value.getValue()Obtain the runtime value of the Constant.inthashCode()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
collectUses, equivHashCode, equivTo, toString
-
Method Details
-
getInstance
-
equals
-
hashCode
public int hashCode() -
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>- Type Parameters:
V- the concrete visitor type- Parameters:
v- the visitor processing this object- Returns:
- the visitor after processing
-
toString
-
getValue
Description copied from interface:ConstantObtain the runtime value of the Constant. E.g. IntConstant.getInstance(42).getValue() will return Integer.valueOf(42).
-