Scala Library: scala.annotation.meta.companionMethod
scala.annotation.meta.companionMethod
When defining an implicit class, the Scala compiler creates an implicit
conversion method for it. Annotations @companionClass
and @companionMethod
control where an annotation on the implicit class will go. By default,
annotations on an implicit class end up only on the class.
Instance Constructors From scala.annotation.meta.companionMethod
new companionMethod()
(defined at scala.annotation.meta.companionMethod)
Full Source:
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.