Package edu.umd.cs.findbugs.props
Class GeneralWarningProperty
- java.lang.Object
-
- edu.umd.cs.findbugs.props.AbstractWarningProperty
-
- edu.umd.cs.findbugs.props.GeneralWarningProperty
-
- All Implemented Interfaces:
WarningProperty
public class GeneralWarningProperty extends AbstractWarningProperty
General warning properties. These are properties that could be attached to any warning to provide information which might be useful in determining whether or not the bug is a false positive, and/or the severity of the warning.- Author:
- David Hovemeyer
-
-
Field Summary
Fields Modifier and Type Field Description static GeneralWarningProperty
CALLED_METHOD_1
Name of most recently called method.static GeneralWarningProperty
CALLED_METHOD_2
Name of second-most recently called method.static GeneralWarningProperty
CALLED_METHOD_3
Name of third-most recently called method.static GeneralWarningProperty
CALLED_METHOD_4
Name of fourth-most recently called method.static GeneralWarningProperty
FALSE_POSITIVE
static GeneralWarningProperty
IN_UNCALLABLE_METHOD
issue is in uncallable methodstatic GeneralWarningProperty
NOISY_BUG
static GeneralWarningProperty
ON_EXCEPTION_PATH
Warning occurs on an exception control path.static GeneralWarningProperty
RECEIVER_OBJECT_TYPE
The type of the receiver object in a method call or instance field access.static GeneralWarningProperty
SILENT_BUG
-
Method Summary
-
Methods inherited from class edu.umd.cs.findbugs.props.AbstractWarningProperty
getName, getPriorityAdjustment
-
-
-
-
Field Detail
-
RECEIVER_OBJECT_TYPE
public static final GeneralWarningProperty RECEIVER_OBJECT_TYPE
The type of the receiver object in a method call or instance field access.
-
CALLED_METHOD_1
public static final GeneralWarningProperty CALLED_METHOD_1
Name of most recently called method.
-
CALLED_METHOD_2
public static final GeneralWarningProperty CALLED_METHOD_2
Name of second-most recently called method.
-
CALLED_METHOD_3
public static final GeneralWarningProperty CALLED_METHOD_3
Name of third-most recently called method.
-
CALLED_METHOD_4
public static final GeneralWarningProperty CALLED_METHOD_4
Name of fourth-most recently called method.
-
ON_EXCEPTION_PATH
public static final GeneralWarningProperty ON_EXCEPTION_PATH
Warning occurs on an exception control path.
-
IN_UNCALLABLE_METHOD
public static final GeneralWarningProperty IN_UNCALLABLE_METHOD
issue is in uncallable method
-
FALSE_POSITIVE
public static final GeneralWarningProperty FALSE_POSITIVE
-
NOISY_BUG
public static final GeneralWarningProperty NOISY_BUG
-
SILENT_BUG
public static final GeneralWarningProperty SILENT_BUG
-
-