All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class espresso.classfile.classgen.IINC

java.lang.Object
   |
   +----espresso.classfile.classgen.Instruction
           |
           +----espresso.classfile.classgen.IINC

public class IINC
extends Instruction
IINC - Increment local variable by constant


Variable Index

 o c
 o n
 o wide

Constructor Index

 o IINC()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
 o IINC(int, int)

Method Index

 o dump(DataOutputStream)
Dump instruction as byte code to stream out.
 o initFromFile(ByteSequence, boolean)
Read needed data (e.g.
 o toString()

Variables

 o wide
 private boolean wide
 o n
 private int n
 o c
 private int c

Constructors

 o IINC
 IINC()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

 o IINC
 public IINC(int n,
             int c)

Methods

 o dump
 public void dump(DataOutputStream out) throws IOException
Dump instruction as byte code to stream out.

Parameters:
out - Output stream
Overrides:
dump in class Instruction
 o initFromFile
 protected void initFromFile(ByteSequence bytes,
                             boolean wide) throws IOException
Read needed data (e.g. index) from file.

Overrides:
initFromFile in class Instruction
 o toString
 public String toString()
Returns:
mnemonic for instruction
Overrides:
toString in class Instruction

All Packages  Class Hierarchy  This Package  Previous  Next  Index