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.)
Original issue reported on code.google.com by phopkins on 24 Dec 2008 at 3:25
Original issue reported on code.google.com by
phopkins
on 24 Dec 2008 at 3:25