// Compile the code snippet
jv.recordLocalVariables(codeAttribute, insertionPc);
jv.recordParams(method.getParameterTypes(), Modifier.isStatic(method.getModifiers()));
jv.setMaxLocals(codeAttribute.getMaxLocals());
jv.compileStmnt("play.classloading.enhancers.LocalvariablesNamesEnhancer.LocalVariablesNamesTracer.addVariable(\"" + aliasedName + "\", " + name + ");");
Bytecode b = jv.getBytecode();
int locals = b.getMaxLocals();
int stack = b.getMaxStack();
codeAttribute.setMaxLocals(locals);