Feature request: a way to suppress useless companion objects from javadoc #200
Labels
enhancement
An issue for a feature or an overall improvement
format: Javadoc
An issue/PR related to Dokka's Javadoc output format or the Javadoc comments in general
plugin: kotlin-as-java
An issue/PR related to Dokka's kotlin-as-java plugin
Companion objects that consist of no fields and all
@JvmStatic
methods are effectively redundant, especially for Java users who will want to use static methods as normal. Currently these things clutter up the generated javadocs, making them ugly.Whilst arguably the Kotlin compiler should optimise them out entirely in this case, that's a separate discussion (which I raised on youtrack). For now it'd be nice to recognise this pattern and suppress emission of references to the companions.
The text was updated successfully, but these errors were encountered: