[ http://jira.jboss.com/jira/browse/JBAOP-54?page=comments#action_12310936 ] Kabir Khan commented on JBAOP-54: ---------------------------------
Just commited support for declare-warning and declare-error via XML, and a "visual" compile time test (I cannot see any way to automate this completely right now. The test is a separate target: $ant compiletime-declare Rather than creating a joinpoint query thing I plugged this into the Instrumentor and CallerTransformer, since they are iterating over everything anyway. You can match on type expressions (i.e. does this class implement this method) or on method/constructor calls. TBD: -Define via annotations -Loadtime tests -Once "[JBAOP-45]callfield pointcut" has been done, this should be added to this. Created new task JBAOP-57. -Create tutorial > Declare error/warning > --------------------- > > Key: JBAOP-54 > URL: http://jira.jboss.com/jira/browse/JBAOP-54 > Project: JBoss AOP > Type: Feature Request > Versions: 1.1 > Reporter: Bill Burke > Assignee: Kabir Khan > Fix For: 1.1 > > > This is like AspectJ's declare error/warning. I think this should be part of > a more generic service that can return joinpoints based on a pointcut query. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
