}
private Map buildLocalVariableMap(BlockStatement bs, final Map localVars) throws CompileException {
final Map[] resVars = new Map[] { localVars };
class UCE extends RuntimeException { final CompileException ce; UCE(CompileException ce) { this.ce = ce; } }
BlockStatementVisitor bsv = new BlockStatementVisitor() {
// CHECKSTYLE(LineLengthCheck):OFF
// basic statements that use the default handlers
public void visitAlternateConstructorInvocation(AlternateConstructorInvocation aci) { UnitCompiler.this.buildLocalVariableMap(aci, localVars); }
public void visitBreakStatement(BreakStatement bs) { UnitCompiler.this.buildLocalVariableMap(bs, localVars); }