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

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.LocalVariableTypeAttribute
All Implemented Interfaces:
IClassFileAttribute, ILocalVariableTypeTableAttribute

public class LocalVariableTypeAttribute
extends ClassFileAttribute
implements ILocalVariableTypeTableAttribute

Default implementation of ILocalVariableTypeAttribute.


Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
 
Constructor Summary
LocalVariableTypeAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset)
          Constructor for LocalVariableTypeAttribute.
 
Method Summary
 ILocalVariableTypeTableEntry[] getLocalVariableTypeTable()
          Answer back the local variable type table of this entry as specified in the JVM specifications.
 int getLocalVariableTypeTableLength()
          Answer back the local variable type 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

LocalVariableTypeAttribute

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

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

getLocalVariableTypeTable

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

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

getLocalVariableTypeTableLength

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

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