|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.PushLiteralInstruction.ByteOperand
| Field Summary | |
private byte |
value
|
| Constructor Summary | |
(package private) |
PushLiteralInstruction.ByteOperand(byte value)
|
| Method Summary | |
int |
getSize()
Returns the number of bytes used by the the operand in the code array. |
void |
resolveConstants(ConstantPool cp)
Insert or check location of constant value on constant pool |
void |
write(ConstantPool cp,
java.io.DataOutput out)
Write this class into the the file (out) getting data position from the constant pool |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final byte value
| Constructor Detail |
PushLiteralInstruction.ByteOperand(byte value)
| Method Detail |
public void resolveConstants(ConstantPool cp)
PushLiteralInstruction.Operand
resolveConstants in interface PushLiteralInstruction.Operandcp - the constant pool for this classpublic int getSize()
PushLiteralInstruction.Operand
getSize in interface PushLiteralInstruction.Operand
public void write(ConstantPool cp,
java.io.DataOutput out)
throws java.io.IOException
PushLiteralInstruction.Operand
write in interface PushLiteralInstruction.Operandcp - the constant pool that contain all dataout - the file where to write this object info
java.io.IOException - an io problem has occured
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||