|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.ir.operand.Operand org.jikesrvm.compilers.opt.ir.operand.ConstantOperand org.jikesrvm.compilers.opt.ir.operand.ObjectConstantOperand org.jikesrvm.compilers.opt.ir.operand.ClassConstantOperand
public final class ClassConstantOperand
Represents a constant class operand.
Operand
Field Summary |
---|
Fields inherited from class org.jikesrvm.compilers.opt.ir.operand.ObjectConstantOperand |
---|
offset, value |
Fields inherited from class org.jikesrvm.compilers.opt.ir.operand.Operand |
---|
instruction |
Constructor Summary | |
---|---|
ClassConstantOperand(Class<?> v,
Offset i)
Construct a new class constant operand |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jikesrvm.compilers.opt.ir.operand.ObjectConstantOperand |
---|
isMovableObjectConstant, isRef, similar |
Methods inherited from class org.jikesrvm.compilers.opt.ir.operand.Operand |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassConstantOperand(Class<?> v, Offset i)
v
- the class constanti
- JTOC offset of the class constantMethod Detail |
---|
public 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.JavaLangClass
public String toString()
toString
in class ObjectConstantOperand
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |