summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9211ab)
raw | patch | inline | side by side (parent: d9211ab)
author | fredboy <fredboy@protonmail.com> | |
Tue, 14 May 2024 17:34:09 +0000 (00:34 +0700) | ||
committer | fredboy <fredboy@protonmail.com> | |
Tue, 14 May 2024 17:39:19 +0000 (00:39 +0700) |
diff --git a/dagger-multibind-ksp/src/main/kotlin/ru/fredboy/cavedroid/ksp/processor/GenerateMapMultibindingsSymbolProcessor.kt b/dagger-multibind-ksp/src/main/kotlin/ru/fredboy/cavedroid/ksp/processor/GenerateMapMultibindingsSymbolProcessor.kt
index cfaa3a590393d3478e34994c39174da0db93a147..860653f01fc0151e757fef3550b6c4120046d7ba 100644 (file)
val moduleObject = TypeSpec.objectBuilder(moduleName)
.addAnnotation(ClassName("dagger", "Module"))
+ .addAnnotation(
+ AnnotationSpec.builder(ClassName("javax.annotation.processing", "Generated"))
+ .addMember("value = [%S]", this::class.qualifiedName!!)
+ .build()
+ )
.addFunctions(bindings)
.build()
diff --git a/dagger-multibind-ksp/src/main/kotlin/ru/fredboy/cavedroid/ksp/processor/GenerateSetMultibindingsSymbolProcessor.kt b/dagger-multibind-ksp/src/main/kotlin/ru/fredboy/cavedroid/ksp/processor/GenerateSetMultibindingsSymbolProcessor.kt
index 18cd3c9bceb185c21022a0ea1501d723f7bc503b..6bcb60cad518c57e7e234d231462a4b64c176752 100644 (file)
val moduleObject = TypeSpec.objectBuilder(moduleName)
.addAnnotation(ClassName("dagger", "Module"))
+ .addAnnotation(
+ AnnotationSpec.builder(ClassName("javax.annotation.processing", "Generated"))
+ .addMember("value = [%S]", this::class.qualifiedName!!)
+ .build()
+ )
.addFunctions(bindings)
.build()