| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <title> |
| What happens if I write my aspects in .java files? |
| </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> |
| What happens if I write my aspects in .java files? |
| </h1> |
| <p> |
| AJDT does not support aspects written in .java files. Although |
| the compiler will compile them correctly, you will find some |
| loss of functionality in AJDT if you do use .java files for your aspects: |
| |
| <ul> |
| <li>The Outline and Package Explorer views will not show aspects or their contents.</li> |
| <li>The Cross References view will not show any information for an aspect in a .java file, although it will |
| show information for any classes advised by that aspect.</li> |
| </ul> |
| </p> |
| <p> |
| |
| </p> |
| <p> |
| <img src="../../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159"> <br> |
| |
| <a href="../../concepts/editor.htm">AspectJ editor</a> |
| </p> |
| |
| <p><img border="0" width="159" height="27" src="../../images/ngrelt.gif" alt="Related tasks"><br> |
| <a href="../../tasks/newaspect.htm">Creating a new aspect</a><br> |
| <a href="../../tasks/convertingextensions.htm">Converting file extensions</a> |
| </p> |
| |
| <p> |
| <a href="../../notices.html"><img src="../../cpy.gif" border="0" alt="Legal notices" width="324" height="14"></a> |
| </p> |
| </body> |
| </html> |
| |