[
https://issues.jboss.org/browse/SEAMCATCH-24?page=com.atlassian.jira.plug...
]
Dan Allen commented on SEAMCATCH-24:
------------------------------------
It turns out Solder already supports this, just not as a single method. Currently, the
supported logic is:
if (AnnotationInspector.isAnnotationPresent(type, HandlesExceptions.class, false, bm) ||
AnnotationInspector.isAnnotationPresent(type, HandlesExceptions.class, true, bm)) {
...
}
The false means only look on the element (the type) and the true means only look for it on
the stereotypes. I'll enhance Solder to have a more intuitive method.
Honor the use of HandlesExceptions on a stereotype
--------------------------------------------------
Key: SEAMCATCH-24
URL:
https://issues.jboss.org/browse/SEAMCATCH-24
Project: Seam Catch
Issue Type: Feature Request
Components: Core Implementation
Affects Versions: 3.0.0.Alpha2
Reporter: Dan Allen
Assignee: Dan Allen
Priority: Minor
Fix For: 3.0.0.Alpha4
The HandlesExceptions should be permitted on a stereotype so annotations can be
consolidated.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira