why do you need that? what would be the use?

static final fields are final (ta-da), you can't change them (without VM
specific nasty codes)
i

On Mon, May 9, 2011 at 6:20 PM, Jarrod Roberson
<[email protected]>wrote:

> I am trying to evaluate Guice as our standard for doing what it does best.
>
> But I am having a hard time accepting some of the trade offs?
>
> I like the auto-magically assigning with @Inject private static Logger
> logger;
>
> But I don't want to sacrifice the ability to make that "final" as well.
>
> Is there some magical incantation to allow me to specify injects on private
> static final variables?
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" 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?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" 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?hl=en.

Reply via email to