Search in sources :

Example 1 with TypeInstruction

use of net.runelite.asm.attributes.code.instruction.types.TypeInstruction in project runelite by runelite.

the class CodeVisitor method visitTypeInsn.

@Override
public void visitTypeInsn(int opcode, String type) {
    TypeInstruction i = (TypeInstruction) createInstructionFromOpcode(opcode);
    Type t = Type.fromAsmString(type);
    i.setType(t);
}
Also used : InstructionType(net.runelite.asm.attributes.code.InstructionType) Type(net.runelite.asm.Type) TypeInstruction(net.runelite.asm.attributes.code.instruction.types.TypeInstruction)

Aggregations

Type (net.runelite.asm.Type)1 InstructionType (net.runelite.asm.attributes.code.InstructionType)1 TypeInstruction (net.runelite.asm.attributes.code.instruction.types.TypeInstruction)1