Package edu.umd.cs.findbugs.workflow
Class UnionResults
- java.lang.Object
-
- edu.umd.cs.findbugs.workflow.UnionResults
-
public class UnionResults extends java.lang.Object
Compute the union of two sets of bug results, preserving annotations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
UnionResults.UnionResultsCommandLine
-
Constructor Summary
Constructors Constructor Description UnionResults()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static SortedBugCollection
iterateArguments(java.util.List<java.lang.String> arguments, int argCount, SortedBugCollection results, java.util.HashSet<java.lang.String> hashes)
static void
main(java.lang.String[] argv)
static void
merge(java.util.HashSet<java.lang.String> hashes, SortedBugCollection into, SortedBugCollection from)
private static java.util.List<java.lang.String>
readWrappedArguments(java.lang.String fileName)
static SortedBugCollection
union(SortedBugCollection origCollection, SortedBugCollection newCollection)
-
-
-
Method Detail
-
union
public static SortedBugCollection union(SortedBugCollection origCollection, SortedBugCollection newCollection)
-
merge
public static void merge(java.util.HashSet<java.lang.String> hashes, SortedBugCollection into, SortedBugCollection from)
-
main
public static void main(java.lang.String[] argv) throws java.io.IOException
- Throws:
java.io.IOException
-
iterateArguments
private static SortedBugCollection iterateArguments(java.util.List<java.lang.String> arguments, int argCount, SortedBugCollection results, java.util.HashSet<java.lang.String> hashes)
-
readWrappedArguments
private static java.util.List<java.lang.String> readWrappedArguments(java.lang.String fileName) throws java.io.IOException
- Throws:
java.io.IOException
-
-