scale.jcr
Class LocalVariableTableAttribute

java.lang.Object
  extended by scale.jcr.AttributeInfo
      extended by scale.jcr.LocalVariableTableAttribute

public class LocalVariableTableAttribute
extends AttributeInfo

This class is used to both represent a Java class file local variable table and to read that class file local variable table.

$Id: LocalVariableTableAttribute.java,v 1.10 2007-10-04 19:58:16 burrill Exp $

Copyright 2007 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Constructor Summary
LocalVariableTableAttribute(int nameIndex, LocalVariableEntry[] localVariableTable)
           
 
Method Summary
 LocalVariableEntry getLocalVariableEntry(int i)
           
 int getLocalVariableTablelength()
           
static LocalVariableTableAttribute read(ClassFile cf, java.io.DataInputStream reader, int nameIndex)
           
 
Methods inherited from class scale.jcr.AttributeInfo
getNameIndex, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalVariableTableAttribute

public LocalVariableTableAttribute(int nameIndex,
                                   LocalVariableEntry[] localVariableTable)
Method Detail

getLocalVariableTablelength

public int getLocalVariableTablelength()

getLocalVariableEntry

public LocalVariableEntry getLocalVariableEntry(int i)

read

public static LocalVariableTableAttribute read(ClassFile cf,
                                               java.io.DataInputStream reader,
                                               int nameIndex)
                                        throws java.io.IOException
Throws:
java.io.IOException