Annotations

dotty.tools.dotc.core.Annotations$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

abstract class Annotation extends Showable

Attributes

Companion:
object
Graph
Supertypes
trait Showable
class Object
trait Matchable
class Any
Known subtypes
object Annotation

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class BodyAnnotation extends Annotation

An annotation indicating the body of a right-hand side, typically of an inline method. Treated specially in pickling/unpickling and TypeTreeMaps

An annotation indicating the body of a right-hand side, typically of an inline method. Treated specially in pickling/unpickling and TypeTreeMaps

Attributes

Graph
Supertypes
trait Showable
class Object
trait Matchable
class Any
Known subtypes
case class ConcreteAnnotation(t: Tree) extends Annotation

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Showable
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait Showable
class Object
trait Matchable
class Any
class DeferredSymAndTree(symFn: Context ?=> Symbol, treeFn: Context ?=> Tree) extends LazyAnnotation

Attributes

Graph
Supertypes
trait Showable
class Object
trait Matchable
class Any
abstract class LazyAnnotation extends Annotation

Attributes

Graph
Supertypes
trait Showable
class Object
trait Matchable
class Any
Known subtypes
abstract class LazyBodyAnnotation extends BodyAnnotation

Attributes

Companion:
object
Graph
Supertypes
trait Showable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Extracts the type of the thrown exception from an annotation.

Extracts the type of the thrown exception from an annotation.

Supports both "old-style" @throws(classOf[Exception]) as well as "new-style" @throws[Exception]("cause") annotations.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def annotClass(tree: Tree)(using Context): Symbol