001 package serp.bytecode;
002
003 import serp.bytecode.visitor.*;
004
005 /**
006 * A local variable type contains the name, signature, index and scope
007 * of a generics-using local used in opcodes.
008 *
009 * @author Abe White
010 */
011 public class LocalVariableType extends Local {
012 LocalVariableType(LocalVariableTypeTable owner) {
013 super(owner);
014 }
015
016 /**
017 * The owning table.
018 */
019 public LocalVariableTypeTable getLocalVariableTypeTable() {
020 return (LocalVariableTypeTable) getTable();
021 }
022
023 public void acceptVisit(BCVisitor visit) {
024 visit.enterLocalVariableType(this);
025 visit.exitLocalVariableType(this);
026 }
027 }