Package com.complexible.common.inject

# Class Injectors

java.lang.Object
com.complexible.common.inject.Injectors

public final class Injectors extends Object

Utility class for working with Injectors and Guice in general.

Since:
  1.2
Version:
  2.2.1
Author:
  Michael Grove

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T> void`
  `install(com.google.inject.Binder theBinder, Class<T> theClass)`
  `static <T> Iterable<? extends T>`
  `instancesOf(com.google.inject.Injector theInjector, Class<T> theClass)`
  `static void`
  `prettyPrintErrors(Iterable<com.google.inject.spi.Message> theErrors)`
  `static <T> Iterable<com.google.inject.Provider<T>>`
  `providers(com.google.inject.Injector theInjector, Class<T> theClass)`
  `static <T> Iterable<com.google.inject.Provider<T>>`
  `providers(List<com.google.inject.Binding<T>> theBindingsByType)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### instancesOf

    public static <T> Iterable<? extends T> instancesOf(com.google.inject.Injector theInjector, Class<T> theClass)

  - ### providers

    public static <T> Iterable<com.google.inject.Provider<T>> providers(com.google.inject.Injector theInjector, Class<T> theClass)

  - ### providers

    public static <T> Iterable<com.google.inject.Provider<T>> providers(List<com.google.inject.Binding<T>> theBindingsByType)

  - ### prettyPrintErrors

    public static void prettyPrintErrors(Iterable<com.google.inject.spi.Message> theErrors)

  - ### install

    public static <T> void install(com.google.inject.Binder theBinder, Class<T> theClass)