WarningProperty
public class RefComparisonWarningProperty extends AbstractWarningProperty
Modifier and Type | Field | Description |
---|---|---|
static RefComparisonWarningProperty |
COMPARE_IN_TEST_CASE |
Compare inside test case
|
static 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 |
getName, getPriorityAdjustment
public static final RefComparisonWarningProperty SAW_CALL_TO_EQUALS
public static final RefComparisonWarningProperty PRIVATE_METHOD
public static final RefComparisonWarningProperty COMPARE_IN_TEST_CASE
public static final RefComparisonWarningProperty COMPARE_STATIC_STRINGS
public static final RefComparisonWarningProperty DYNAMIC_AND_UNKNOWN
public static final RefComparisonWarningProperty STRING_PARAMETER_IN_PUBLIC_METHOD
public static final RefComparisonWarningProperty STRING_PARAMETER
public static final RefComparisonWarningProperty STATIC_AND_UNKNOWN
public static final RefComparisonWarningProperty EMPTY_AND_UNKNOWN
public static final RefComparisonWarningProperty SAW_INTERN
SpotBugs is licensed under the LGPL.