public interface

ProvidesMethodBinding

implements HasDependencies
com.google.inject.spi.ProvidesMethodBinding<T>

Class Overview

An @Provides binding.

Summary

Public Methods
abstract Object getEnclosingInstance()
Returns the instance of the object the method is defined in.
abstract Key<T> getKey()
Returns the key of the binding.
abstract Method getMethod()
Returns the method this binding uses.
[Expand]
Inherited Methods
From interface com.google.inject.spi.HasDependencies

Public Methods

public abstract Object getEnclosingInstance ()

Returns the instance of the object the method is defined in.

public abstract Key<T> getKey ()

Returns the key of the binding.

public abstract Method getMethod ()

Returns the method this binding uses.