factoryUtil
izumi.distage.constructors.ConstructorUtil.factoryUtil
object factoryUtil
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
factoryUtil.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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MethodParameter
final case class InjectedDependencyParameter(depByNameParamRepr: ParamRepr, flatOutermostLambdaSigIndex: Int) extends FactoryProductParameter
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FactoryProductParameterclass Objecttrait Matchableclass AnyShow all
final case class MethodParameter(flatLocalSigIndex: Int) extends FactoryProductParameter
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FactoryProductParameterclass Objecttrait Matchableclass AnyShow 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
In this article