y9vad9/implier

Keep annotations on generated declarations

manosbatsis opened this issue · 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!

Do you mean that generated declaration should keep annotations?

also related to #8