AutowireProviders

com.softwaremill.macwire.internals.autowire.AutowireProviders
class AutowireProviders[Q <: Quotes](using val q: Q)(rawDependencies: List[Expr[Any]], reportError: ReportError[q.type])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class Provider(tpe: q.reflect.TypeRepr, dependencies: List[q.reflect.TypeRepr], create: (List[q.reflect.Term]) => q.reflect.Term, raw: Option[Expr[Any]])

Providers define how to create an instance of a type, and what dependencies are needed. Used to create graph nodes, which contain generated wiring code fragments.

Providers define how to create an instance of a type, and what dependencies are needed. Used to create graph nodes, which contain generated wiring code fragments.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Provider

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Provider.type

Givens

Givens

given q: Q