dokka icon indicating copy to clipboard operation
dokka copied to clipboard

`kotlin-as-java-plugin` not hoisting normal `@JvmStatic` properties

Open Seggan opened this issue 2 months ago • 1 comments

For the code

import kotlin.properties.Delegates

class Foo {
    companion object {
        @JvmStatic
        var bar: String by Delegates.notNull()
    }
}

Despite bar being @JvmStatic, the generated docs do not hoist it up to static level, but keep it in the companion:

Image Image

Seggan avatar Sep 25 '25 17:09 Seggan