scala

deprecated

class deprecated extends Annotation with StaticAnnotation

An annotation that designates that a definition is deprecated. Access to the member then generates a deprecated warning.

Annotations
@getter() @setter() @beanGetter() @beanSetter()
Source
deprecated.scala
Since

2.3

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. deprecated
  2. StaticAnnotation
  3. Annotation
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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