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
-
INVOKEINTERFACE(int, int)
-
-
consumeStack(ConstantPoolGen)
- Also works for instructions whose stack effect depends on the
constant pool entry they reference.
-
dump(DataOutputStream)
- Dump instruction as byte code to stream out.
-
getExceptions()
-
-
getNoArguments()
-
-
initFromFile(ByteSequence, boolean)
- Read needed data (i.e.
-
toString(ConstantPool)
-
INVOKEINTERFACE
public INVOKEINTERFACE(int index,
int nargs)
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
getNoArguments
public int getNoArguments()
initFromFile
protected void initFromFile(ByteSequence bytes,
boolean wide) throws IOException
- Read needed data (i.e. index) from file.
- Overrides:
- initFromFile in class CPInstruction
toString
public String toString(ConstantPool cp)
- Returns:
- mnemonic for instruction with symbolic references resolved
- Overrides:
- toString in class InvokeInstruction
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
getExceptions
public Class[] getExceptions()
- Overrides:
- getExceptions in class InvokeInstruction
All Packages Class Hierarchy This Package Previous Next Index