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

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
          extended by org.aspectj.org.eclipse.jdt.internal.core.util.LocalVariableAttribute
All Implemented Interfaces:
IClassFileAttribute, ILocalVariableAttribute

public class LocalVariableAttribute
extends ClassFileAttribute
implements ILocalVariableAttribute

Default implementation of ILocalVariableAttribute.


Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
 
Constructor Summary
LocalVariableAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset)
          Constructor for LocalVariableAttribute.
 
Method Summary
 ILocalVariableTableEntry[] getLocalVariableTable()
          Answer back the local variable table of this entry as specified in the JVM specifications.
 int getLocalVariableTableLength()
          Answer back the local variable table length of this entry as specified in the JVM specifications.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 
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
 
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 

Constructor Detail

LocalVariableAttribute

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

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

getLocalVariableTable

public ILocalVariableTableEntry[] getLocalVariableTable()
Description copied from interface: ILocalVariableAttribute
Answer back the local variable table of this entry as specified in the JVM specifications. Answer an empty array if none.

Specified by:
getLocalVariableTable in interface ILocalVariableAttribute
Returns:
the local variable table of this entry as specified in the JVM specifications. Answer an empty array if none
See Also:
ILocalVariableAttribute.getLocalVariableTable()

getLocalVariableTableLength

public int getLocalVariableTableLength()
Description copied from interface: ILocalVariableAttribute
Answer back the local variable table length of this entry as specified in the JVM specifications.

Specified by:
getLocalVariableTableLength in interface ILocalVariableAttribute
Returns:
the local variable table length of this entry as specified in the JVM specifications
See Also:
ILocalVariableAttribute.getLocalVariableTableLength()