Interface AssistedMethod


  • public interface AssistedMethod
    Details about how a method in an assisted inject factory will be assisted.
    Since:
    3.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<com.google.inject.spi.Dependency<?>> getDependencies()
      Returns all non-assisted dependencies required to construct and inject the implementation.
      java.lang.reflect.Method getFactoryMethod()
      Returns the factory method that is being assisted.
      java.lang.reflect.Constructor<?> getImplementationConstructor()
      Returns the constructor that will be used to construct instances of the implementation.
      com.google.inject.TypeLiteral<?> getImplementationType()
      Returns the implementation type that will be created when the method is used.
    • Method Detail

      • getFactoryMethod

        java.lang.reflect.Method getFactoryMethod()
        Returns the factory method that is being assisted.
      • getImplementationType

        com.google.inject.TypeLiteral<?> getImplementationType()
        Returns the implementation type that will be created when the method is used.
      • getImplementationConstructor

        java.lang.reflect.Constructor<?> getImplementationConstructor()
        Returns the constructor that will be used to construct instances of the implementation.
      • getDependencies

        java.util.Set<com.google.inject.spi.Dependency<?>> getDependencies()
        Returns all non-assisted dependencies required to construct and inject the implementation.