factoryUtil

izumi.distage.constructors.ConstructorUtil.factoryUtil
object factoryUtil

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class FactoryProductData(getFactoryProductType: (List[qctx.reflect.TypeTree]) => qctx.reflect.TypeRepr, byNameDependencies: List[ParamRepr], hackyTraitImpl: Option[(List[qctx.reflect.TypeTree], List[qctx.reflect.Term], qctx.reflect.Symbol, List[qctx.reflect.Term], Int) => qctx.reflect.Term], factoryProductParameterLists: List[List[FactoryProductParameter]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class InjectedDependencyParameter(depByNameParamRepr: ParamRepr, flatOutermostLambdaSigIndex: Int) extends FactoryProductParameter

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class MethodParameter(flatLocalSigIndex: Int) extends FactoryProductParameter

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def getFactoryProductData(resultTpe: qctx.reflect.TypeRepr)(flatLambdaSigIndexGetAndIncrement: () => Int)(methodName: String, mbMethodSym: Option[qctx.reflect.Symbol], methodType: qctx.reflect.TypeRepr): FactoryProductData
def implementFactoryMethod(outermostLambdaArgs: List[qctx.reflect.Term], factoryProductData: FactoryProductData, methodSym: qctx.reflect.Symbol, indexShift: Int): qctx.reflect.DefDef