diff options
Diffstat (limited to 'src/de/fernflower/code/optinstructions/INVOKEDYNAMIC.java')
-rw-r--r-- | src/de/fernflower/code/optinstructions/INVOKEDYNAMIC.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/de/fernflower/code/optinstructions/INVOKEDYNAMIC.java b/src/de/fernflower/code/optinstructions/INVOKEDYNAMIC.java new file mode 100644 index 0000000..488e1a6 --- /dev/null +++ b/src/de/fernflower/code/optinstructions/INVOKEDYNAMIC.java @@ -0,0 +1,20 @@ +package de.fernflower.code.optinstructions; + +import java.io.DataOutputStream; +import java.io.IOException; + +import de.fernflower.code.Instruction; + +public class INVOKEDYNAMIC extends Instruction { + + public void writeToStream(DataOutputStream out, int offset) throws IOException { + out.writeByte(opc_invokedynamic); + out.writeShort(getOperand(0)); + out.writeByte(0); + out.writeByte(0); + } + + public int length() { + return 5; + } +} |