* @param name The name of the local variable
* @param type The type of the local variable
* @param isFinal True if this variable is final, otherwise false
*/
public BytecodeLocalVariableDeclaration declareLocalVariable (String name, TypeDescriptor type, boolean isFinal) {
if (this.accessible.containsKey(name)) throw new BytecodeException("A local variable by this name is accessible: " + name);
BytecodeLocalVariableDeclaration lv = new BytecodeLocalVariableDeclaration(currentLocal++, name, type,
new BytecodeScope(scopes.get(0), writer.mark(this), scopes.get(0).getEnd()), isFinal
);
this.localVariables.add(lv);