docs: private ResolveTask processTopic(final FileInfo f, final KeyScope scope, final boolean isResourceOnly) {
          final int increment = isResourceOnly ? 0 : 1;
          final Integer used = usage.containsKey(f.uri) ? usage.get(f.uri) + increment : increment;
          usage.put(f.uri, used);
  
          if (used > 1) {
              final URI result = addSuffix(f.result, "-" + (used - 1));
              final URI out = tempFileNameScheme.generateTempFileName(result);
              final FileInfo fo = new FileInfo.Builder(f)
                      .uri(out)
                      .result(result)
                      .build();
              // TODO: Should this be added when content is actually generated?
              job.add(fo);
              return new ResolveTask(scope, f, fo);
          } else {
              return new ResolveTask(scope, f, null);
          }
      }