summaryrefslogtreecommitdiffstats
path: root/src/org/jetbrains/java/decompiler/code/instructions/INVOKEINTERFACE.java
blob: bd1ce37a51fe69b674a00c80d82f6e70a3279c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.jetbrains.java.decompiler.code.instructions;

import java.io.DataOutputStream;
import java.io.IOException;

import org.jetbrains.java.decompiler.code.Instruction;

public class INVOKEINTERFACE extends Instruction {

	public void writeToStream(DataOutputStream out, int offset) throws IOException {
		out.writeByte(opc_invokeinterface);
		out.writeShort(getOperand(0));
		out.writeByte(getOperand(1));
		out.writeByte(0);
	}
	
	public int length() {
		return 5;
	}
	
}