org.aspectj.org.eclipse.jdt.internal.core.util
Class LocalVariableTableEntry

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.aspectj.org.eclipse.jdt.internal.core.util.LocalVariableTableEntry
All Implemented Interfaces:
ILocalVariableTableEntry

public class LocalVariableTableEntry
extends ClassFileStruct
implements ILocalVariableTableEntry

Default implementation of ILocalVariableTableEntry


Constructor Summary
LocalVariableTableEntry(byte[] classFileBytes, IConstantPool constantPool, int offset)
          Constructor for LocalVariableTableEntry.
 
Method Summary
 char[] getDescriptor()
          Answer back the descriptor of this entry as specified in the JVM specifications.
 int getDescriptorIndex()
          Answer back the descriptor index in the constant pool of this entry as specified in the JVM specifications.
 int getIndex()
          Answer back the index of this entry as specified in the JVM specifications.
 int getLength()
          Answer back the length of this entry as specified in the JVM specifications.
 char[] getName()
          Answer back the name of this entry as specified in the JVM specifications.
 int getNameIndex()
          Answer back the name index in the constant pool of this entry as specified in the JVM specifications.
 int getStartPC()
          Answer back the start pc of this entry as specified in the JVM specifications.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalVariableTableEntry

public LocalVariableTableEntry(byte[] classFileBytes,
                               IConstantPool constantPool,
                               int offset)
                        throws ClassFormatException
Constructor for LocalVariableTableEntry.

Parameters:
classFileBytes -
constantPool -
offset -
Throws:
ClassFormatException
Method Detail

getStartPC

public int getStartPC()
Description copied from interface: ILocalVariableTableEntry
Answer back the start pc of this entry as specified in the JVM specifications.

Specified by:
getStartPC in interface ILocalVariableTableEntry
Returns:
the start pc of this entry as specified in the JVM specifications
See Also:
ILocalVariableTableEntry.getStartPC()

getLength

public int getLength()
Description copied from interface: ILocalVariableTableEntry
Answer back the length of this entry as specified in the JVM specifications.

Specified by:
getLength in interface ILocalVariableTableEntry
Returns:
the length of this entry as specified in the JVM specifications
See Also:
ILocalVariableTableEntry.getLength()

getNameIndex

public int getNameIndex()
Description copied from interface: ILocalVariableTableEntry
Answer back the name index in the constant pool of this entry as specified in the JVM specifications.

Specified by:
getNameIndex in interface ILocalVariableTableEntry
Returns:
the name index in the constant pool of this entry as specified in the JVM specifications
See Also:
ILocalVariableTableEntry.getNameIndex()

getDescriptorIndex

public int getDescriptorIndex()
Description copied from interface: ILocalVariableTableEntry
Answer back the descriptor index in the constant pool of this entry as specified in the JVM specifications.

Specified by:
getDescriptorIndex in interface ILocalVariableTableEntry
Returns:
the descriptor index in the constant pool of this entry as specified in the JVM specifications
See Also:
ILocalVariableTableEntry.getDescriptorIndex()

getIndex

public int getIndex()
Description copied from interface: ILocalVariableTableEntry
Answer back the index of this entry as specified in the JVM specifications.

Specified by:
getIndex in interface ILocalVariableTableEntry
Returns:
the index of this entry as specified in the JVM specifications
See Also:
ILocalVariableTableEntry.getIndex()

getName

public char[] getName()
Description copied from interface: ILocalVariableTableEntry
Answer back the name of this entry as specified in the JVM specifications.

Specified by:
getName in interface ILocalVariableTableEntry
Returns:
the name of this entry as specified in the JVM specifications
See Also:
ILocalVariableTableEntry.getName()

getDescriptor

public char[] getDescriptor()
Description copied from interface: ILocalVariableTableEntry
Answer back the descriptor of this entry as specified in the JVM specifications.

Specified by:
getDescriptor in interface ILocalVariableTableEntry
Returns:
the descriptor of this entry as specified in the JVM specifications
See Also:
ILocalVariableTableEntry.getDescriptor()