Package edu.umd.cs.findbugs
Class BugAnnotationUtil
java.lang.Object
edu.umd.cs.findbugs.BugAnnotationUtil
Utility methods for BugAnnotation classes.
- Author:
- David Hovemeyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
writeXML
(XMLOutput xmlOutput, String elementName, BugAnnotation annotation, XMLAttributeList attributeList, boolean addMessages) Write a BugAnnotation as XML.
-
Constructor Details
-
BugAnnotationUtil
public BugAnnotationUtil()
-
-
Method Details
-
writeXML
public static void writeXML(XMLOutput xmlOutput, String elementName, BugAnnotation annotation, XMLAttributeList attributeList, boolean addMessages) throws IOException Write a BugAnnotation as XML.- Parameters:
xmlOutput
- the XMLOutputelementName
- name of element for BugAnnotationannotation
- the BugAnnotationattributeList
- the XML attribute listaddMessages
- true if descriptive messages should be added- Throws:
IOException
-