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
FieldsModifier and TypeFieldDescriptionstatic final RefComparisonWarningPropertyCompare inside test casestatic final RefComparisonWarningPropertyComparing static strings using equals operator.static final RefComparisonWarningPropertyComparing a dynamic string using equals operator.static final RefComparisonWarningPropertyComparing static string and an unknown string.static final RefComparisonWarningPropertyMethod is private (or package-protected).static final RefComparisonWarningPropertyThere is a call to equals() in the method.static final RefComparisonWarningPropertySaw a call to String.intern().static final RefComparisonWarningPropertyComparing static string and an unknown string.static final RefComparisonWarningPropertystatic 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().
-