All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class de.fub.bytecode.generic.INVOKEINTERFACE

java.lang.Object
   |
   +----de.fub.bytecode.generic.Instruction
           |
           +----de.fub.bytecode.generic.CPInstruction
                   |
                   +----de.fub.bytecode.generic.FieldOrMethod
                           |
                           +----de.fub.bytecode.generic.InvokeInstruction
                                   |
                                   +----de.fub.bytecode.generic.INVOKEINTERFACE

public final class INVOKEINTERFACE
extends InvokeInstruction
INVOKEINTERFACE - Invoke interface method
Stack: ..., objectref, [arg1, [arg2 ...]] -> ...

Version:
$Id: INVOKEINTERFACE.java,v 1.8 1999/09/22 13:00:06 dahm Exp $
Author:
M. Dahm

Constructor Index

 o INVOKEINTERFACE(int, int)

Method Index

 o consumeStack(ConstantPoolGen)
Also works for instructions whose stack effect depends on the constant pool entry they reference.
 o dump(DataOutputStream)
Dump instruction as byte code to stream out.
 o getExceptions()
 o getNoArguments()
 o initFromFile(ByteSequence, boolean)
Read needed data (i.e.
 o toString(ConstantPool)

Constructors

 o INVOKEINTERFACE
 public INVOKEINTERFACE(int index,
                        int nargs)

Methods

 o dump
 public void dump(DataOutputStream out) throws IOException
Dump instruction as byte code to stream out.

Parameters:
out - Output stream
Overrides:
dump in class CPInstruction
 o getNoArguments
 public int getNoArguments()
 o initFromFile
 protected void initFromFile(ByteSequence bytes,
                             boolean wide) throws IOException
Read needed data (i.e. index) from file.

Overrides:
initFromFile in class CPInstruction
 o toString
 public String toString(ConstantPool cp)
Returns:
mnemonic for instruction with symbolic references resolved
Overrides:
toString in class InvokeInstruction
 o consumeStack
 public int consumeStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the constant pool entry they reference.

Overrides:
consumeStack in class InvokeInstruction
 o getExceptions
 public Class[] getExceptions()
Overrides:
getExceptions in class InvokeInstruction

All Packages  Class Hierarchy  This Package  Previous  Next  Index