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

com.zving.framework.thirdparty.asm.tree.MethodInsnNode 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 MethodInsnNode
  extends AbstractInsnNode
{
  public String owner;
  public String name;
  public String desc;
  
  public MethodInsnNode(int opcode, String owner, String name, String desc)
  {
    super(opcode);
    this.owner = owner;
    this.name = name;
    this.desc = desc;
  }
  
  public void setOpcode(int opcode)
  {
    this.opcode = opcode;
  }
  
  public int getType()
  {
    return 5;
  }
  
  public void accept(MethodVisitor mv)
  {
    mv.visitMethodInsn(this.opcode, this.owner, this.name, this.desc);
  }
  
  public AbstractInsnNode clone(Map labels)
  {
    return new MethodInsnNode(this.opcode, this.owner, this.name, this.desc);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy