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

MULTIANEWARRAY Class Reference

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

Public Methods

 MULTIANEWARRAY (int index, short dimensions)
int consumeStack (ConstantPoolGen cpg)
void dump (DataOutputStream out) throws IOException
final short getDimensions ()
Class[] getExceptions ()
String toString (ConstantPool cp)
String toString (boolean verbose)
InstructionHandle execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i)
 MULTIANEWARRAY (int index, short dimensions)
void accept (Visitor v)
int consumeStack (ConstantPoolGen cpg)
void dump (DataOutputStream out) throws IOException
final short getDimensions ()
Class[] getExceptions ()
String toString (ConstantPool cp)
String toString (boolean verbose)
int allocateArray (String type, int[] dim, ThreadInfo th, int d)
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

 MULTIANEWARRAY ()
 MULTIANEWARRAY ()

Private Attributes

short dimensions
de fub bytecode generic MULTIANEWARRAY peer
String type
int dimensions

Detailed Description

MULTIANEWARRAY - Create new mutidimensional array of references
Stack: ..., count1, [count2, ...] -> ..., arrayref

Version:
Id:
MULTIANEWARRAY.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/MULTIANEWARRAY.java.


Constructor & Destructor Documentation

MULTIANEWARRAY::MULTIANEWARRAY   [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/MULTIANEWARRAY.java.

MULTIANEWARRAY::MULTIANEWARRAY   [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/MULTIANEWARRAY.java.


Member Function Documentation

void MULTIANEWARRAY::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 40 of file src/de/fub/bytecode/generic/MULTIANEWARRAY.java.

int MULTIANEWARRAY::consumeStack ConstantPoolGen   cpg [inline]
 

Also works for instructions whose stack effect depends on the constant pool entry they reference.

Returns:
Number of words consumed from stack by this instruction

Reimplemented from Instruction.

Definition at line 53 of file src/de/fub/bytecode/generic/MULTIANEWARRAY.java.

int MULTIANEWARRAY::consumeStack ConstantPoolGen   cpg [inline]
 

Also works for instructions whose stack effect depends on the constant pool entry they reference.

Returns:
Number of words consumed from stack by this instruction

Reimplemented from Instruction.

Definition at line 36 of file lib/jpf/de/fub/bytecode/generic/MULTIANEWARRAY.java.

void MULTIANEWARRAY::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from CPInstruction.

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

void MULTIANEWARRAY::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from CPInstruction.

Definition at line 42 of file lib/jpf/de/fub/bytecode/generic/MULTIANEWARRAY.java.

final short MULTIANEWARRAY::getDimensions   [inline]
 

Returns:
number of dimensions to be created

Definition at line 66 of file src/de/fub/bytecode/generic/MULTIANEWARRAY.java.

final short MULTIANEWARRAY::getDimensions   [inline]
 

Returns:
number of dimensions to be created

Definition at line 50 of file lib/jpf/de/fub/bytecode/generic/MULTIANEWARRAY.java.

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

Read needed data (i.e., no. dimension) from file.

Reimplemented from CPInstruction.

Definition at line 81 of file src/de/fub/bytecode/generic/MULTIANEWARRAY.java.

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

Read needed data (i.e. no. dimension) from file.

Reimplemented from CPInstruction.

Definition at line 63 of file lib/jpf/de/fub/bytecode/generic/MULTIANEWARRAY.java.

String MULTIANEWARRAY::toString boolean   verbose [inline]
 

Returns:
mnemonic for instruction

Reimplemented from CPInstruction.

Definition at line 97 of file src/de/fub/bytecode/generic/MULTIANEWARRAY.java.

String MULTIANEWARRAY::toString ConstantPool   cp [inline]
 

Returns:
mnemonic for instruction with symbolic references resolved

Reimplemented from CPInstruction.

Definition at line 91 of file src/de/fub/bytecode/generic/MULTIANEWARRAY.java.

String MULTIANEWARRAY::toString boolean   verbose [inline]
 

Returns:
mnemonic for instruction

Reimplemented from CPInstruction.

Definition at line 79 of file lib/jpf/de/fub/bytecode/generic/MULTIANEWARRAY.java.

String MULTIANEWARRAY::toString ConstantPool   cp [inline]
 

Returns:
mnemonic for instruction with symbolic references resolved

Reimplemented from CPInstruction.

Definition at line 73 of file lib/jpf/de/fub/bytecode/generic/MULTIANEWARRAY.java.


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