``` /** * Signifies that the corr...
# compiler
m
Copy code
/**
         * 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
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
HAS_SETTER
🙏 1
💯 1