de.fub.bytecode.generic
Class 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
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
INVOKEINTERFACE
public INVOKEINTERFACE(int index,
int nargs)
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 symbolic references resolved
- Overrides:
- toString in class InvokeInstruction
consumeStack
public int consumeStack(ConstantPoolGen cpg)
- Overrides:
- consumeStack in class InvokeInstruction
getExceptions
public java.lang.Class[] getExceptions()