Annotation

dotty.tools.dotc.core.Annotations$.Annotation$
See theAnnotation companion class
object Annotation

Attributes

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

Members list

Concise view

Type members

Classlikes

object Child

Extractor for child annotations

Extractor for child annotations

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Child.type

Value members

Concrete methods

def apply(cls: ClassSymbol, arg: Tree)(using Context): Annotation
def apply(cls: ClassSymbol, arg1: Tree, arg2: Tree)(using Context): Annotation
def apply(cls: ClassSymbol, args: List[Tree])(using Context): Annotation
def apply(atp: Type, arg: Tree)(using Context): Annotation
def apply(atp: Type, arg1: Tree, arg2: Tree)(using Context): Annotation
def apply(atp: Type, args: List[Tree])(using Context): Annotation
def deferred(sym: Symbol)(treeFn: Context ?=> Tree)(using Context): Annotation

Create an annotation where the tree is computed lazily.

Create an annotation where the tree is computed lazily.

Attributes

def deferredSymAndTree(symFn: Context ?=> Symbol)(treeFn: Context ?=> Tree)(using Context): Annotation

Create an annotation where the symbol and the tree are computed lazily.

Create an annotation where the symbol and the tree are computed lazily.

Attributes