com.github.rapidark.framework.thirdparty.asm.tree.LocalVariableNode Maven / Gradle / Ivy
The newest version!
package com.github.rapidark.framework.thirdparty.asm.tree;
import com.github.rapidark.framework.thirdparty.asm.MethodVisitor;
public class LocalVariableNode {
public String name;
public String desc;
public String signature;
public LabelNode start;
public LabelNode end;
public int index;
public LocalVariableNode(String name, String desc, String signature, LabelNode start, LabelNode end, int index) {
this.name = name;
this.desc = desc;
this.signature = signature;
this.start = start;
this.end = end;
this.index = index;
}
public void accept(MethodVisitor mv) {
mv.visitLocalVariable(this.name, this.desc, this.signature, this.start.getLabel(), this.end.getLabel(), this.index);
}
}