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