at.dms.classfile
Interface PushLiteralInstruction.Operand
- Enclosing class:
- PushLiteralInstruction
- static interface PushLiteralInstruction.Operand
An operand.
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. |
resolveConstants
public void resolveConstants(ConstantPool cp)
- Insert or check location of constant value on constant pool.
- Parameters:
cp
- The constant pool for this class.
getSize
public int getSize()
- Returns the number of bytes used by the the operand in the code
array.
write
public void write(ConstantPool cp,
java.io.DataOutput out)
throws java.io.IOException
- Write this class into the the file (out) getting data position from
the constant pool.
- Parameters:
cp
- The constant pool that contain all data.out
- The file where to write this object info.- Throws:
java.io.IOException
- An io problem has occured.