1 24 25 package org.aspectj.compiler.base; 26 import org.aspectj.compiler.base.ast.*; 27 28 import org.aspectj.tools.ide.SymbolManager; 29 30 31 import java.util.*; 32 import java.io.*; 33 34 public class ByteCodeGenerator extends AbstractCompilerPass implements CompilationUnitPass { 35 36 public ByteCodeGenerator(JavaCompiler compiler) { 37 super(compiler); 38 } 39 40 public String getDisplayName() { 41 return "dumping bytes "; 42 } 43 44 public void transform(CompilationUnit cu) { 45 try { 46 cu.generateBytecode(getOptions().outputDir); 47 } catch (IOException ioe) { 48 getCompiler().internalError(ioe, cu); 49 } 50 } 51 52 } 53 | Popular Tags |