Creator

com.softwaremill.macwire.internals.autowire.Creator
class Creator[Q <: Quotes](using val q: Q)(selectQualifier: q.reflect.Term, creatorSymbol: q.reflect.Symbol, reportError: ReportError[q.type])

A creator is either a constructor, or an apply method. The code they generate only differs in the selectQualifier: either a new or a ref.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def applied(paramFlatValues: List[q.reflect.Term]): q.reflect.Term

Creates a term which corresponds to invoking the creator using the given parameters. Each term in the paramFlatValues list should correspond to the corresponding type returned by paramFlatTypes.

Creates a term which corresponds to invoking the creator using the given parameters. Each term in the paramFlatValues list should correspond to the corresponding type returned by paramFlatTypes.

Attributes

Concrete fields

val paramFlatTypes: List[q.reflect.TypeRepr]

Givens

Givens

given q: Q