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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the priority/confidence to create correspondingpriorities.Use rank to create correspondingpriorities. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static FindBugsParser.PriorityProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONFIDENCE
Use the priority/confidence to create correspondingpriorities. -
RANK
Use rank to create correspondingpriorities.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-