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

NEWARRAY Class Reference

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

Public Methods

 NEWARRAY (byte type)
void dump (DataOutputStream out) throws IOException
Class[] getExceptions ()
final Type getType ()
final byte getTypecode ()
String toString (boolean verbose)
InstructionHandle execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i)
 NEWARRAY (byte type)
 NEWARRAY (BasicType type)
void accept (Visitor v)
void dump (DataOutputStream out) throws IOException
Class[] getExceptions ()
final Type getType ()
final byte getTypecode ()
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

 NEWARRAY ()
 NEWARRAY ()

Private Attributes

byte type
de fub bytecode generic NEWARRAY peer
String type

Detailed Description

NEWARRAY - Create new array of basic type (int, short, ...)
Stack: ..., count -> ..., arrayref
type mus be one of T_INT, T_SHORT, ...

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

Definition at line 14 of file lib/jpf/de/fub/bytecode/generic/NEWARRAY.java.


Constructor & Destructor Documentation

NEWARRAY::NEWARRAY   [inline, private]
 

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

Definition at line 21 of file lib/jpf/de/fub/bytecode/generic/NEWARRAY.java.

NEWARRAY::NEWARRAY   [inline, private]
 

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

Definition at line 22 of file src/de/fub/bytecode/generic/NEWARRAY.java.


Member Function Documentation

void NEWARRAY::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/NEWARRAY.java.

void NEWARRAY::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from Instruction.

Definition at line 48 of file src/de/fub/bytecode/generic/NEWARRAY.java.

void NEWARRAY::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from Instruction.

Definition at line 30 of file lib/jpf/de/fub/bytecode/generic/NEWARRAY.java.

final Type NEWARRAY::getType   [inline]
 

Returns:
type of constructed array

Definition at line 58 of file src/de/fub/bytecode/generic/NEWARRAY.java.

final Type NEWARRAY::getType   [inline]
 

Returns:
type of constructed array

Definition at line 38 of file lib/jpf/de/fub/bytecode/generic/NEWARRAY.java.

final byte NEWARRAY::getTypecode   [inline]
 

Returns:
numeric code for basic element type

Definition at line 64 of file src/de/fub/bytecode/generic/NEWARRAY.java.

final byte NEWARRAY::getTypecode   [inline]
 

Returns:
numeric code for basic element type

Definition at line 44 of file lib/jpf/de/fub/bytecode/generic/NEWARRAY.java.

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

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

Reimplemented from Instruction.

Definition at line 68 of file src/de/fub/bytecode/generic/NEWARRAY.java.

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

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

Reimplemented from Instruction.

Definition at line 48 of file lib/jpf/de/fub/bytecode/generic/NEWARRAY.java.

String NEWARRAY::toString boolean   verbose [inline]
 

Returns:
mnemonic for instruction

Reimplemented from Instruction.

Definition at line 76 of file src/de/fub/bytecode/generic/NEWARRAY.java.

String NEWARRAY::toString boolean   verbose [inline]
 

Returns:
mnemonic for instruction

Reimplemented from Instruction.

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


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