Status: New
Owner: ----
New issue 286 by phopkins: ProviderMethod has no InjectionPoints or
Dependencies when Visited
http://code.google.com/p/google-guice/issues/detail?id=286
Steps to reproduce:
class MyModule extends AbstractModule() {
protected void configure() {}
@Provides
Foo provideFoo(Bar bar) {
...
}
}
...
injector.getBinding(Foo.class).acceptTargetVisitor(visitor);
What happens:
When visitor's visitProvider method is called, the set of InjectionPoints
is empty.
What I expect:
An InjectionPoint that will let me get at the method's dependencies, in
this case Bar.
(Ran into this when trying to graph method providers.)
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---