Uses of Interface
edu.umd.cs.findbugs.BugCollection
-
Packages that use BugCollection Package Description edu.umd.cs.findbugs Main package for the FindBugs application - contains the engine class (FindBugs), the object model classes for bug instances (BugInstance, BugAnnotation), and other miscellany.edu.umd.cs.findbugs.cloud edu.umd.cs.findbugs.cloud.username edu.umd.cs.findbugs.gui2 edu.umd.cs.findbugs.model Eventually, all model classes (BugInstance, BugCollection, etc.) should go in this package.edu.umd.cs.findbugs.workflow -
-
Uses of BugCollection in edu.umd.cs.findbugs
Classes in edu.umd.cs.findbugs that implement BugCollection Modifier and Type Class Description class
SortedBugCollection
An implementation ofBugCollection
that keeps the BugInstances sorted by class (using the native comparison ordering of BugInstance's compareTo() method as a tie-breaker).Methods in edu.umd.cs.findbugs that return BugCollection Modifier and Type Method Description BugCollection
BugCollection. createEmptyCollectionWithMetadata()
Create a new empty BugCollection with the same metadata as this one.BugCollection
AddAnnotation. getBugCollection()
BugCollection
BugCollectionBugReporter. getBugCollection()
BugCollection
BugReporter. getBugCollection()
Get the bug collection (if any) associated with this bug reporterBugCollection
DelegatingBugReporter. getBugCollection()
BugCollection
EmacsBugReporter. getBugCollection()
BugCollection
PrintingBugReporter. getBugCollection()
BugCollection
SortingBugReporter. getBugCollection()
BugCollection
XDocsBugReporter. getBugCollection()
Methods in edu.umd.cs.findbugs with parameters of type BugCollection Modifier and Type Method Description int
FuzzyBugComparator. compareClasses(BugCollection lhsCollection, BugCollection rhsCollection, ClassAnnotation lhsClass, ClassAnnotation rhsClass)
int
FuzzyBugComparator. compareClassesByName(BugCollection lhsCollection, BugCollection rhsCollection, java.lang.String lhsClassName, java.lang.String rhsClassName)
int
FuzzyBugComparator. compareMethods(BugCollection lhsCollection, BugCollection rhsCollection, MethodAnnotation lhsMethod, MethodAnnotation rhsMethod)
int
FuzzyBugComparator. compareSourceLines(BugCollection lhsCollection, BugCollection rhsCollection, SourceLineAnnotation lhs, SourceLineAnnotation rhs)
Compare source line annotations.void
ProjectStats. computeFileStats(BugCollection bugs)
java.util.Map<java.lang.String,java.lang.String>
ProjectStats. getFileHashes(BugCollection bugs)
void
FuzzyBugComparator. registerBugCollection(BugCollection bugCollection)
Register a BugCollection.void
CommandLineUiCallback. registerCloud(Project project, BugCollection collection, Cloud cloud)
void
IGuiCallback. registerCloud(Project project, BugCollection collection, Cloud cloud)
Called as soon as the cloud object is created, before it is initialized.void
QueryBugAnnotations. scan(BugCollection bugCollection, java.lang.String filename)
Scan bug instances contained in given bug collection, reporting those whose text annotations contain at least one of the keywords in the query.void
BugInstance. setAnnotationText(java.lang.String annotationText, BugCollection bugCollection)
Set the user annotation text.void
BugInstance. setUserDesignationKey(java.lang.String key, BugCollection bugCollection)
void
BugInstance. setUserDesignationKeyIndex(int index, BugCollection bugCollection)
static void
BugRanker. trimToMaxRank(BugCollection origCollection, int maxRank)
void
CommandLineUiCallback. unregisterCloud(Project project, BugCollection collection, Cloud cloud)
void
IGuiCallback. unregisterCloud(Project project, BugCollection collection, Cloud cloud)
void
BugInstance. writeXML(XMLOutput xmlOutput, BugCollection bugCollection, boolean addMessages)
void
Project. writeXML(XMLOutput xmlOutput, java.io.File destination, BugCollection bugCollection)
void
Project. writeXML(java.io.File f, BugCollection bugCollection)
Constructors in edu.umd.cs.findbugs with parameters of type BugCollection Constructor Description AddAnnotation(BugCollection bugCollection, java.lang.String annotation)
AddMessages(BugCollection bugCollection, org.dom4j.Document document)
Constructor.SAXBugCollectionHandler(BugCollection bugCollection)
SAXBugCollectionHandler(BugCollection bugCollection, java.io.File base)
-
Uses of BugCollection in edu.umd.cs.findbugs.cloud
Fields in edu.umd.cs.findbugs.cloud declared as BugCollection Modifier and Type Field Description protected BugCollection
AbstractCloud. bugCollection
Methods in edu.umd.cs.findbugs.cloud that return BugCollection Modifier and Type Method Description BugCollection
AbstractCloud. getBugCollection()
BugCollection
Cloud. getBugCollection()
BugCollection
DoNothingCloud. getBugCollection()
Methods in edu.umd.cs.findbugs.cloud with parameters of type BugCollection Modifier and Type Method Description static Cloud
CloudFactory. createCloudWithoutInitializing(BugCollection bc)
static CloudPlugin
CloudFactory. getCloudPlugin(BugCollection bc)
static Cloud
CloudFactory. getPlainCloud(BugCollection bc)
static Cloud
CloudFactory. handleInitializationException(BugCollection bc, CloudPlugin plugin, java.lang.Throwable e)
static void
CloudFactory. initializeCloud(BugCollection bc, Cloud cloud)
Constructors in edu.umd.cs.findbugs.cloud with parameters of type BugCollection Constructor Description AbstractCloud(CloudPlugin plugin, BugCollection bugs, java.util.Properties properties)
BugCollectionStorageCloud(CloudPlugin plugin, BugCollection bc, java.util.Properties properties)
Constructor is not protected to allow CloudFactory.createCloudWithoutInitializing() create a new instance of this cloudDoNothingCloud(BugCollection bc)
DoNothingCloud(CloudPlugin plugin, BugCollection bc, java.util.Properties props)
Invoked via reflection -
Uses of BugCollection in edu.umd.cs.findbugs.cloud.username
Methods in edu.umd.cs.findbugs.cloud.username with parameters of type BugCollection Modifier and Type Method Description boolean
LocalNameLookup. signIn(CloudPlugin plugin, BugCollection bugCollection)
boolean
NameLookup. signIn(CloudPlugin plugin, BugCollection bugCollection)
tries to obtain a user name.boolean
NoNameLookup. signIn(CloudPlugin plugin, BugCollection bugCollection)
boolean
PromptForNameLookup. signIn(CloudPlugin plugin, BugCollection bugCollection)
boolean
WebCloudNameLookup. signIn(CloudPlugin plugin, BugCollection bugCollection)
-
Uses of BugCollection in edu.umd.cs.findbugs.gui2
Fields in edu.umd.cs.findbugs.gui2 declared as BugCollection Modifier and Type Field Description protected BugCollection
CloudCommentsPane. _bugCollection
Methods in edu.umd.cs.findbugs.gui2 that return BugCollection Modifier and Type Method Description static BugCollection
BugLoader. combineBugHistories()
TODO: This really needs to be rewritten such that they don't have to choose ALL xmls in one fel swoop.static BugCollection
BugLoader. doAnalysis(Project p)
Does what it says it does, hit apple r (control r on pc) and the analysis is redone using the current projectstatic BugCollection
BugLoader. doAnalysis(Project p, FindBugsProgress progressCallback)
Performs an analysis and returns the BugSet createdBugCollection
MainFrame. getBugCollection()
static BugCollection
BugLoader. redoAnalysisKeepComments(Project p)
Does what it says it does, hit apple r (control r on pc) and the analysis is redone using the current projectMethods in edu.umd.cs.findbugs.gui2 with parameters of type BugCollection Modifier and Type Method Description void
AnalysisCallback. analysisFinished(BugCollection results)
void
MainFrameMenu. enableOrDisableItems(Project curProject, BugCollection bugCollection)
static void
BugSaver. saveBugs(java.io.File out, BugCollection data, Project p)
static void
BugSaver. saveBugs(java.io.Writer out, BugCollection data, Project p)
void
CloudCommentsPane. setBugCollection(BugCollection bugCollection)
-
Uses of BugCollection in edu.umd.cs.findbugs.model
Methods in edu.umd.cs.findbugs.model that return BugCollection Modifier and Type Method Description BugCollection
RegenerateClassFeatures. getBugCollection()
Constructors in edu.umd.cs.findbugs.model with parameters of type BugCollection Constructor Description MovedClassMap(BugCollection before, BugCollection after)
RegenerateClassFeatures(BugCollection bugCollection, java.lang.String jarFile)
-
Uses of BugCollection in edu.umd.cs.findbugs.workflow
Methods in edu.umd.cs.findbugs.workflow that return BugCollection Modifier and Type Method Description BugCollection
MergeSummarizeAndView. getAllBugs()
BugCollection
MergeSummarizeAndView. getScaryBugs()
BugCollection
Update. mergeCollections(BugCollection origCollection, BugCollection newCollection, boolean copyDeadBugs, boolean incrementalAnalysis)
Methods in edu.umd.cs.findbugs.workflow with parameters of type BugCollection Modifier and Type Method Description static FileBugHash
FileBugHash. compute(BugCollection origCollection)
void
TreemapVisualization. generateTreeMap(BugCollection bugCollection)
BugCollection
Update. mergeCollections(BugCollection origCollection, BugCollection newCollection, boolean copyDeadBugs, boolean incrementalAnalysis)
void
Update. removeBaselineBugs(BugCollection baselineCollection, BugCollection bugCollection)
void
Churn. setBugCollection(BugCollection bugCollection)
void
ObfuscateBugs. setBugCollection(BugCollection bugCollection)
void
RebornIssues. setBugCollection(BugCollection bugCollection)
void
TestingGround. setBugCollection(BugCollection bugCollection)
Constructors in edu.umd.cs.findbugs.workflow with parameters of type BugCollection Constructor Description Churn(BugCollection bugCollection)
ObfuscateBugs(BugCollection bugCollection)
RebornIssues(BugCollection bugCollection)
TestingGround(BugCollection bugCollection)
-