dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Default methods in interfaces are backwards in the Javadoc format

Open Seggan opened this issue 3 months ago • 0 comments

For the code

interface Test {
    fun foo()

    fun bar() {}
}

The Javadoc format generates the abstract method as abstract and the default method as just a normal method:

Image

However, in real Javadoc, it should be the opposite; i.e., the abstract method should render normally and the default method have a default:

Image

Seggan avatar Sep 24 '25 19:09 Seggan