public final class StringConstantOperand extends ObjectConstantOperand
Operandoffset, valueinstruction| Constructor and Description |
|---|
StringConstantOperand(String v,
Offset i)
Construct a new string 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 StringConstantOperand(String v, Offset i)
v - the string constanti - JTOC offset of the string constantpublic Operand copy()
Operandthis.copy in class ObjectConstantOperandthispublic TypeReference getType()
OperandTypeReference of the value represented by the operand.getType in class ObjectConstantOperandTypeReference.JavaLangStringpublic String toString()
toString in class ObjectConstantOperand