Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] capturing a tricky joinpoint


public class myclass
{
        public void mymethod()
        {
                ..
                veryimpmethod1(..);
                ..
                veryimpmethod2(..);
        }
}

I want to write a pointcut which means "any method execution in whose control flow there is a call to method veryimpmethod2() if there is a call to veryimpmethod1()". Is this possible?
Basically I want to know if anywhere in my code(all of my code base) I have called first function veryimpmethod1() but not veryimpmethod2(). Any help is appreciated.
thanks and regards,
Harikishore T.



************************************************************************
This E-mail is confidential. It may also be legally privileged. If you
are not the addressee you may not copy, forward, disclose or use any
part of it. If you have received this message in error, please delete
it and all copies from your system and notify the sender immediately
by return E-mail.

Internet communications cannot be guaranteed to be timely, secure,
error or virus-free. The sender does not accept liability for any
errors or omissions.
****************** ******************************************************


Back to the top