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

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

package com.zving.framework.thirdparty.asm.tree;

import com.zving.framework.thirdparty.asm.MethodVisitor;
import java.util.Map;

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