[aspectwerkz-dev] [jira] Deleted: (AW-119) Add 'within' construct: pointcut filtering (fine-grained transformation scopes)

"[email protected] (JIRA)" <jira-yCVjj/[email protected]> Fri, 3 Aug 2007 07:11:23 +1000 (EST)
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
     [ http://jira.codehaus.org/browse/AW-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

[email protected] deleted AW-119:
---------------------------------


> Add 'within' construct: pointcut filtering (fine-grained transformation scopes)
> -------------------------------------------------------------------------------
>
>                 Key: AW-119
>                 URL: http://jira.codehaus.org/browse/AW-119
>             Project: AspectWerkz
>          Issue Type: New Feature
>            Reporter: Jonas Boner
>            Assignee: Jonas Boner
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> Add within pointcut filtering.
> Should work similar to the 'within(...)' construct in AspectJ.
> E.g. filter out classes on pointcut level.
> Proposed syntax. Define a 'within' "pointcut":
>     /**
>      * @Within foo.bar.*
>      */
>     Pointcut withinFooBar;
> And then use it to filter on class level in the other pointcut expressions:
>     /**
>      * @Execution int *..*.get*() && withinFooBar
>      */
>     Pointcut withinFooBar;
> The only objection against this approach is that the 'within' construct is not really a pointcut but a filter.
> One other solution is to add a new construct, 'Filter':
>     /**
>      * @Within foo.bar.*
>      */
>     Filter withinFooBar;
> Ideas?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email