com.claritysys.jvm.classfile
Class LocalVariable

java.lang.Object
  extended by com.claritysys.jvm.classfile.LocalVariable

public class LocalVariable
extends java.lang.Object

Models an entry in the local variable table of a AttrCode.


Constructor Summary
LocalVariable(CfMethod method, int startPc, int length, CpUtf8 name, CpUtf8 descriptor, int index)
          Create a new local variable.
 
Method Summary
 CpUtf8 getDescriptor()
           
 int getIndex()
           
 int getLength()
           
 CfMethod getMethod()
           
 CpUtf8 getName()
           
 LocalVariable getNext()
           
 int getStartPc()
           
 int getType()
           
 void setDescriptor(CpUtf8 descriptor)
           
 void setIndex(int index)
           
 void setLength(int length)
           
 void setName(CpUtf8 name)
           
 void setNext(LocalVariable next)
           
 void setStartPc(int startPc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalVariable

public LocalVariable(CfMethod method,
                     int startPc,
                     int length,
                     CpUtf8 name,
                     CpUtf8 descriptor,
                     int index)
Create a new local variable.

Method Detail

getStartPc

public int getStartPc()

getLength

public int getLength()

getName

public CpUtf8 getName()

getDescriptor

public CpUtf8 getDescriptor()

getIndex

public int getIndex()

getNext

public LocalVariable getNext()

setNext

public void setNext(LocalVariable next)

getType

public int getType()

getMethod

public CfMethod getMethod()

setStartPc

public void setStartPc(int startPc)

setLength

public void setLength(int length)

setIndex

public void setIndex(int index)

setDescriptor

public void setDescriptor(CpUtf8 descriptor)

setName

public void setName(CpUtf8 name)


Copyright ? 2000-2003 Clarity Systems Group, LLC. All Rights Reserved.