Annotations
dotty.tools.dotc.core.Annotations
object Annotations
Attributes
- Graph
-
- Supertypes
- Self type
-
Annotations.type
Members list
Type members
Classlikes
abstract class Annotation extends Showable
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class CaptureAnnotationclass BodyAnnotationclass ConcreteBodyAnnotationclass LazyBodyAnnotationclass ConcreteAnnotationclass LazyAnnotationclass ClassfileAnnotationclass DeferredSymAndTreeShow all
object Annotation
Attributes
- Companion
- class
- Supertypes
- Self type
-
Annotation.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
- Supertypes
- Known subtypes
-
class ConcreteBodyAnnotationclass LazyBodyAnnotation
case class ConcreteAnnotation(t: Tree) extends Annotation
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Annotationtrait Showableclass Objecttrait Matchableclass AnyShow all
class ConcreteBodyAnnotation(body: Tree) extends BodyAnnotation
Attributes
- Supertypes
-
class BodyAnnotationclass Annotationtrait Showableclass Objecttrait Matchableclass AnyShow all
class DeferredSymAndTree(symFn: Context ?=> Symbol, treeFn: Context ?=> Tree) extends LazyAnnotation
Attributes
- Supertypes
-
class LazyAnnotationclass Annotationtrait Showableclass Objecttrait Matchableclass AnyShow all
abstract class LazyAnnotation extends Annotation
Attributes
- Supertypes
- Known subtypes
-
class ClassfileAnnotationclass DeferredSymAndTree
abstract class LazyBodyAnnotation extends BodyAnnotation
Attributes
- Companion
- object
- Supertypes
-
class BodyAnnotationclass Annotationtrait Showableclass Objecttrait Matchableclass AnyShow all
object LazyBodyAnnotation
Attributes
- Companion
- class
- Supertypes
- Self type
-
LazyBodyAnnotation.type
object ThrownException
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
- Supertypes
- Self type
-
ThrownException.type
Value members
Concrete methods
Concrete fields
In this article