edu.umd.cs.findbugs.detect

Class RefComparisonWarningProperty

public class RefComparisonWarningProperty extends AbstractWarningProperty

Warning properties for FindRefComparison detector.

Author: David Hovemeyer

Field Summary
static RefComparisonWarningPropertyCOMPARE_STATIC_STRINGS
Comparing static strings using equals operator.
static RefComparisonWarningPropertyDYNAMIC_AND_UNKNOWN
Comparing a dynamic string using equals operator.
static RefComparisonWarningPropertyPRIVATE_METHOD
Method is private (or package-protected).
static RefComparisonWarningPropertySAW_CALL_TO_EQUALS
There is a call to equals() in the method.
static RefComparisonWarningPropertySAW_INTERN
Saw a call to String.intern().
static RefComparisonWarningPropertySTATIC_AND_UNKNOWN
Comparing static string and an unknown string.
static RefComparisonWarningPropertySTRING_PARAMETER
static RefComparisonWarningPropertySTRING_PARAMETER_IN_PUBLIC_METHOD

Field Detail

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.

PRIVATE_METHOD

public static final RefComparisonWarningProperty PRIVATE_METHOD
Method is private (or package-protected).

SAW_CALL_TO_EQUALS

public static final RefComparisonWarningProperty SAW_CALL_TO_EQUALS
There is a call to equals() in the method.

SAW_INTERN

public static final RefComparisonWarningProperty SAW_INTERN
Saw a call to String.intern().

STATIC_AND_UNKNOWN

public static final RefComparisonWarningProperty STATIC_AND_UNKNOWN
Comparing static string and an unknown string.

STRING_PARAMETER

public static final RefComparisonWarningProperty STRING_PARAMETER

STRING_PARAMETER_IN_PUBLIC_METHOD

public static final RefComparisonWarningProperty STRING_PARAMETER_IN_PUBLIC_METHOD
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.