edu.umd.cs.findbugs.detect
Class RefComparisonWarningProperty

java.lang.Object
  extended by edu.umd.cs.findbugs.props.AbstractWarningProperty
      extended by 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
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 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.
 
Method Summary
 
Methods inherited from class edu.umd.cs.findbugs.props.AbstractWarningProperty
getName, getPriorityAdjustment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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_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.


STATIC_AND_UNKNOWN

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


SAW_INTERN

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