com.zving.framework.thirdparty.asm.tree.VarInsnNode Maven / Gradle / Ivy
package com.zving.framework.thirdparty.asm.tree;
import com.zving.framework.thirdparty.asm.MethodVisitor;
import java.util.Map;
public class VarInsnNode extends AbstractInsnNode {
public int var;
public VarInsnNode(int opcode, int var) {
super(opcode);
this.var = var;
}
public void setOpcode(int opcode) {
this.opcode = opcode;
}
public int getType() {
return 2;
}
public void accept(MethodVisitor mv) {
mv.visitVarInsn(this.opcode, this.var);
}
public AbstractInsnNode clone(Map labels) {
return new VarInsnNode(this.opcode, this.var);
}
}