Package edu.umd.cs.findbugs
Class AddMessages
java.lang.Object
edu.umd.cs.findbugs.AddMessages
Add human-readable messages to a dom4j tree containing FindBugs XML output.
This transformation makes it easier to generate reports (such as HTML) from
the XML.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAddMessages
(BugCollection bugCollection, org.dom4j.Document document) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addBugCategories
(Set<String> bugCategorySet) Add BugCategory elements.private void
addBugCodes
(Set<String> bugCodeSet) Add BugCode elements.private void
addBugPatterns
(Set<String> bugTypeSet) void
execute()
Add messages to the dom4j tree.static void
-
Field Details
-
bugCollection
-
document
private final org.dom4j.Document document
-
-
Constructor Details
-
AddMessages
Constructor.- Parameters:
bugCollection
- the BugCollection the dom4j was generated fromdocument
- the dom4j tree
-
-
Method Details
-
execute
public void execute()Add messages to the dom4j tree. -
addBugCategories
Add BugCategory elements.- Parameters:
bugCategorySet
- all bug categories referenced in the BugCollection
-
addBugCodes
Add BugCode elements.- Parameters:
bugCodeSet
- all bug codes (abbrevs) referenced in the BugCollection
-
addBugPatterns
-
main
- Throws:
Exception
-