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

LDC Class Reference

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

Public Methods

 LDC (int index)
void dump (DataOutputStream out) throws IOException
Class[] getExceptions ()
Type getType (ConstantPoolGen cpg)
final void setIndex (int index)
InstructionHandle execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i)
 LDC (int index)
void accept (Visitor v)
void dump (DataOutputStream out) throws IOException
Class[] getExceptions ()
Type getType (ConstantPoolGen cpg)
Object getValue (ConstantPoolGen cpg)
final void setIndex (int index)
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
final void setSize ()
void initFromFile (ByteSequence bytes, boolean wide) throws IOException
final void setSize ()

Private Methods

 LDC ()
 LDC ()

Private Attributes

de fub bytecode generic LDC peer
String string
int value
boolean isString

Detailed Description

LDC - Push item from constant pool

Stack: ... -> ..., item.word1, item.word2

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

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


Constructor & Destructor Documentation

LDC::LDC   [inline, private]
 

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

Definition at line 19 of file lib/jpf/de/fub/bytecode/generic/LDC.java.

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


Member Function Documentation

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

void LDC::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from CPInstruction.

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

void LDC::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from CPInstruction.

Definition at line 28 of file lib/jpf/de/fub/bytecode/generic/LDC.java.

Type LDC::getType ConstantPoolGen   cpg [inline]
 

Returns:
type related with this instruction.

Reimplemented from CPInstruction.

Definition at line 56 of file src/de/fub/bytecode/generic/LDC.java.

Type LDC::getType ConstantPoolGen   cpg [inline]
 

Returns:
type related with this instruction.

Reimplemented from CPInstruction.

Definition at line 37 of file lib/jpf/de/fub/bytecode/generic/LDC.java.

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

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

Reimplemented from CPInstruction.

Reimplemented in LDC_W, and LDC_W.

Definition at line 87 of file src/de/fub/bytecode/generic/LDC.java.

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

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

Reimplemented from CPInstruction.

Reimplemented in LDC_W, and LDC_W.

Definition at line 49 of file lib/jpf/de/fub/bytecode/generic/LDC.java.

final void LDC::setIndex int   index [inline]
 

Set the index to constant pool and adjust size.

Reimplemented from CPInstruction.

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

final void LDC::setIndex int   index [inline]
 

Set the index to constant pool and adjust size.

Reimplemented from CPInstruction.

Definition at line 58 of file lib/jpf/de/fub/bytecode/generic/LDC.java.

Referenced by LDC_W::initFromFile().


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