ClassfileAnnotation

class ClassfileAnnotation(annotType: Type, lazyArgs: List[(NameOrString, Tree | EnumTag)]) extends LazyAnnotation
trait Showable
class Object
trait Matchable
class Any

Value members

Concrete methods

def untpdTree(using Context): Tree

Inherited methods

def argument(i: Int)(using Context): Option[Tree]
Inherited from:
Annotation
Inherited from:
Annotation
Inherited from:
Annotation
def arguments(using Context): List[Tree]

All arguments to this annotation in a single flat list

All arguments to this annotation in a single flat list

Inherited from:
Annotation
Inherited from:
Annotation
Inherited from:
Annotation
def fallbackToText(printer: Printer): Text

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

Inherited from:
Showable
override def isEvaluated: Boolean

The tree evaluation has finished.

The tree evaluation has finished.

Definition Classes
Inherited from:
LazyAnnotation
override def isEvaluating: Boolean

The tree evaluaton is in progress.

The tree evaluaton is in progress.

Definition Classes
Inherited from:
LazyAnnotation

Normally, type map over all tree nodes of this annotation, but can be overridden. Returns EmptyAnnotation if type type map produces a range type, since ranges cannot be types of trees.

Normally, type map over all tree nodes of this annotation, but can be overridden. Returns EmptyAnnotation if type type map produces a range type, since ranges cannot be types of trees.

Inherited from:
Annotation
def matches(cls: Symbol)(using Context): Boolean
Inherited from:
Annotation

Does this annotation refer to a parameter of tl?

Does this annotation refer to a parameter of tl?

Inherited from:
Annotation
Inherited from:
Annotation
def show(using Context): String

The string representation of this showable element.

The string representation of this showable element.

Inherited from:
Showable
def showIndented(margin: Int)(using Context): String

The string representation with each line after the first one indented by the given given margin (in spaces).

The string representation with each line after the first one indented by the given given margin (in spaces).

Inherited from:
Showable
def showSummary(depth: Int)(using Context): String

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

Inherited from:
Showable
override def symbol(using parentCtx: Context): Symbol
Definition Classes
Inherited from:
LazyAnnotation
def toText(printer: Printer): Text

A string representation of the annotation. Overridden in BodyAnnotation.

A string representation of the annotation. Overridden in BodyAnnotation.

Inherited from:
Annotation
def tree(using Context): Tree
Inherited from:
LazyAnnotation