public final class StringConstantOperand extends ObjectConstantOperand
Operand
offset, value
instruction
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, similar
asAddressConstant, 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, meet
public StringConstantOperand(String v, Offset i)
v
- the string constanti
- JTOC offset of the string constantpublic Operand copy()
Operand
this
.copy
in class ObjectConstantOperand
this
public TypeReference getType()
Operand
TypeReference
of the value represented by the operand.getType
in class ObjectConstantOperand
TypeReference.JavaLangString
public String toString()
toString
in class ObjectConstantOperand