/**
* Signifies that the corresponding property has a getter.
*/
@JvmField
val HAS_GETTER = Flag(F.HAS_GETTER)
And can there be properties without a getter? 🤔
Even with
@JvmField
the flag
HAS_GETTER
is set.
u
udalov
02/05/2019, 11:35 AM
Right now all properties generated by the compiler have a getter, but in theory there could be future language features that would require properties without getters. But I agree this is confusing in the current API. I guess the
HAS_GETTER
flag ended up here only because of a symmetry with