javar.attributes
Class LocalVariableTable

java.lang.Object
  |
  +--javar.attributes.Attribute
        |
        +--javar.attributes.LocalVariableTable

public class LocalVariableTable
extends Attribute

This class represents an attribute that is unknow to the system.

Author:
Ben Litchfield

Field Summary
 
Fields inherited from class javar.attributes.Attribute
nameIndex, pool
 
Constructor Summary
LocalVariableTable(ConstantPool p, long n)
          Constructor
 
Method Summary
 void load(DataInputStream in)
          This will load in the data for the attribute
 byte[] toBytes()
          This will take this attribute and convert it into an array of bytes that can be stored in a classfile.
 
Methods inherited from class javar.attributes.Attribute
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalVariableTable

public LocalVariableTable(ConstantPool p,
                          long n)
Constructor

Method Detail

toBytes

public byte[] toBytes()
This will take this attribute and convert it into an array of bytes that can be stored in a classfile.

Specified by:
toBytes in class Attribute
Returns:
array of bytes representing this attribute

load

public void load(DataInputStream in)
This will load in the data for the attribute

Specified by:
load in class Attribute