View Javadoc

1   /***************************************************************************************
2    * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved.                 *
3    * http://aspectwerkz.codehaus.org                                                    *
4    * ---------------------------------------------------------------------------------- *
5    * The software in this package is published under the terms of the LGPL license      *
6    * a copy of which has been included with this distribution in the license.txt file.  *
7    **************************************************************************************/
8   package org.codehaus.aspectwerkz.transform;
9   
10  /***
11   * Generic interface for the code generation compilers used in the AspectWerkz weaver.
12   *
13   * @author <a href="mailto:jboner@codehaus.org">Jonas BonŽr </a>
14   */
15  public interface Compiler {
16  
17      /***
18       * Compiles the code and returns the bytecode for the compiled code.
19       *
20       * @return the bytecode for the compiled code
21       */
22      public byte[] compile();
23  }