Annotation

tastyquery.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

Value members

Concrete methods

def apply(tree: TermTree): Annotation

Constructs an annotation with the given underlying tree.

Constructs an annotation with the given underlying tree.

Attributes

def apply(cls: ClassSymbol)(using Context): Annotation

Constructs an annotation with the no-arg constructor of the given class.

Constructs an annotation with the no-arg constructor of the given class.

The class must be static.

Attributes