https://kotlinlang.org logo
Title
k

katien

02/20/2018, 6:14 AM
@dgngulcan, what do you mean? I don't think comments would work any differently than usual in that context but I have a feeling I'm not understanding your question
d

dgngulcan

02/20/2018, 4:14 PM
Like in the code snippet below. When I call
getVisibility
from java code, it does not expose any comments related to it.
var visibility: Boolean = true
        /**
         * Setter
         */
        set(value) {
            field = value
        }
        /**
         * Getter
         */
        get() {
            return field
        }