edu.umd.cs.findbugs.detect
Class DeadLocalStoreProperty

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

public class DeadLocalStoreProperty
extends AbstractWarningProperty

Warning property for FindDeadLocalStores.

Author:
David Hovemeyer

Field Summary
static DeadLocalStoreProperty CACHING_VALUE
          Caching value
static DeadLocalStoreProperty DEAD_INCREMENT
          The dead store is an increment.
static DeadLocalStoreProperty DEAD_OBJECT_STORE
          Dead store is of a newly allocated object.
static DeadLocalStoreProperty DEFENSIVE_CONSTANT_OPCODE
          Dead store is of a defense programming constant value.
static DeadLocalStoreProperty EXCEPTION_HANDLER
          Dead store is likely to be the exception object in an exception handler.
static DeadLocalStoreProperty KILLED_BY_SUBSEQUENT_STORE
          Store is killed by a subsequent store.
static DeadLocalStoreProperty LOCAL_NAME
          Name of the local variable.
static DeadLocalStoreProperty MANY_STORES
          many stores
static DeadLocalStoreProperty NO_LOADS
          There are no loads of this local.
static DeadLocalStoreProperty PARAM_DEAD_ON_ENTRY
          This local is a parameter which is dead on entry to the method.
static DeadLocalStoreProperty SINGLE_DEAD_INCREMENT
          The dead store is an increment: the only one in the method.
static DeadLocalStoreProperty SINGLE_STORE
          There is only one store of this local.
static DeadLocalStoreProperty TWO_STORES_MULTIPLE_LOADS
          Method contains two stores and multiple loads of this local.
 
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

KILLED_BY_SUBSEQUENT_STORE

public static final DeadLocalStoreProperty KILLED_BY_SUBSEQUENT_STORE
Store is killed by a subsequent store.


DEFENSIVE_CONSTANT_OPCODE

public static final DeadLocalStoreProperty DEFENSIVE_CONSTANT_OPCODE
Dead store is of a defense programming constant value.


EXCEPTION_HANDLER

public static final DeadLocalStoreProperty EXCEPTION_HANDLER
Dead store is likely to be the exception object in an exception handler.


DEAD_INCREMENT

public static final DeadLocalStoreProperty DEAD_INCREMENT
The dead store is an increment.


SINGLE_DEAD_INCREMENT

public static final DeadLocalStoreProperty SINGLE_DEAD_INCREMENT
The dead store is an increment: the only one in the method.


DEAD_OBJECT_STORE

public static final DeadLocalStoreProperty DEAD_OBJECT_STORE
Dead store is of a newly allocated object.


TWO_STORES_MULTIPLE_LOADS

public static final DeadLocalStoreProperty TWO_STORES_MULTIPLE_LOADS
Method contains two stores and multiple loads of this local.


SINGLE_STORE

public static final DeadLocalStoreProperty SINGLE_STORE
There is only one store of this local. (Maybe it's final?)


NO_LOADS

public static final DeadLocalStoreProperty NO_LOADS
There are no loads of this local. (Maybe it's final?).


PARAM_DEAD_ON_ENTRY

public static final DeadLocalStoreProperty PARAM_DEAD_ON_ENTRY
This local is a parameter which is dead on entry to the method.


LOCAL_NAME

public static final DeadLocalStoreProperty LOCAL_NAME
Name of the local variable.


CACHING_VALUE

public static final DeadLocalStoreProperty CACHING_VALUE
Caching value


MANY_STORES

public static final DeadLocalStoreProperty MANY_STORES
many stores