diff --git a/ksp/variations/generator/src/main/kotlin/Processor.kt b/ksp/variations/generator/src/main/kotlin/Processor.kt index 60869f4088f..3c0a0bc1bc1 100644 --- a/ksp/variations/generator/src/main/kotlin/Processor.kt +++ b/ksp/variations/generator/src/main/kotlin/Processor.kt @@ -132,6 +132,9 @@ class Processor( accumulatedGenerations.add( FunSpec.builder(accumulatedGeneration.name).apply { modifiers.addAll(accumulatedGeneration.modifiers) + accumulatedGeneration.annotations.forEach { + addAnnotation(it) + } accumulatedGeneration.receiverType ?.let { receiver(it) }