Advice markers

In this section you will use advice markers to navigate between advised and advising source locations.

  1. Make sure that the  World aspect is open in the editor. There should be one marker in the left hand margin.
  2. Right click on the marker. Select Advises > Hello.sayHello() to navigate to the advised method.

    Advice marker navigation

  3. The Hello class opens in the editor. There should be one marker in the left hand margin.
  4. Right click on this marker. Select Advised By > World.afterReturning(): greeting... to navigate to the advice in effect.

    Advice marker navigation

Related concepts

AspectJ editor

Related tasks

Navigating with advice markers