- Several packages have multiple classes with methods that have an argument called
p. - I want to document
p. - I can't document the type of
pbecause the type is built-in (e.g.Map[String, String]).
How to document p?
class A {
def (p: Map[String, String]): Unit = {}
}
class B {
def (p: Map[String, String], ...): Unit = {}
}
I think you are looking for type aliases: