Awesome. The upside is users would likely get these analyses by having
guice.jar in their class path. The downside is that java annotation
processing can't do quite as detailed an analysis of things as can
error-prone, which uses javac internals and AST stuff. That said, I
think the checks we have in mind are, in all cases, within the feature
set of java annotation processing. So I think we're good.
Side note - the error-prone folks have gotten some warmth towards the
idea of integrating the error-prone maven plugin as a part of the
maven-compiler-plugin's underpinnings, so it can just be "yet another
compiler" option, so it is trivial to use.
All in all, it's a good time for java tooling and analysis. :)
Christian.
On 2 Aug 2013, at 12:52, Sam Berlin wrote:
The more that can be done by default at compile time with Guice, the
better!
On Fri, Aug 2, 2013 at 3:45 PM, Steven Goldfeder
<[email protected]>wrote:
Hi everyone,
As a follow up to Christian's
post<https://groups.google.com/forum/#!topic/google-guice/c8nLliAZ0lQ>
about
static analysis using error-prone
<https://code.google.com/p/error-prone/>:
would there be interest in adding an annotation processor to Guice so
that
we can give compile time errors without depending directly on
error-prone?
With a few exceptions, the errors given by the annotation processor
would
overlap with the ones that are (or soon will be) in error-prone, but
if
there's an interest, we can add most of them as an annotation
processor in
Guice.
If there is an interest, I'd like to complete this in the next few
weeks,
so feedback is greatly appreciated.
Thanks!
Steven
--
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.
For more options, visit https://groups.google.com/groups/opt_out.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.
Christian Gruber :: Google, Inc. :: Java Core Libraries :: Dependency
Injection
email: [email protected] :::: mobile: +1 (646) 807-9839
--
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.
For more options, visit https://groups.google.com/groups/opt_out.