invokeinterface


Description: calls an interface method
n is the number of arguments to the method
the long method name is really a path name, the name of the interface,
the parenthesized argument list of the method called, and the return type.
Primitive types are represented by their capitalized first letter, ie I for an integer.
Constructors are path followed by <init>()V

Stack

Before After
arg n returned value
...       
arg 1       
object reference       

Example

Jasm-------------------

invoke java/lang/Runnable/run()V      ; runnableOject.run()

Exceptions

NullPointerException if object ref is null
StackOverflowError if you run ou t of room on stack

Back to
Opcodes indexed by function.
Opcodes indexed by number.


back to opcode reference.