Examples of BugReporterInspectionEventImpl


Examples of org.twodividedbyzero.idea.findbugs.common.event.types.BugReporterInspectionEventImpl

    }
    _filteredBugCount++;
    observeClass(bug.getPrimaryClass().getClassDescriptor());

    if (_isInspectionRun) {
      EventManagerImpl.getInstance().fireEvent(new BugReporterInspectionEventImpl(BugReporterInspectionEvent.Operation.NEW_BUG_INSTANCE, bug, _filteredBugCount, getProjectStats(), _project.getName()));
    } else {
      EventManagerImpl.getInstance().fireEvent(new BugReporterEventImpl(BugReporterEvent.Operation.NEW_BUG_INSTANCE, bug, _filteredBugCount, getProjectStats(), _project.getName()));
    }
  }
View Full Code Here

Examples of org.twodividedbyzero.idea.findbugs.common.event.types.BugReporterInspectionEventImpl

    if (progressIndicator != null) {
      progressIndicator.finishNonCancelableSection();
    }

    if (_isInspectionRun) {
      EventManagerImpl.getInstance().fireEvent(new BugReporterInspectionEventImpl(org.twodividedbyzero.idea.findbugs.common.event.types.BugReporterInspectionEvent.Operation.ANALYSIS_FINISHED, null, getBugCollection(), _project.getName(), _findBugsProject));
    } else {
      EventManagerImpl.getInstance().fireEvent(new BugReporterEventImpl(Operation.ANALYSIS_FINISHED, null, getBugCollection(), _project.getName(), _findBugsProject));
    }

    setRunning(false);
View Full Code Here

Examples of org.twodividedbyzero.idea.findbugs.common.event.types.BugReporterInspectionEventImpl

    if (progressIndicator != null && progressIndicator.isCanceled()) {
      // causes break in FindBugs main loop
      Thread.currentThread().interrupt();

      if (_isInspectionRun) {
        EventManagerImpl.getInstance().fireEvent(new BugReporterInspectionEventImpl(org.twodividedbyzero.idea.findbugs.common.event.types.BugReporterInspectionEvent.Operation.ANALYSIS_ABORTED, _project.getName()));
      } else if (!isRunning()) {
        EventManagerImpl.getInstance().fireEvent(new BugReporterEventImpl(Operation.ANALYSIS_ABORTED, _project.getName()));
      }
    }
View Full Code Here

Examples of org.twodividedbyzero.idea.findbugs.common.event.types.BugReporterInspectionEventImpl

    _pass++;
    //_findBugsTask.setIndicatorText("Analyzing classes: " + numClasses);
    beginStage(ANALYZING_CLASSES_i18N, numClasses);

    if (_isInspectionRun) {
      EventManagerImpl.getInstance().fireEvent(new BugReporterInspectionEventImpl(org.twodividedbyzero.idea.findbugs.common.event.types.BugReporterInspectionEvent.Operation.ANALYSIS_STARTED, null, 0, _project.getName()));
    } else if (!isRunning()) {
      EventManagerImpl.getInstance().fireEvent(new BugReporterEventImpl(Operation.ANALYSIS_STARTED, null, 0, _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.