summaryrefslogtreecommitdiff
path: root/src/library/scala/deprecatedName.scala
blob: 30d0ae457a0d80e4a4ca78311dc8ba74864ba19c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package scala

import annotation.target._

/**
 * An annotation that designates the name of the parameter to which it is
 * applied as deprecated. Using that name in a named argument generates
 * a deprecation warning.
 *
 * @since 2.8.1
 */
@param
class deprecatedName(name: Symbol) extends StaticAnnotation