code: private static void appendImmutableMap(
        IndentedLinesBuilder ilb, String typeParamSnippet, Map<String, String> entrySnippetPairs) {
      if (entrySnippetPairs.isEmpty()) {
        ilb.appendLineStart("ImmutableMap.", typeParamSnippet, "of()");
  
      } else {
        ilb.appendLine("ImmutableMap.", typeParamSnippet, "builder()");
        for (Map.Entry<String, String> entrySnippetPair : entrySnippetPairs.entrySet()) {
          ilb.appendLine(
              "    .put(", entrySnippetPair.getKey(), ", ", entrySnippetPair.getValue(), ")");
        }
        ilb.appendLineStart("    .build()");
      }
    }
docs: Private helper to append an ImmutableMap to the code.
  
  @param ilb The builder for the code.
  @param typeParamSnippet The type parameter for the ImmutableMap.
  @param entrySnippetPairs Pairs of (key, value) code snippets for the entries to put into the
  ImmutableMap.