Package edu.umd.cs.findbugs
Class NoOpFindBugsProgress
java.lang.Object
edu.umd.cs.findbugs.NoOpFindBugsProgress
- All Implemented Interfaces:
IClassPathBuilderProgress
,FindBugsProgress
- Author:
- David Hovemeyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Report that FindBugs has finished scanning an archive in order to add its classes to the repository.void
Report that FindBugs has finished analyzing a class.void
Called to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.void
predictPassCount
(int[] classesPerPass) Provide an array that predicts the number of classes in each passvoid
reportNumberOfArchives
(int numArchives) Report the total number of archives (Jar or zip files) that will be analyzed.void
startAnalysis
(int numClasses) Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.void
startArchive
(String name) Report that FindBugs has started scanning an archive in order to add its classes to the repository.
-
Constructor Details
-
NoOpFindBugsProgress
public NoOpFindBugsProgress()
-
-
Method Details
-
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 interfaceFindBugsProgress
- Parameters:
numArchives
- the number of archives
-
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 interfaceFindBugsProgress
- Specified by:
finishArchive
in interfaceIClassPathBuilderProgress
-
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 interfaceFindBugsProgress
- Parameters:
numClasses
- number of classes found in all of the archives
-
finishClass
public void finishClass()Description copied from interface:FindBugsProgress
Report that FindBugs has finished analyzing a class.- Specified by:
finishClass
in interfaceFindBugsProgress
-
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 interfaceFindBugsProgress
-
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 interfaceFindBugsProgress
- Parameters:
classesPerPass
-
-
startArchive
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 interfaceFindBugsProgress
- Specified by:
startArchive
in interfaceIClassPathBuilderProgress
-