JML

org.multijava.util.classfile
Interface PushLiteralInstruction.Operand

All Known Implementing Classes:
PushLiteralInstruction.ByteOperand, PushLiteralInstruction.ConstantOperand, PushLiteralInstruction.ShortOperand
Enclosing interface:
PushLiteralInstruction

static interface PushLiteralInstruction.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, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
 

Method Detail

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,
                  DataOutput out)
                    throws 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:
IOException - an io problem has occured

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.