Enum FindBugsParser.PriorityProperty

java.lang.Object
java.lang.Enum<FindBugsParser.PriorityProperty>
edu.hm.hafner.analysis.parser.findbugs.FindBugsParser.PriorityProperty
All Implemented Interfaces:
Serializable, Comparable<FindBugsParser.PriorityProperty>, java.lang.constant.Constable
Enclosing class:
FindBugsParser

public static enum FindBugsParser.PriorityProperty extends Enum<FindBugsParser.PriorityProperty>
FindBugs 2 and 3 classifies issues using the bug rank and priority (now renamed confidence). Bugs are given a rank 1-20, and grouped into the categories scariest (rank 1-4), scary (rank 5-9), troubling (rank 10-14), and of concern (rank 15-20). Many people were confused by the priority reported by FindBugs, and considered all HIGH priority issues to be important. To reflect the actually meaning of this attribute of issues, it has been renamed confidence. Issues of different bug patterns should be compared by their rank, not their confidence.
  • Enum Constant Details

  • Method Details

    • values

      public static FindBugsParser.PriorityProperty[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FindBugsParser.PriorityProperty valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null