Scala Library: scala.deprecated
scala.deprecated
An annotation that designates that a definition is deprecated. Access to the member then generates a deprecated warning.
- Annotations
- @ getter () @ setter () @ beanGetter () @ beanSetter ()
- Source
- Since
- 2.3
Instance Constructors From scala.deprecated
new deprecated(message: String = "", since: String = "")
- message
- the message to print during compilation if the definition is accessed
- since
- a string identifying the first version in which the definition was deprecated (defined at scala.deprecated)
Full Source:
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.