Class AnalyzingDialog

All Implemented Interfaces:
IClassPathBuilderProgress, FindBugsProgress, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public final class AnalyzingDialog extends FBDialog implements FindBugsProgress
See Also:
  • Method Details

    • show

      public static void show(@Nonnull Project project)
    • show

      public static void show(@Nonnull Project project, AnalysisCallback callback, boolean joinThread)
      Parameters:
      project - The Project to analyze
      callback - contains what to do if the analysis is interrupted and what to do if it finishes normally
      joinThread - Whether or not this constructor should return before the analysis is complete. If true, the constructor does not return until the analysis is either finished or interrupted.
    • finishArchive

      public void finishArchive()
      Description copied from interface: FindBugsProgress
      Report that FindBugs has finished scanning an archive in order to add its classes to the repository.
      Specified by:
      finishArchive in interface FindBugsProgress
      Specified by:
      finishArchive in interface IClassPathBuilderProgress
    • finishClass

      public void finishClass()
      Description copied from interface: FindBugsProgress
      Report that FindBugs has finished analyzing a class.
      Specified by:
      finishClass in interface FindBugsProgress
    • finishPerClassAnalysis

      public void finishPerClassAnalysis()
      Description copied from interface: FindBugsProgress
      Called to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.
      Specified by:
      finishPerClassAnalysis in interface FindBugsProgress
    • reportNumberOfArchives

      public void reportNumberOfArchives(int numArchives)
      Description copied from interface: FindBugsProgress
      Report the total number of archives (Jar or zip files) that will be analyzed.
      Specified by:
      reportNumberOfArchives in interface FindBugsProgress
      Parameters:
      numArchives - the number of archives
    • startAnalysis

      public void startAnalysis(int numClasses)
      Description copied from interface: FindBugsProgress
      Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.
      Specified by:
      startAnalysis in interface FindBugsProgress
      Parameters:
      numClasses - number of classes found in all of the archives
    • predictPassCount

      public void predictPassCount(int[] classesPerPass)
      Description copied from interface: FindBugsProgress
      Provide an array that predicts the number of classes in each pass
      Specified by:
      predictPassCount in interface FindBugsProgress
    • startArchive

      public void startArchive(String name)
      Description copied from interface: FindBugsProgress
      Report that FindBugs has started scanning an archive in order to add its classes to the repository.
      Specified by:
      startArchive in interface FindBugsProgress
      Specified by:
      startArchive in interface IClassPathBuilderProgress