Don't gen a new constructor. Use the add "constructor parameter" intention 
instead. It works great. 

-- Brian

Sent from my iPhone 

> On Oct 20, 2014, at 6:37 PM, Kevin Burton <[email protected]> wrote:
> 
> IF I need to add a new dependency in a constructor, I just go ahead and add a 
> new final member (so it forces me to add it in the constructor), then I tell 
> intellij to regen a new constructor.
> 
> ... which it does.
> 
> But it either deletes @Inject or puts it BELOW the constructor.
> 
> This seems like a trivial problem but it's bitten me like 3-5 times now. 
> 
> IS there a workaround?
> -- 
> You received this message because you are subscribed to the Google Groups 
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-guice.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-guice/1255c62d-fb10-4006-8c1b-aafc8703b59c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/74990CE7-1C74-4321-8999-6A186D1ACF5C%40pontarelli.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to