public final class ClassConstantOperand extends ObjectConstantOperand
Operandoffset, valueinstruction| Constructor and Description |
|---|
ClassConstantOperand(Class<?> v,
Offset i)
Construct a new class constant operand
|
| Modifier and Type | Method and Description |
|---|---|
Operand |
copy()
Return a new operand that is semantically equivalent to
this. |
TypeReference |
getType()
Return the
TypeReference of the value represented by the operand. |
String |
toString()
Returns the string representation of this operand.
|
isMovableObjectConstant, isRef, similarasAddressConstant, asBlock, asBranch, asClassConstant, asCondition, asDoubleConstant, asFloatConstant, asIntConstant, asLocation, asLongConstant, asMemory, asMethod, asNullConstant, asObjectConstant, asRegister, asStackLocation, asStringConstant, asTIBConstant, asType, conservativelyApproximates, getIndexInInstruction, isAddress, isAddressConstant, isBlock, isBranch, isClassConstant, isConstant, isDefinitelyNull, isDouble, isDoubleConstant, isFloat, isFloatConstant, isInt, isIntConstant, isIntLike, isLocation, isLong, isLongConstant, isMemory, isMethod, isNullConstant, isObjectConstant, isRegister, isStackLocation, isStringConstant, isTIBConstant, isTrueGuard, isType, meetpublic ClassConstantOperand(Class<?> v, Offset i)
v - the class constanti - JTOC offset of the class constantpublic Operand copy()
Operandthis.copy in class ObjectConstantOperandthispublic TypeReference getType()
OperandTypeReference of the value represented by the operand.getType in class ObjectConstantOperandTypeReference.JavaLangClasspublic String toString()
toString in class ObjectConstantOperand