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

InvokeInstruction Class Reference

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

Public Methods

int consumeStack (ConstantPoolGen cpg)
Type[] getArgumentTypes (ConstantPoolGen cpg)
String getMethodName (ConstantPoolGen cpg)
Type getReturnType (ConstantPoolGen cpg)
Type getType (ConstantPoolGen cpg)
int produceStack (ConstantPoolGen cpg)
String toString (ConstantPool cp)
int consumeStack (ConstantPoolGen cpg)
Type[] getArgumentTypes (ConstantPoolGen cpg)
String getMethodName (ConstantPoolGen cpg)
Type getReturnType (ConstantPoolGen cpg)
Type getType (ConstantPoolGen cpg)
int produceStack (ConstantPoolGen cpg)
String toString (ConstantPool cp)

Public Attributes

String cname
String mname
String signature

Protected Methods

 InvokeInstruction (short tag, int index)
 InvokeInstruction (short tag, int index)
void init (InstructionHandle h, int o, MethodInfo m, ConstantPool cp)

Private Methods

 InvokeInstruction ()
 InvokeInstruction ()

Detailed Description

Super class for the INVOKExxx family of instructions.

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

Definition at line 13 of file lib/jpf/de/fub/bytecode/generic/InvokeInstruction.java.


Constructor & Destructor Documentation

InvokeInstruction::InvokeInstruction   [inline, private]
 

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

Definition at line 18 of file lib/jpf/de/fub/bytecode/generic/InvokeInstruction.java.

InvokeInstruction::InvokeInstruction short   tag,
int   index
[inline, protected]
 

Parameters:
index   to constant pool

Definition at line 22 of file lib/jpf/de/fub/bytecode/generic/InvokeInstruction.java.

InvokeInstruction::InvokeInstruction   [inline, private]
 

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

Definition at line 19 of file src/de/fub/bytecode/generic/InvokeInstruction.java.

InvokeInstruction::InvokeInstruction short   tag,
int   index
[inline, protected]
 

Parameters:
index   to constant pool

Definition at line 23 of file src/de/fub/bytecode/generic/InvokeInstruction.java.


Member Function Documentation

int InvokeInstruction::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.

Reimplemented in INVOKEINTERFACE, and INVOKEINTERFACE.

Definition at line 31 of file src/de/fub/bytecode/generic/InvokeInstruction.java.

int InvokeInstruction::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.

Reimplemented in INVOKEINTERFACE, and INVOKEINTERFACE.

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

Type [] InvokeInstruction::getArgumentTypes ConstantPoolGen   cpg [inline]
 

Returns:
argument types of referenced method.

Definition at line 49 of file src/de/fub/bytecode/generic/InvokeInstruction.java.

Type [] InvokeInstruction::getArgumentTypes ConstantPoolGen   cpg [inline]
 

Returns:
argument types of referenced method.

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

String InvokeInstruction::getMethodName ConstantPoolGen   cpg [inline]
 

Returns:
name of referenced method.

Definition at line 54 of file src/de/fub/bytecode/generic/InvokeInstruction.java.

String InvokeInstruction::getMethodName ConstantPoolGen   cpg [inline]
 

Returns:
name of referenced method.

Definition at line 53 of file lib/jpf/de/fub/bytecode/generic/InvokeInstruction.java.

Type InvokeInstruction::getReturnType ConstantPoolGen   cpg [inline]
 

Returns:
return type of referenced method.

Definition at line 59 of file src/de/fub/bytecode/generic/InvokeInstruction.java.

Type InvokeInstruction::getReturnType ConstantPoolGen   cpg [inline]
 

Returns:
return type of referenced method.

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

Type InvokeInstruction::getType ConstantPoolGen   cpg [inline]
 

Returns:
return type of referenced method.

Reimplemented from TypedInstruction.

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

Type InvokeInstruction::getType ConstantPoolGen   cpg [inline]
 

Returns:
return type of referenced method.

Reimplemented from TypedInstruction.

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

int InvokeInstruction::produceStack ConstantPoolGen   cpg [inline]
 

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

Returns:
Number of words produced onto stack by this instruction

Reimplemented from Instruction.

Definition at line 72 of file src/de/fub/bytecode/generic/InvokeInstruction.java.

int InvokeInstruction::produceStack ConstantPoolGen   cpg [inline]
 

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

Returns:
Number of words produced onto stack by this instruction

Reimplemented from Instruction.

Definition at line 71 of file lib/jpf/de/fub/bytecode/generic/InvokeInstruction.java.

String InvokeInstruction::toString ConstantPool   cp [inline]
 

Returns:
mnemonic for instruction with symbolic references resolved

Reimplemented from Instruction.

Reimplemented in INVOKEINTERFACE, and INVOKEINTERFACE.

Definition at line 78 of file src/de/fub/bytecode/generic/InvokeInstruction.java.

String InvokeInstruction::toString ConstantPool   cp [inline]
 

Returns:
mnemonic for instruction with symbolic references resolved

Reimplemented from Instruction.

Reimplemented in INVOKEINTERFACE, and INVOKEINTERFACE.

Definition at line 77 of file lib/jpf/de/fub/bytecode/generic/InvokeInstruction.java.


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