@Override
        public Void mapShape(MapShape shape) {
            writer.disableNewlines();
            writer.openBlock(memberPrefix
                    + "ObjectMember($S, o -> o.getMembers().forEach((k, v) -> {\n",
                    "}))",
                    fieldName,
                    () -> {
                        writer.write("builder.put$L(\n", StringUtils.capitalize(memberName));
                        writer.indent();
                        writer.write("$C,\n",
                                (Runnable) () -> shape.getKey()
                                        .accept(new FromNodeMapperVisitor(writer,
                                                model,
                                                "k")));
                        writer.write("$C\n",
                                (Runnable) () -> shape.getValue()
                                        .accept(new FromNodeMapperVisitor(writer,
                                                model,
                                                "v",
                                                1)));
                        writer.dedent();
                        writer.write(");\n");
                    });
            writer.enableNewlines();
            return null;
        }
Generates the mapping from a node member to a builder field.
smithy-trait-codegen/src/main/java/software/amazon/smithy/traitcodegen/generators/FromNodeGenerator.java