Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

IINC Class Reference

Inheritance diagram for IINC:
[legend]
Collaboration diagram for IINC:
[legend]
List of all members.

Public Methods

 IINC (int n, int c)
void dump (DataOutputStream out) throws IOException
final int getIncrement ()
final int getIndex ()
final void setIncrement (int c)
final void setIndex (int n)
String toString (boolean verbose)
InstructionHandle execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i)
 IINC (int n, int c)
void accept (Visitor v)
void dump (DataOutputStream out) throws IOException
final int getIncrement ()
final int getIndex ()
final void setIncrement (int c)
final void setIndex (int n)
String toString (boolean verbose)
Instruction execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i, ConstantPool cp)

Protected Methods

void initFromFile (ByteSequence bytes, boolean wide) throws IOException
void initFromFile (ByteSequence bytes, boolean wide) throws IOException

Private Methods

 IINC ()
final void setWide ()
 IINC ()
final void setWide ()

Private Attributes

boolean wide
int n
int c
de fub bytecode generic IINC peer
int index
int increment

Detailed Description

IINC - Increment local variable by constant

Version:
Id:
IINC.java,v 1.1.1.1 2002/01/24 03:44:06 pserver Exp
Author:
M. Dahm

Definition at line 12 of file lib/jpf/de/fub/bytecode/generic/IINC.java.


Constructor & Destructor Documentation

IINC::IINC   [inline, private]
 

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

Definition at line 20 of file lib/jpf/de/fub/bytecode/generic/IINC.java.

IINC::IINC   [inline, private]
 

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

Definition at line 20 of file src/de/fub/bytecode/generic/IINC.java.


Member Function Documentation

void IINC::accept Visitor   v [inline, virtual]
 

Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.

Parameters:
v   Visitor object

Reimplemented from Instruction.

Definition at line 38 of file src/de/fub/bytecode/generic/IINC.java.

void IINC::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from Instruction.

Definition at line 45 of file src/de/fub/bytecode/generic/IINC.java.

void IINC::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from Instruction.

Definition at line 34 of file lib/jpf/de/fub/bytecode/generic/IINC.java.

final int IINC::getIncrement   [inline]
 

Returns:
increment factor

Definition at line 63 of file src/de/fub/bytecode/generic/IINC.java.

final int IINC::getIncrement   [inline]
 

Returns:
increment factor

Definition at line 52 of file lib/jpf/de/fub/bytecode/generic/IINC.java.

final int IINC::getIndex   [inline]
 

Returns:
index of local variable referred by this instruction.

Reimplemented from IndexedInstruction.

Definition at line 67 of file src/de/fub/bytecode/generic/IINC.java.

final int IINC::getIndex   [inline]
 

Returns:
index of local variable referred by this instruction.

Reimplemented from IndexedInstruction.

Definition at line 56 of file lib/jpf/de/fub/bytecode/generic/IINC.java.

void IINC::initFromFile ByteSequence   bytes,
boolean   wide
[inline, protected]
 

Read needed data (e.g. index) from file.

Reimplemented from Instruction.

Definition at line 71 of file src/de/fub/bytecode/generic/IINC.java.

void IINC::initFromFile ByteSequence   bytes,
boolean   wide
[inline, protected]
 

Read needed data (e.g. index) from file.

Reimplemented from Instruction.

Definition at line 60 of file lib/jpf/de/fub/bytecode/generic/IINC.java.

final void IINC::setIncrement int   c [inline]
 

Set increment factor.

Definition at line 89 of file src/de/fub/bytecode/generic/IINC.java.

final void IINC::setIncrement int   c [inline]
 

Set increment factor.

Definition at line 78 of file lib/jpf/de/fub/bytecode/generic/IINC.java.

final void IINC::setIndex int   n [inline]
 

Set index of local variable.

Reimplemented from IndexedInstruction.

Definition at line 96 of file src/de/fub/bytecode/generic/IINC.java.

final void IINC::setIndex int   n [inline]
 

Set index of local variable.

Reimplemented from IndexedInstruction.

Definition at line 85 of file lib/jpf/de/fub/bytecode/generic/IINC.java.

String IINC::toString boolean   verbose [inline]
 

Returns:
mnemonic for instruction

Reimplemented from Instruction.

Definition at line 112 of file src/de/fub/bytecode/generic/IINC.java.

String IINC::toString boolean   verbose [inline]
 

Returns:
mnemonic for instruction

Reimplemented from Instruction.

Definition at line 101 of file lib/jpf/de/fub/bytecode/generic/IINC.java.


The documentation for this class was generated from the following files:
Generated at Thu Feb 7 07:13:28 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001