targetName

final class targetName(name: String) extends StaticAnnotation

An annotation that defines an external name for a definition.

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.

class Object
trait Matchable
class Any