Class BugAnnotationUtil

java.lang.Object
edu.umd.cs.findbugs.BugAnnotationUtil

public abstract class BugAnnotationUtil extends Object
Utility methods for BugAnnotation classes.
Author:
David Hovemeyer
  • 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 XMLOutput
      elementName - name of element for BugAnnotation
      annotation - the BugAnnotation
      attributeList - the XML attribute list
      addMessages - true if descriptive messages should be added
      Throws:
      IOException