MethodVisitor (int access, String name, String descriptor, String signature, String[] exceptions) { return new MethodVisitor(Opcodes.API_VERSION) { @Override public void visitLineNumber(int line, Label start) { lineNumbers.add(line); } }; }