![JAR search and dependency download from the Maven repository](/logo.png)
com.github.rapidark.framework.thirdparty.asm.tree.VarInsnNode 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 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy