<s> package org . eclipse . jdt . internal . core . util ; import org . eclipse . jdt . core . util . ClassFormatException ; import org . eclipse . jdt . core . util . IConstantPool ; import org . eclipse . jdt . core . util . ILocalVariableTypeTableAttribute ; import org . eclipse . jdt . core . util . ILocalVariableTypeTableEntry ; public class LocalVariableTypeAttribute extends ClassFileAttribute implements ILocalVariableTypeTableAttribute { private static final ILocalVariableTypeTableEntry [ ] NO_ENTRIES = new ILocalVariableTypeTableEntry [ 0 ] ; private int localVariableTypeTableLength ; private ILocalVariableTypeTableEntry [ ] localVariableTypeTableEntries ; public LocalVariableTypeAttribute ( byte [ ] classFileBytes , IConstantPool constantPool , int offset ) throws ClassFormatException { super ( classFileBytes , constantPool , offset ) ; final int length = u2At ( classFileBytes , 6 , offset ) ; this . localVariableTypeTableLength = length ; if ( length != 0 ) { int readOffset = 8 ; this . localVariableTypeTableEntries = new ILocalVariableTypeTableEntry [ length ] ; for ( int i = 0 ; i < length ; i ++ ) { this . localVariableTypeTableEntries [ i ] = new LocalVariableTypeTableEntry ( classFileBytes , constantPool , offset + readOffset ) ; readOffset += 10 ; } } else { this . localVariableTypeTableEntries = NO_ENTRIES ; } } public ILocalVariableTypeTableEntry [ ] getLocalVariableTypeTable ( ) { return this . localVariableTypeTableEntries ; } public int getLocalVariableTypeTableLength ( ) { return this . localVariableTypeTableLength ; } } </s>