p
.p
.p
because 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:
/** Some doc for P type */
type MyPType = Map[String, String]
def someMethod(p: MyPType) = ...