code: List<String> generateImports(Set<String> importedTypes) {
          List<String> importDecls = new ArrayList<>();
          for (String it : importedTypes) {
              importDecls.add(StubKind.IMPORT.format(it));
          }
          return importDecls;
      }
docs: Generate a list of import declarations given a set of imported types.