[[basics:intro|Intro]] [[basics:ex1|Ex1]] [[basics:ex2|Ex2]] [[basics:ex3|Ex3]] [[basics:ex4|Ex4]] [[basics:ex5|Ex5]] [[basics:ex6|Ex6]] [[basics:ex7|Ex7]] ====== The Basics: Exercise 5 ====== Add another advice to the aspect ''Basics'' that only prints a message when the ''stop'' method is executed through the ''start'' method. Employ the primitive pointcut ''cflow(//Pointcut//)'' to match join points within the control flow of the join points matched by a given pointcut. Rerun the application and verify that the advice does not trigger when ''stop'' is executed from the ''main'' method. ---- Continue with [[basics:ex6|Exercise 6]].