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
Annotation.type

Members list

Type members

Classlikes

object Child

Extractor for child annotations

Extractor for child annotations

Attributes

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

Value members

Concrete methods

def apply(cls: ClassSymbol, span: Span)(using Context): Annotation
def apply(cls: ClassSymbol, arg: Tree, span: Span)(using Context): Annotation
def apply(cls: ClassSymbol, args: List[Tree], span: Span)(using Context): Annotation
def apply(atp: Type, arg: Tree, span: Span)(using Context): Annotation
def apply(atp: Type, args: List[Tree], span: Span)(using Context): Annotation
def deferred(sym: Symbol)(treeFn: Context ?=> Tree): 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): 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

def makeSourceFile(path: String, span: Span)(using Context): Annotation