Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class DE.fub.inf.JVM.ClassGen.INVOKEINTERFACE

java.lang.Object
  |
  +--DE.fub.inf.JVM.ClassGen.Instruction
        |
        +--DE.fub.inf.JVM.ClassGen.CPInstruction
              |
              +--DE.fub.inf.JVM.ClassGen.InvokeInstruction
                    |
                    +--DE.fub.inf.JVM.ClassGen.INVOKEINTERFACE

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

Version:
$Id: INVOKEINTERFACE.java,v 1.3 1998/08/14 16:56:13 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class DE.fub.inf.JVM.ClassGen.CPInstruction
index
 
Fields inherited from class DE.fub.inf.JVM.ClassGen.Instruction
length, position, tag
 
Constructor Summary
INVOKEINTERFACE(int index, int nargs)
           
 
Method Summary
void dump(java.io.DataOutputStream out)
          Dump instruction as byte code to stream out.
int getNoArguments()
           
void initFromFile(ByteSequence bytes, boolean wide)
          Read needed data (i.e. index) from file.
java.lang.String toString(ConstantPool cp)
           
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.InvokeInstruction
toString
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.CPInstruction
dump, getIndex, initFromFile, setIndex, toString, toString
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.Instruction
consumeStack, dump, getInstructionList, getLength, getPosition, getTag, initFromFile, produceStack, readInstruction, setPosition, toString, toString, toString, updatePosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

INVOKEINTERFACE

public INVOKEINTERFACE(int index,
                       int nargs)
Method Detail

dump

public void dump(java.io.DataOutputStream out)
         throws java.io.IOException
Dump instruction as byte code to stream out.
Parameters:
out - Output stream
Overrides:
dump in class CPInstruction

getNoArguments

public int getNoArguments()

initFromFile

protected void initFromFile(ByteSequence bytes,
                            boolean wide)
                    throws java.io.IOException
Read needed data (i.e. index) from file.
Overrides:
initFromFile in class CPInstruction

toString

public java.lang.String toString(ConstantPool cp)
Returns:
mnemonic for instruction with sumbolic references resolved
Overrides:
toString in class InvokeInstruction

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD