invokevirtual 0xb6
调用「实例的方法」,函数的返回值位于栈顶。
Format
invokevirtual
indexbyte1
indexbyte2
Operand Stack
…, objectref, [arg1, [arg2 …]] →
…
invokespecial 0xb7
调用超类构造方法,实例初始化方法,私有方法
Format
invokespecial
indexbyte1
indexbyte2
Operand Stack
…, objectref, [arg1, [arg2 …]] →
…
invokestatic 0xb8
调用静态方法
Format
invokestatic
indexbyte1
indexbyte2
Operand Stack
…, [arg1, [arg2 …]] →
…
invokeinterface 0xb9
调用接口方法
Format
invokeinterface
indexbyte1
indexbyte2
count
0
Operand Stack
…, objectref, [arg1, [arg2 …]] →
…
invokedynamic 0xba