implier icon indicating copy to clipboard operation
implier copied to clipboard

Keep annotations on generated declarations

Open manosbatsis opened this issue 2 years ago • 2 comments

Would be great if

@MutableImpl(annotationPackages = [foo.Bar::class])
interface Sample {
   @foo.Bar
    val sample: String
   @get:foo.Baz
    val number: Int
}

generated

class MutableSample(
   @foo.Bar
   public override var sample: String,
   @get:foo.Baz
   public override var number: Int
) : Sample

Happy to add a PR!

manosbatsis avatar Jul 27 '22 03:07 manosbatsis