net.sf.rej.java
Class LocalVariable

java.lang.Object
  extended by net.sf.rej.java.LocalVariable
All Implemented Interfaces:
DescriptorEnabled

public class LocalVariable
extends java.lang.Object
implements DescriptorEnabled

Local variable. An entity that binds a local variable to a scope and a name in the constant pool.

Author:
Sami Koivu

Constructor Summary
LocalVariable(ByteParser parser, ConstantPool pool)
           
 
Method Summary
 byte[] getData()
           
 Descriptor getDescriptor()
           
 int getDescriptorIndex()
           
 int getEndPc()
           
 int getIndex()
           
 java.util.List<Label> getLabels()
           
 java.lang.String getName()
           
 java.lang.String getSignatureLine()
           
 int getStartPc()
           
 boolean isInRange(int pc)
           
 void setDescriptorIndex(int index)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalVariable

public LocalVariable(ByteParser parser,
                     ConstantPool pool)
Method Detail

getData

public byte[] getData()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()

isInRange

public boolean isInRange(int pc)

getIndex

public int getIndex()

getDescriptorIndex

public int getDescriptorIndex()
Specified by:
getDescriptorIndex in interface DescriptorEnabled

setDescriptorIndex

public void setDescriptorIndex(int index)
Specified by:
setDescriptorIndex in interface DescriptorEnabled

getDescriptor

public Descriptor getDescriptor()

getStartPc

public int getStartPc()

getEndPc

public int getEndPc()

getLabels

public java.util.List<Label> getLabels()

getSignatureLine

public java.lang.String getSignatureLine()