frjaeger220 / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

Findbugs bug definitions for Guice #238

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We should figure out how to write some FindBugs bug detectors for Guice
users. In-IDE static analysis would be slightly better, but this would be a
good start.

Some probable-bugs of interest:
 - A module calling submodule.configure(binder) instead of
binder.install(submodule). The first one won't get Provider Methods.
 - Misplaced annotations, such as scoping annotations on interfaces

Generally of course we'd prefer to write our API so that these types of
bugs can't happen!

Original issue reported on code.google.com by limpbizkit on 22 Aug 2008 at 5:42

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 31 Dec 2008 at 1:16

GoogleCodeExporter commented 9 years ago
https://github.com/tomfitzhenry/findbugs-guice detects the problems raised in 
this task. Release 0.1 has been released and is ready for use.

Please suggest any more problems that findbugs-guice ought to detect.

Original comment by goo...@tom-fitzhenry.me.uk on 29 Aug 2011 at 2:57

GoogleCodeExporter commented 9 years ago
The new stuff is error-prone, and we have pending error prone errors for Guice 
specificially.  This isn't really a guice project issue. 

Original comment by cgruber@google.com on 18 Nov 2013 at 8:12