Packages

package di

Type Members

  1. case class AnnotateInspection[C <: Context](c: C) extends Product with Serializable
  2. case class ConfirmedCands[C <: Context](c: C)(cands: Vector[scala.reflect.macros.Universe.Symbol forSome {val _1: C}]) extends InjectionCands[C] with Product with Serializable
  3. trait Effect extends AutoInject with EffectLike

    Effect for dependency handling in runtime classpath.

    Effect for dependency handling in runtime classpath. When effective injection is performed, only the activated ones of all effects are candidates for injection.

    object Effects {
      def getKind = sys.props.getOrElse("env", "local")
    
      object LOCAL extends Effect {
        def activate: Boolean = getKind == "local"
      }
      object DEV extends Effect {
        def activate: Boolean = getKind == "dev"
      }
      object STG extends Effect {
        def activate: Boolean = getKind == "stg"
      }
      object PRD extends Effect {
        def activate: Boolean = getKind == "prd"
      }
    }
    
    @Effective(LOCAL)
    object LocalRuntimeSetting extends Setting with AutoInject
    
    @Effective(DEV)
    object DevRuntimeSetting extends Setting with AutoInject
    
    @Effective(STG)
    object StgRuntimeSetting extends Setting with AutoInject
    
    @Effective(PRD)
    object PrdRuntimeSetting extends Setting with AutoInject
  4. case class ExcludingRuntime[C <: Context](c: C)(cands: Vector[scala.reflect.macros.Universe.Symbol forSome {val _1: C}]) extends InjectionCands[C] with Product with Serializable
  5. sealed abstract class InjectionCands[C <: Context] extends AnyRef
  6. class SymbolExprGenerator[C <: Context] extends AnyRef

Ungrouped