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

com.github.rapidark.framework.thirdparty.asm.tree.JumpInsnNode 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 JumpInsnNode extends AbstractInsnNode {
	public LabelNode label;

	public JumpInsnNode(int opcode, LabelNode label) {
		super(opcode);
		this.label = label;
	}

	public void setOpcode(int opcode) {
		this.opcode = opcode;
	}

	public int getType() {
		return 7;
	}

	public void accept(MethodVisitor mv) {
		mv.visitJumpInsn(this.opcode, this.label.getLabel());
	}

	public AbstractInsnNode clone(Map labels) {
		return new JumpInsnNode(this.opcode, clone(this.label, labels));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy