All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zving.framework.thirdparty.asm.tree.VarInsnNode Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy