1 package serp.bytecode;
2
3 import serp.bytecode.visitor.*;
4
5 /***
6 * A local variable type contains the name, signature, index and scope
7 * of a generics-using local used in opcodes.
8 *
9 * @author Abe White
10 */
11 public class LocalVariableType extends Local {
12 LocalVariableType(LocalVariableTypeTable owner) {
13 super(owner);
14 }
15
16 /***
17 * The owning table.
18 */
19 public LocalVariableTypeTable getLocalVariableTypeTable() {
20 return (LocalVariableTypeTable) getTable();
21 }
22
23 public void acceptVisit(BCVisitor visit) {
24 visit.enterLocalVariableType(this);
25 visit.exitLocalVariableType(this);
26 }
27 }