object UseCases {
/**
* @usecase type TypeAliasUseCase[A] = Any
*
* This is a use case of a type alias.
*/
type TypeAliasUseCase[A] = A
/**
* @usecase def methodUseCase(): Unit = ???
*
* This is a use case of a method.
*/
def methodUseCase(): Nothing = ???
}
scaladoc -version
Scaladoc version 2.12.6 -- Copyright 2002-2018, LAMP/EPFL and Lightbend, Inc.