alpha (original) (raw)

Scala 3/scala/scala.annotation/alpha

scala.annotation.alpha

final class alpha(externalName: String) extends StaticAnnotation

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

Attributes

Deprecated

use @targetName instead

Source

alpha.scala

Graph

Supertypes

trait StaticAnnotation

class Annotation

class Object

trait Matchable

class Any

In this article

Generated with

Copyright (c) 2002-2025, LAMP/EPFL

Copyright (c) 2002-2025, LAMP/EPFL