[jboss-jira] [JBoss JIRA] Commented: (JBAOP-276) Construct to only match classes within a package

Kabir Khan (JIRA) jira-events at jboss.com
Tue Jan 23 18:56:56 EST 2007


    [ http://jira.jboss.com/jira/browse/JBAOP-276?page=comments#action_12351490 ] 
            
Kabir Khan commented on JBAOP-276:
----------------------------------

I went with the notation com.blah..

e.g. execution(* org.acme..->*(..))

It works in place of the class expression in execution, construction, field, get, set, call, within and withincode. 

For now, I don't think it is useful for return types, parameters and in instanceof expressions


> Construct to only match classes within a package
> ------------------------------------------------
>
>                 Key: JBAOP-276
>                 URL: http://jira.jboss.com/jira/browse/JBAOP-276
>             Project: JBoss AOP
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Kabir Khan
>         Assigned To: Flavia Rainone
>             Fix For: 2.0.0.alpha3
>
>
> field(* org.jboss.*->i) matches both
> org.jboss.Foo.i and org.jboss.sub.sub.sub.Bar.i
> Should be able to narrow this down to just the package,
> e.g.
> field(* $package{org.jboss}->i) matches onlyu org.jboss.Foo.i and org.jboss.Bar.i

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list