1 30 package org.objectweb.asm.tree; 31 32 import org.objectweb.asm.MethodVisitor; 33 import org.objectweb.asm.Label; 34 35 40 public class LocalVariableNode { 41 42 45 public String name; 46 47 50 public String desc; 51 52 55 public String signature; 56 57 61 public Label start; 62 63 67 public Label end; 68 69 72 public int index; 73 74 87 public LocalVariableNode( 88 final String name, 89 final String desc, 90 final String signature, 91 final Label start, 92 final Label end, 93 final int index) 94 { 95 this.name = name; 96 this.desc = desc; 97 this.signature = signature; 98 this.start = start; 99 this.end = end; 100 this.index = index; 101 } 102 103 108 public void accept(final MethodVisitor mv) { 109 mv.visitLocalVariable(name, desc, signature, start, end, index); 110 } 111 } 112 | Popular Tags |