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 voidaddBugCategories(Set<String> bugCategorySet) Add BugCategory elements.private voidaddBugCodes(Set<String> bugCodeSet) Add BugCode elements.private voidaddBugPatterns(Set<String> bugTypeSet) voidexecute()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
-
addBugCodes
-
addBugPatterns
-
main
-