How do I extend ScalaDoc annotations?

Is there a way to add a new ScalaDoc annotation? Specifically, I would like to define annotation @business

as an extension @note

.

This should obviously behave like @note

:

/**
  * @business A business description of the item.
  */
def definition: _ = ???

      

+3


source to share





All Articles