Kotlin: Extract visibility for properties

This commit is contained in:
Ian Lynagh
2021-12-09 15:58:06 +00:00
parent 348ae357ed
commit fb90c70e2e
6 changed files with 40 additions and 23 deletions

View File

@@ -960,7 +960,7 @@ javadocText(
@modifiable = @member_modifiable| @param | @localvar ;
@member_modifiable = @class | @interface | @method | @constructor | @field ;
@member_modifiable = @class | @interface | @method | @constructor | @field | @kt_property;
@member = @method | @constructor | @field | @reftype ;

View File

@@ -687,7 +687,7 @@ class InstanceField extends Field {
}
/** A Kotlin property. */
class Property extends Element, @kt_property {
class Property extends Element, Modifiable, @kt_property {
/** Gets the getter method for this property, if any. */
Method getGetter() { ktPropertyGetters(this, result) }