google / google/guice

Tool for finding problem interceptors

Open
#294 3 comments 0 reactions 0 assignees View on GitHub
imported Priority-Medium Type-Extension
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

_From [limpbizkit](https://code.google.com/u/limpbizkit/) on December 29, 2008 14:35:04_

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: http://code.google.com/p/google-guice/issues/detail?id=294_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.