com.github.rapidark.framework.thirdparty.asm.tree.IntInsnNode Maven / Gradle / Ivy
The newest version!
package com.github.rapidark.framework.thirdparty.asm.tree;
import java.util.Map;
import com.github.rapidark.framework.thirdparty.asm.MethodVisitor;
public class IntInsnNode extends AbstractInsnNode {
public int operand;
public IntInsnNode(int opcode, int operand) {
super(opcode);
this.operand = operand;
}
public void setOpcode(int opcode) {
this.opcode = opcode;
}
public int getType() {
return 1;
}
public void accept(MethodVisitor mv) {
mv.visitIntInsn(this.opcode, this.operand);
}
public AbstractInsnNode clone(Map labels) {
return new IntInsnNode(this.opcode, this.operand);
}
}