google-code-export / google-guice

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

Tool for finding problem interceptors #294

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be handy if there were a tool that could inspect an Injector and 
report broken interceptors. 
For example, suppose the user's interceptor matches methods annotated with 
@Transactional. 
When that annotation is applied to a private method, that's likely to be an 
error.

A trivial tool would just detect if any matcher matched non-interceptable 
(private, final etc.) 
methods.

It would also be handy to check if equals(), hashCode() or toString() were 
matched, which often 
indicates a programming error.

Original issue reported on code.google.com by limpbizkit on 29 Dec 2008 at 7:35

GoogleCodeExporter commented 9 years ago
I did a proof of concept some time ago
http://groups.google.com/group/google-guice/browse_thread/thread/848704642285f62
f/

Original comment by robbie.v...@gmail.com on 29 Dec 2008 at 8:52

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 26 Apr 2009 at 9:46