MethodVisitor (int access, String name, String desc, String signature, String[] exceptions) { MethodNode node = new MethodNode(Opcodes.API_VERSION, access, name, desc, signature, exceptions); return new MethodVisitor(Opcodes.API_VERSION, node) { @Override public void visitEnd() { try { map.put(name, LeakingParameters.build(reader.getClassName(), node, false).parameters); } catch (AnalyzerException ignore) { } } }; }