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
Warning properties for FindRefComparison detector.
- Author:
- David Hovemeyer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RefComparisonWarningProperty
Compare inside test casestatic final RefComparisonWarningProperty
Comparing static strings using equals operator.static final RefComparisonWarningProperty
Comparing a dynamic string using equals operator.static final RefComparisonWarningProperty
Comparing static string and an unknown string.static final RefComparisonWarningProperty
Method is private (or package-protected).static final RefComparisonWarningProperty
There is a call to equals() in the method.static final RefComparisonWarningProperty
Saw a call to String.intern().static final RefComparisonWarningProperty
Comparing static string and an unknown string.static final RefComparisonWarningProperty
static final RefComparisonWarningProperty
-
Method Summary
Methods inherited from class edu.umd.cs.findbugs.props.AbstractWarningProperty
getName, getPriorityAdjustment
-
Field Details
-
SAW_CALL_TO_EQUALS
There is a call to equals() in the method. -
PRIVATE_METHOD
Method is private (or package-protected). -
COMPARE_IN_TEST_CASE
Compare inside test case -
COMPARE_STATIC_STRINGS
Comparing static strings using equals operator. -
DYNAMIC_AND_UNKNOWN
Comparing a dynamic string using equals operator. -
STRING_PARAMETER_IN_PUBLIC_METHOD
-
STRING_PARAMETER
-
STATIC_AND_UNKNOWN
Comparing static string and an unknown string. -
EMPTY_AND_UNKNOWN
Comparing static string and an unknown string. -
SAW_INTERN
Saw a call to String.intern().
-