<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 . ILocalVariableAttribute ; import org . eclipse . jdt . core . util . ILocalVariableTableEntry ; public class LocalVariableAttribute extends ClassFileAttribute implements ILocalVariableAttribute { private static final ILocalVariableTableEntry [ ] NO_ENTRIES = new ILocalVariableTableEntry [ 0 ] ; private int localVariableTableLength ; private ILocalVariableTableEntry [ ] localVariableTable ; public LocalVariableAttribute ( byte [ ] classFileBytes , IConstantPool constantPool , int offset ) throws ClassFormatException { super ( classFileBytes , constantPool , offset ) ; final int length = u2At ( classFileBytes , 6 , offset ) ; this . localVariableTableLength = length ; if ( length != 0 ) { int readOffset = 8 ; this . localVariableTable = new ILocalVariableTableEntry [ length ] ; for ( int i = 0 ; i < length ; i ++ ) { this . localVariableTable [ i ] = new LocalVariableTableEntry ( classFileBytes , constantPool , offset + readOffset ) ; readOffset += 10 ; } } else { this . localVariableTable = NO_ENTRIES ; } } public ILocalVariableTableEntry [ ] getLocalVariableTable ( ) { return this . localVariableTable ; } public int getLocalVariableTableLength ( ) { return this . localVariableTableLength ; } } </s>