Re: requireBinding for a BindingAnotation possible?

2016-09-19 Thread Steve Storck
Thank you, Thomas. That worked well and immediately. On Monday, September 19, 2016 at 9:29:50 AM UTC-4, Thomas Broyer wrote: > > You need to require the Map, not the raw Map class. > > requireBinding(Key.get(new TypeLiteral>(){}, MyMap)) > > On Monday,

Re: requireBinding for a BindingAnotation possible?

2016-09-19 Thread Thomas Broyer
You need to require the Map, not the raw Map class. requireBinding(Key.get(new TypeLiteral>(){}, MyMap)) On Monday, September 19, 2016 at 3:25:03 PM UTC+2, Steve Storck wrote: > > Some of my modules require a binding from another module. I want to set > up a