Annotations

class Object
trait Matchable
class Any

Type members

Classlikes

abstract
Companion
object
object Annotation
Companion
class
abstract

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

case
abstract
abstract
Companion
object
Companion
class

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.

Value members

Concrete methods

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