Is it possible to inherit scaladoc from parent type and add custom notice?
For example:
trait Parent {
/** Add arbitrary number of key-value pairs to entity. */
def addFields(fields: (String, String)*): this.type
}
class Child extends Parent {
/**
* {@inheritdoc }
*
* @note Previously existing keys would be overwritten
*/
def addFields(fields: (String, String)*): this.type = ???
}
I am expecting to have the following scaladoc output:
class Child extends Parent {
/**
* Add arbitrary number of key-value pairs to entity.
*
* @note Previously existing keys would be overwritten
*/
def addFields(fields: (String, String)*): this.type = ???
}