If you really really really want to do this thing that we are both
suggesting is a bad idea, you can do one of the following in AppModule

public static MyServiceImpl buildMyServiceImpl(…) {
   return new MyServiceImpl(…);
}

OR

public static void bind(ServiceBinder binder) {
   binder.bind(MyServiceImpl.class, MyServiceImpl.class);
}

And then you can:

@Inject
private MyServiceImpl myService;

Reply via email to