Package edu.umd.cs.findbugs.detect
Class RefComparisonWarningProperty
- java.lang.Object
-
- edu.umd.cs.findbugs.props.AbstractWarningProperty
-
- edu.umd.cs.findbugs.detect.RefComparisonWarningProperty
-
- All Implemented Interfaces:
WarningProperty
public class RefComparisonWarningProperty extends AbstractWarningProperty
Warning properties for FindRefComparison detector.- Author:
- David Hovemeyer
-
-
Field Summary
Fields Modifier and Type Field Description static RefComparisonWarningProperty
COMPARE_IN_TEST_CASE
Compare inside test casestatic RefComparisonWarningProperty
COMPARE_STATIC_STRINGS
Comparing static strings using equals operator.static RefComparisonWarningProperty
DYNAMIC_AND_UNKNOWN
Comparing a dynamic string using equals operator.static RefComparisonWarningProperty
EMPTY_AND_UNKNOWN
Comparing static string and an unknown string.static RefComparisonWarningProperty
PRIVATE_METHOD
Method is private (or package-protected).static RefComparisonWarningProperty
SAW_CALL_TO_EQUALS
There is a call to equals() in the method.static RefComparisonWarningProperty
SAW_INTERN
Saw a call to String.intern().static RefComparisonWarningProperty
STATIC_AND_UNKNOWN
Comparing static string and an unknown string.static RefComparisonWarningProperty
STRING_PARAMETER
static RefComparisonWarningProperty
STRING_PARAMETER_IN_PUBLIC_METHOD
-
Method Summary
-
Methods inherited from class edu.umd.cs.findbugs.props.AbstractWarningProperty
getName, getPriorityAdjustment
-
-
-
-
Field Detail
-
SAW_CALL_TO_EQUALS
public static final RefComparisonWarningProperty SAW_CALL_TO_EQUALS
There is a call to equals() in the method.
-
PRIVATE_METHOD
public static final RefComparisonWarningProperty PRIVATE_METHOD
Method is private (or package-protected).
-
COMPARE_IN_TEST_CASE
public static final RefComparisonWarningProperty COMPARE_IN_TEST_CASE
Compare inside test case
-
COMPARE_STATIC_STRINGS
public static final RefComparisonWarningProperty COMPARE_STATIC_STRINGS
Comparing static strings using equals operator.
-
DYNAMIC_AND_UNKNOWN
public static final RefComparisonWarningProperty DYNAMIC_AND_UNKNOWN
Comparing a dynamic string using equals operator.
-
STRING_PARAMETER_IN_PUBLIC_METHOD
public static final RefComparisonWarningProperty STRING_PARAMETER_IN_PUBLIC_METHOD
-
STRING_PARAMETER
public static final RefComparisonWarningProperty STRING_PARAMETER
-
STATIC_AND_UNKNOWN
public static final RefComparisonWarningProperty STATIC_AND_UNKNOWN
Comparing static string and an unknown string.
-
EMPTY_AND_UNKNOWN
public static final RefComparisonWarningProperty EMPTY_AND_UNKNOWN
Comparing static string and an unknown string.
-
SAW_INTERN
public static final RefComparisonWarningProperty SAW_INTERN
Saw a call to String.intern().
-
-