Skip to content

Interface companion objects still rendered when they should not be #4273

@Seggan

Description

@Seggan

In the kotlin-as-java-plugin, whenever an interface has a companion object that companion object is still rendered even if it shouldn't be, for example if all its members are private or @JvmStatic

This code:

interface Test {
    companion object {}
}

Renders as such:

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