Search in sources :

Example 1 with MultiANewArray

use of net.runelite.asm.attributes.code.instructions.MultiANewArray in project runelite by runelite.

the class CodeVisitor method visitMultiANewArrayInsn.

@Override
public void visitMultiANewArrayInsn(String desc, int dims) {
    MultiANewArray m = new MultiANewArray(code.getInstructions(), InstructionType.MULTIANEWARRAY);
    m.setArrayType(new Type(desc));
    m.setDimensions(dims);
    code.getInstructions().addInstruction(m);
}
Also used : InstructionType(net.runelite.asm.attributes.code.InstructionType) Type(net.runelite.asm.Type) MultiANewArray(net.runelite.asm.attributes.code.instructions.MultiANewArray)

Aggregations

Type (net.runelite.asm.Type)1 InstructionType (net.runelite.asm.attributes.code.InstructionType)1 MultiANewArray (net.runelite.asm.attributes.code.instructions.MultiANewArray)1