예제 #1
0
 @Override
 public void visitArchive(IFile jar) {
   if (knownArchives.add(jar)) {
     System.out.println("jar: " + jar.name());
     ecj.addClasspathEntry(jar);
   }
 }
예제 #2
0
 @Override
 public void visitExternalProject(Project project) {
   if (knownProjects.add(project.name())) {
     project.accept(this);
   }
 }
예제 #3
0
 @Override
 public void visit(Project project, String name) {
   System.out.println("adding project: " + name);
   knownProjects.add(name);
 }