Пример #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);
 }