How does AspectJ integrate with existing Java development tools?
AspectJ products are designed to make it easy to integrate AspectJ into an existing development process. Each release includes Ant tasks for building programs, the AspectJ Development Environment (AJDE) for writing aspects inside popular IDE’s, and command-line tools for compiling and documenting Java and AspectJ code. AspectJ provides replacements for standard Java tools: • ajc, the AspectJ compiler, runs on any Java 2 compatible platform, and produces classes that run on any Java 1.1 (or later) compatible platform. • ajdoc produces API documentation like javadoc, with additional crosscutting links. For example, it shows advice affecting a particular method or all code affected by a given aspect. At present, ajdoc is only supported in AspectJ 1.0. For debugging, AspectJ supports JSR-45, which provides a mechanism for debugging .class files that have multiple source files. Debugger clients and VM’s are beginning to support this; see Sun’s J2SE 1.4.1 VM and jdb debugger and recent versi