openrewrite / rewrite-kotlin

Work-in-progress implementation of Kotlin language support for OpenRewrite.
Apache License 2.0
38 stars 11 forks source link

Update `K.Property` model, add `accessors` as a replacement of `setter`/`getter`/`isSetterFirst` #523

Closed kunli2 closed 6 months ago

kunli2 commented 6 months ago

On K.Property, the MethodDeclaration already contains the name get or set such that we don’t need to separate these and have a boolean isSetterFirst. Rather, JContainer<MethodDeclaration> accessors