Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] cflow Below problem

Hello eric,
  sorry it was a typo....
well, everything works but not as expected.....

void around() : cflow(deleteObject()) && checkStatus() {
       System.err.println("Pointcut intercepted!!!!..");
       return;
}


i placed a return because i wanted to skip the call to checkStatus if the call
was being made in the cflow of deleteObject, but with that return, the whole
deleteObject method won't get executed........while in my case i want only the
call to checkStatus not to be executed......

how could i do that, and still allow the rest of deleteOBject method to be executed?

thanks and regards
 marco

Back to the top