Package org.twodividedbyzero.idea.findbugs.core

Examples of org.twodividedbyzero.idea.findbugs.core.FindBugsWorker.work()


    final VirtualFile[] selectedSourceFiles = IdeaUtilImpl.getVirtualFiles(_dataContext);
    worker.configureSourceDirectories(selectedSourceFiles);

    // set class files
    worker.configureOutputFiles(selectedSourceFiles);
    worker.work("Running FindBugs analysis for selected files...");
  }


  private void registerEventListener(final Project project) {
    final String projectName = project.getName();
View Full Code Here


    worker.configureSourceDirectories(selectedSourceFiles);


    // set class files
    worker.configureOutputFiles(selectedSourceFiles);
    worker.work("Running FindBugs analysis for editor files...");

    // Create IFindBugsEngine
    /*final FindBugs2 engine = new FindBugs2();
    engine.setNoClassOk(true);
    engine.setBugReporter(bugReporter);
View Full Code Here

    final VirtualFile[] selectedSourceFiles = modifiedFiles.toArray(new VirtualFile[modifiedFiles.size()]);
    worker.configureSourceDirectories(selectedSourceFiles);

    // set class files
    worker.configureOutputFiles(selectedSourceFiles);
    worker.work("Running FindBugs analysis for changelist '" + changeList.getName() + "'...");
  }


  private void registerEventListener(final Project project) {
    final String projectName = project.getName();
View Full Code Here

    worker.configureSourceDirectories(sourceRoots);

    // set class files
    final String[] outPath = IdeaUtilImpl.getCompilerOutputUrls(project);
    worker.configureOutputFiles(outPath);
    worker.work("Running FindBugs analysis for project '" + project.getName() + "'...");

  }


  private void registerEventListener(final Project project) {
View Full Code Here

    worker.configureSourceDirectories(new VirtualFile[] {selectedSourceFile});

    // set class files
    final PsiClass psiClass = IdeaUtilImpl.getCurrentClass(_dataContext);
    worker.configureOutputFile(psiClass);
    worker.work("Running FindBugs analysis for current class...");

  }


  private void registerEventListener(final Project project) {
View Full Code Here

    final String packageUrl = IdeaUtilImpl.getPackageAsPath(project, packagePath);

    if (outPath != null) {
      final String output = outPath.getPresentableUrl() + packageUrl;
      worker.configureOutputFiles(output);
      worker.work("Running FindBugs analysis for directory '" + output + "'...");
    }
  }


  @Nullable
View Full Code Here

    final VirtualFile[] selectedSourceFiles = modifiedFiles.toArray(new VirtualFile[modifiedFiles.size()]);
    worker.configureSourceDirectories(selectedSourceFiles);

    // set class files
    worker.configureOutputFiles(selectedSourceFiles);
    worker.work("Running FindBugs analysis for modified files...");
  }


  private void registerEventListener(final Project project) {
    final String projectName = project.getName();
View Full Code Here

      return;
    }

    final String outPath = compilerOutpath.getPresentableUrl();
    worker.configureOutputFiles(outPath);
    worker.work("Running FindBugs analysis for module'" + module.getName() + "'...");

  }


  private void registerEventListener(final Project project) {
View Full Code Here

    worker.configureSourceDirectories(sourceRoots);

    // set class files
    final Iterable<String> classes = findClasses(project, scope);
    worker.configureOutputFiles(classes);
    worker.work("Running FindBugs analysis...");
  }


  private void registerEventListener(final Project project) {
    final String projectName = project.getName();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.