targetName

scala.annotation.targetName
final class targetName(name: String) extends StaticAnnotation

An annotation that defines an external name for a definition. If an targetName(extname) annotation is given for a method or some other definition, its implementation will use the name extname instead of the regular name.

Value parameters

name

the external name to use for the annotated definition

Attributes

Source
targetName.scala
Graph
Supertypes
class Annotation
class Object
trait Matchable
class Any
In this article