summaryrefslogtreecommitdiff
path: root/src/library/scala/deprecated.scala
blob: 79abe6a0ee212ec85e167efd7355aa86ab62f2b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2010, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id$


package scala

import annotation.target._

/**
 * An annotation that designates the definition to which it is applied as deprecated.
 * Access to the member then generates a deprecated warning.
 *
 * @since 2.3
 */
@getter @setter @beanGetter @beanSetter
class deprecated(message: String) extends StaticAnnotation {
  def this() = this("")
}