edu.umd.cs.findbugs.props
Class GeneralWarningProperty

java.lang.Object
  extended by edu.umd.cs.findbugs.props.AbstractWarningProperty
      extended by edu.umd.cs.findbugs.props.GeneralWarningProperty
All Implemented Interfaces:
WarningProperty

public class GeneralWarningProperty
extends AbstractWarningProperty

General warning properties. These are properties that could be attached to any warning to provide information which might be useful in determining whether or not the bug is a false positive, and/or the severity of the warning.

Author:
David Hovemeyer

Field Summary
static GeneralWarningProperty CALLED_METHOD_1
          Name of most recently called method.
static GeneralWarningProperty CALLED_METHOD_2
          Name of second-most recently called method.
static GeneralWarningProperty CALLED_METHOD_3
          Name of third-most recently called method.
static GeneralWarningProperty CALLED_METHOD_4
          Name of fourth-most recently called method.
static GeneralWarningProperty ON_EXCEPTION_PATH
          Warning occurs on an exception control path.
static GeneralWarningProperty RECEIVER_OBJECT_TYPE
          The type of the receiver object in a method call or instance field access.
 
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

RECEIVER_OBJECT_TYPE

public static final GeneralWarningProperty RECEIVER_OBJECT_TYPE
The type of the receiver object in a method call or instance field access.


CALLED_METHOD_1

public static final GeneralWarningProperty CALLED_METHOD_1
Name of most recently called method.


CALLED_METHOD_2

public static final GeneralWarningProperty CALLED_METHOD_2
Name of second-most recently called method.


CALLED_METHOD_3

public static final GeneralWarningProperty CALLED_METHOD_3
Name of third-most recently called method.


CALLED_METHOD_4

public static final GeneralWarningProperty CALLED_METHOD_4
Name of fourth-most recently called method.


ON_EXCEPTION_PATH

public static final GeneralWarningProperty ON_EXCEPTION_PATH
Warning occurs on an exception control path.