Deprecate KmProperty.hasGetter(hasSetter) in favor of KmProperty.getter(setter)

as a follow-up of flag deprecation.

#KT-59440
This commit is contained in:
Leonid Startsev
2023-08-01 14:16:53 +02:00
committed by Space Team
parent 389632ed53
commit 8b821e1feb
7 changed files with 22 additions and 21 deletions
@@ -281,12 +281,10 @@ private class MappingExtensions(
modality = ps.modality.kmModality
kind = MemberKind.DECLARATION
hasAnnotations = ps.annotations.isNotEmpty()
hasGetter = true
when (ps.kind) {
is PropertyStub.Kind.Val -> {}
is PropertyStub.Kind.Var -> {
isVar = true
hasGetter = true
}
is PropertyStub.Kind.Constant -> {
isConst = true