From 6ce135ed139652b40aa537640324dc38a666e34b Mon Sep 17 00:00:00 2001
From: saied89 <saiedmomen@gmail.com>
Date: Mon, 31 Jul 2023 14:58:08 +0200
Subject: [PATCH] fix documentation

---
 .../com/google/devtools/ksp/processing/CodeGenerator.kt     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/api/src/main/kotlin/com/google/devtools/ksp/processing/CodeGenerator.kt b/api/src/main/kotlin/com/google/devtools/ksp/processing/CodeGenerator.kt
index fd5bc5b1b5..e45a8a4b7c 100644
--- a/api/src/main/kotlin/com/google/devtools/ksp/processing/CodeGenerator.kt
+++ b/api/src/main/kotlin/com/google/devtools/ksp/processing/CodeGenerator.kt
@@ -85,7 +85,8 @@ interface CodeGenerator {
      * @param dependencies are [KSFile]s from which this output is built. Only those that are obtained directly
      *                     from [Resolver] are required.
      * @param path corresponds to the relative path of the generated file; includes the full file name
-     * @param fileType determines the target directory to store the file
+     * @param extensionName If "kt" or "java", this file will participate in subsequent compilation.
+     *                      Otherwise its creation is only considered in incremental processing.
      * @return OutputStream for writing into files.
      * @see [CodeGenerator] for more details.
      */
@@ -114,7 +115,8 @@ interface CodeGenerator {
      * @param sources are [KSFile]s from which this output is built. Only those that are obtained directly
      *                     from [Resolver] are required.
      * @param path corresponds to the relative path of the generated file; includes the full file name
-     * @param fileType determines the target directory where the file should exist
+     * @param extensionName If "kt" or "java", this file will participate in subsequent compilation.
+     *                      Otherwise its creation is only considered in incremental processing.
      * @see [CodeGenerator] for more details.
      */
     fun associateByPath(sources: List<KSFile>, path: String, extensionName: String = "kt")