| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <title> |
| Advice markers |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| </head> |
| <body> |
| <h1> |
| Advice markers |
| </h1> |
| <p> |
| In this section you will use advice markers to navigate between advised and advising source locations. |
| </p> |
| |
| <ol> |
| <li> Make sure that the <em>World</em> aspect is open in the editor. There should |
| be one marker in the left hand margin. |
| </li> |
| <li> Right click on the marker. Select <strong>Advises > |
| Hello.sayHello()</strong> to navigate to the advised method. |
| <p><img src="../images/marker.png" alt="Advice marker navigation"> |
| </p> |
| </li> |
| <li>The <em>Hello</em> class opens in the editor. There should |
| be one marker in the left hand margin. |
| </li> |
| <li> Right click on this marker. Select <strong>Advised By > |
| World.afterReturning(): greeting...</strong> to navigate to the advice in effect. |
| <p><img src="../images/marker2.png" alt="Advice marker navigation"> |
| </p> |
| </li> |
| </ol> |
| |
| <p> |
| <img border="0" src="../images/ngrelc.gif" alt="Related concepts" width="159" height="27"> |
| </p> |
| <p> |
| <a href="../concepts/editor.htm">AspectJ editor</a><br> |
| </p> |
| <p> |
| <img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159"> |
| </p> |
| <p> |
| <a href="../tasks/markers.htm">Navigating with advice markers</a><br> |
| </p> |
| |
| </body> |
| </html> |
| |