Class FindBugsDescriptor


  • public class FindBugsDescriptor
    extends ParserDescriptor
    A descriptor for the FindBugs parser.
    Author:
    Lorenz Munsch
    • Field Detail

      • PRIORITY_OPTION_KEY

        public static final String PRIORITY_OPTION_KEY
        Key to define minimum number of duplicate lines for high priority warnings.
        See Also:
        Constant Field Values
    • Method Detail

      • getPattern

        public String getPattern()
        Description copied from class: ParserDescriptor
        Returns the default filename pattern for this tool. Override if your parser typically works on a specific file. This pattern will be interpreted as an ANT pattern or glob, resp.
        Overrides:
        getPattern in class ParserDescriptor
        Returns:
        the default pattern
      • getDescription

        public String getDescription​(Issue issue)
        Description copied from class: ParserDescriptor
        Returns a detailed description of the specified issue. If there is no additional description is available, then an empty String is returned.
        Overrides:
        getDescription in class ParserDescriptor
        Parameters:
        issue - the issue to get the description for
        Returns:
        the description