FindBugs™ 1.3.9

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

public static final RefComparisonWarningProperty COMPARE_IN_TEST_CASE
Compare inside test case


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.


STRING_PARAMETER_IN_PUBLIC_METHOD

public static final RefComparisonWarningProperty STRING_PARAMETER_IN_PUBLIC_METHOD

STRING_PARAMETER

public static final RefComparisonWarningProperty STRING_PARAMETER

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().


FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.