10

I have Kotlin classes with KDoc, for example:

abstract class Something {
  /** # Documentation */
  abstract fun someFun()
}

This class is extended by Kotlin and Java classes. KDoc is correctly inherited by Kotlin classes. KDoc is shown upon clicking Ctrl+Q in Intellij in the subclass. However, it does not work if the subclass is written in Java. KDoc is not inherited in this case.

How can I inherit the KDoc in Java?

Adam Millerchip
  • 20,844
  • 5
  • 51
  • 74
Yuriy Kulikov
  • 2,059
  • 1
  • 16
  • 29

0 Answers0