public interface

AssistedMethod

com.google.inject.assistedinject.AssistedMethod

Class Overview

Details about how a method in an assisted inject factory will be assisted.

Summary

Public Methods
abstract Set<Dependency<?>> getDependencies()
Returns all non-assisted dependencies required to construct and inject the implementation.
abstract Method getFactoryMethod()
Returns the factory method that is being assisted.
abstract Constructor<?> getImplementationConstructor()
Returns the constructor that will be used to construct instances of the implementation.
abstract TypeLiteral<?> getImplementationType()
Returns the implementation type that will be created when the method is used.

Public Methods

public abstract Set<Dependency<?>> getDependencies ()

Returns all non-assisted dependencies required to construct and inject the implementation.

public abstract Method getFactoryMethod ()

Returns the factory method that is being assisted.

public abstract Constructor<?> getImplementationConstructor ()

Returns the constructor that will be used to construct instances of the implementation.

public abstract TypeLiteral<?> getImplementationType ()

Returns the implementation type that will be created when the method is used.