| com.google.inject.Context
All known Subclasses: com.google.inject.ExternalContext,
Context | interface Context (Code) | | Context of the current injection.
author: crazybob@google.com (Bob Lee) |
getKey | Key> getKey()(Code) | | Gets the binding key for the object currently being retrieved.
|
getMember | Member getMember()(Code) | | Gets the field, method or constructor which is being injected. Returns
null if the object isn't being injected into anywhere (i.e. it's
preloaded, returned from
Provider.get , etc.).
|
getParameterIndex | int getParameterIndex()(Code) | | Gets the index of the parameter which is being injected. Returns
-1 if a parameter isn't being injected.
|
|
|