Version 9

    Annotation compiler

     

    See the examples for more info, but JBossAOP can generate XML metadata that provides JSR-175-like functionality from doclet tags OR it can embed JDK 1.5 compliant bytecode into a JDK 1.4 class by parsing doclet tags.  This compiler can be run at the command line or via ANT.  The examples have an example of using ANT, so I won't describe it here, but to run on command line:

     

    
    $ java org.jboss.aop.standalone.AnnotationCompiler [-xml -o outputfile ] [-bytecode] <files>+
    
    

     

    The default output file is metadata-aop.xml.