Scala Library: scala.deprecatedOverriding
scala.deprecatedOverriding
An annotation that designates that overriding a member is deprecated.
Overriding such a member in a sub-class then generates a warning.
- Source
- Since
- 2.10
- See also
- scala.deprecatedInheritance
Instance Constructors From scala.deprecatedOverriding
new deprecatedOverriding(message: String = "", since: String = "")
- message
- the message to print during compilation if the member was overridden
- since
- a string identifying the first version in which overriding was deprecated (defined at scala.deprecatedOverriding)
Full Source:
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.