Skip to content

Default methods in interfaces are backwards in the Javadoc format #4279

@Seggan

Description

@Seggan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions