Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Pointcut to execution within execution

I'm not 100% sure of this, but you would be using a call pointcut - not an execution pointcut.

So something like call( * A.doA(..) ).

This would advise any calls to A.doA() method from the call location (ie: B.doB().doA()). An execution pointcut would advise A.doA().

Eric



On Wed, Jul 9, 2014 at 12:59 PM, vach <vachagan.balayan@xxxxxxxxx> wrote:
Is it possible to match execution within execution?

class A{
    doA(){}
}

class B{
    doB{
        doA(); // <---- how to point at this execution?
    }
}



--
View this message in context: http://aspectj.2085585.n4.nabble.com/Pointcut-to-execution-within-execution-tp4651472.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top