diff --git a/kotlin-code-generation/src/main/kotlin/builder/KotlinAnnotationClassSpecBuilder.kt b/kotlin-code-generation/src/main/kotlin/builder/KotlinAnnotationClassSpecBuilder.kt index e2622e9..6d6c1bf 100644 --- a/kotlin-code-generation/src/main/kotlin/builder/KotlinAnnotationClassSpecBuilder.kt +++ b/kotlin-code-generation/src/main/kotlin/builder/KotlinAnnotationClassSpecBuilder.kt @@ -19,7 +19,7 @@ class KotlinAnnotationClassSpecBuilder internal constructor( ConstructorPropertySupport, KotlinDocumentableBuilder, KotlinMemberSpecHolderBuilder, - KotlinTypeSpecHolderBuilder{ + KotlinTypeSpecHolderBuilder { companion object { @@ -54,7 +54,6 @@ class KotlinAnnotationClassSpecBuilder internal constructor( fun contextReceivers(vararg receiverTypes: TypeName): KotlinAnnotationClassSpecBuilder = builder { this.contextReceivers(*receiverTypes) } - fun addOriginatingElement(originatingElement: Element) = builder { this.addOriginatingElement(originatingElement) } override fun addType(typeSpec: TypeSpecSupplier) = builder { this.addType(typeSpec.get()) }