Packages

o

refuel.container

RuntimeReflector

object RuntimeReflector extends InjectionReflector with Injector

Linear Supertypes
Injector, MetaMediation[Container], CanBeContainer[Container], InjectionReflector, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuntimeReflector
  2. Injector
  3. MetaMediation
  4. CanBeContainer
  5. InjectionReflector
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val _cntMutation: Container
    Definition Classes
    Injector → CanBeContainer
  5. implicit def _ijp: InjectionPool

    Implicitly injection pool

    Implicitly injection pool

    Attributes
    protected
    Definition Classes
    MetaMediation → CanBeContainer
  6. implicit def _someoneNeeds: Accessor[_]
    Attributes
    protected
    Definition Classes
    CanBeContainer
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. macro def bind[T](implicit ctn: Container, ip: InjectionPool, access: Accessor[_]): T

    Get accessible dependencies.

    Get accessible dependencies. You can detect errors that can not be assigned at compile time.

    It is faster than refuel.injector.MetaMediation.inject because of immediate assignment, but the dependency injected at compile time is determined, and this assignment can not be overwritten with "flush" or "narrow".

    The scope to which this immediate assignment applies is all the same instances that inherit refuel.injector.AutoInjectable.

    T

    Injection type

    ctn

    Container

    access

    Accessor (This refers to itself)

    Attributes
    protected
    Definition Classes
    MetaMediation
  9. final def classpathUrls: List[URL]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. macro def inject[T](t: scala.reflect.api.JavaUniverse.TypeTag[T])(implicit ctn: Container, ip: InjectionPool, access: Accessor[_]): Lazy[T]

    Get accessible dependencies.

    Get accessible dependencies.

    The type information is resolved at compile time, but the injection object is finalized at runtime. This function is slower than refuel.injector.MetaMediation.bind, but can be overwritten by flush or narrow.

    T

    Injection type

    ctn

    Container

    access

    Accessor (This refers to itself)

    Attributes
    protected
    Definition Classes
    MetaMediation
  17. macro def inject[T](implicit ctn: Container, ip: InjectionPool, access: Accessor[_]): Lazy[T]

    Get accessible dependencies.

    Get accessible dependencies.

    The type information is resolved at compile time, but the injection object is finalized at runtime. This function is slower than refuel.injector.MetaMediation.bind, but can be overwritten by flush or narrow.

    T

    Injection type

    ctn

    Container

    access

    Accessor (This refers to itself)

    Attributes
    protected
    Definition Classes
    MetaMediation
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def mirror: Mirror
  20. def narrow[T](x: T, priority: Int = Int.MaxValue)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T], ctn: Container): Indexer[T]

    Gets an indexer for registering new dependencies.

    Gets an indexer for registering new dependencies. By default, the dependency priority is set to maximum.

    T

    new dependency type

    x

    new dependency

    priority

    Injection priority.

    Attributes
    protected
    Definition Classes
    MetaMediation
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def overwrite[T](x: T, priority: Int = ...)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T], ctn: Container): Unit

    Manually register the new dependency.

    Manually register the new dependency.

    T

    new dependency type

    x

    new dependency.

    priority

    Injection priority.

    Definition Classes
    MetaMediation
  25. def reflectClass(t: scala.reflect.api.JavaUniverse.Type): RuntimeClass

    Reflect to a runtime class.

    Reflect to a runtime class.

    t

    Type symbol.

    Definition Classes
    RuntimeReflectorInjectionReflector
  26. def reflectClass[T](clazz: Class[_], ip: InjectionPool)(c: Container)(symbols: Set[scala.reflect.api.JavaUniverse.ClassSymbol])(implicit wtt: scala.reflect.api.JavaUniverse.WeakTypeTag[T]): Set[IndexedSymbol[T]]

    Create injection applyment.

    Create injection applyment.

    T

    injection type

    symbols

    module symbols

    Definition Classes
    RuntimeReflectorInjectionReflector
  27. def reflectModule[T](c: Container)(symbols: Set[scala.reflect.api.JavaUniverse.ModuleSymbol])(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T]): Set[IndexedSymbol[T]]

    Create injection applyment.

    Create injection applyment.

    T

    injection type

    symbols

    module symbols

    Definition Classes
    RuntimeReflectorInjectionReflector
  28. def shade[T](ctx: (LocalizedContainer) ⇒ T): T

    Create a container shade.

    Create a container shade.

    T

    Result type

    ctx

    Shaded container function.

    Definition Classes
    MetaMediation
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Injector

Inherited from MetaMediation[Container]

Inherited from CanBeContainer[Container]

Inherited from InjectionReflector

Inherited from AnyRef

Inherited from Any

Ungrouped