1 24 25 package org.aspectj.compiler.base; 26 27 import org.aspectj.compiler.base.ast.*; 28 29 30 import java.util.*; 31 32 33 public class ContextBuilder extends AbstractCompilerPass implements WorldPass, CompilationUnitPass { 34 35 public ContextBuilder(JavaCompiler compiler) { 36 super(compiler); 37 } 38 39 public void transformWorld() { 40 Enumeration cuEnum = getWorld().enumerateCompilationUnits(); 41 while (cuEnum.hasMoreElements()) { 42 transform((CompilationUnit)cuEnum.nextElement()); 43 } 44 } 45 46 public void transform(CompilationUnit cu) { 47 getCompiler().showMessage(" building contexts"); 48 } 50 51 public String getDisplayName() { 52 return "building "; 54 } 55 } 56 | Popular Tags |