edu.umd.cs.findbugs.detect

Class DeadLocalStoreProperty

public class DeadLocalStoreProperty extends AbstractWarningProperty

Warning property for FindDeadLocalStores.

Author: David Hovemeyer

Field Summary
static DeadLocalStorePropertyBASE_VALUE
primitive or string
static DeadLocalStorePropertyCACHING_VALUE
Caching value
static DeadLocalStorePropertyCOPY_VALUE
copy value
static DeadLocalStorePropertyDEAD_INCREMENT
The dead store is an increment.
static DeadLocalStorePropertyDEAD_OBJECT_STORE
Dead store is of a newly allocated object.
static DeadLocalStorePropertyDEFENSIVE_CONSTANT_OPCODE
Dead store is of a defense programming constant value.
static DeadLocalStorePropertyEXCEPTION_HANDLER
Dead store is likely to be the exception object in an exception handler.
static DeadLocalStorePropertyIS_PARAMETER
static DeadLocalStorePropertyKILLED_BY_SUBSEQUENT_STORE
Store is killed by a subsequent store.
static DeadLocalStorePropertyLOCAL_NAME
Name of the local variable.
static DeadLocalStorePropertyMANY_STORES
many stores
static DeadLocalStorePropertyMETHOD_RESULT
static DeadLocalStorePropertyNO_LOADS
There are no loads of this local.
static DeadLocalStorePropertyPARAM_DEAD_ON_ENTRY
This local is a parameter which is dead on entry to the method.
static DeadLocalStorePropertySHADOWS_FIELD
Variable shadows a fields with the same name
static DeadLocalStorePropertySINGLE_DEAD_INCREMENT
The dead store is an increment: the only one in the method.
static DeadLocalStorePropertySINGLE_STORE
There is only one store of this local.
static DeadLocalStorePropertySTORE_OF_CONSTANT
static DeadLocalStorePropertySTORE_OF_NULL
static DeadLocalStorePropertySYNTHETIC_NAME
static DeadLocalStorePropertyTWO_STORES_MULTIPLE_LOADS
Method contains two stores and multiple loads of this local.

Field Detail

BASE_VALUE

public static final DeadLocalStoreProperty BASE_VALUE
primitive or string

CACHING_VALUE

public static final DeadLocalStoreProperty CACHING_VALUE
Caching value

COPY_VALUE

public static final DeadLocalStoreProperty COPY_VALUE
copy value

DEAD_INCREMENT

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

DEAD_OBJECT_STORE

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

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.

IS_PARAMETER

public static final DeadLocalStoreProperty IS_PARAMETER

KILLED_BY_SUBSEQUENT_STORE

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

LOCAL_NAME

public static final DeadLocalStoreProperty LOCAL_NAME
Name of the local variable.

MANY_STORES

public static final DeadLocalStoreProperty MANY_STORES
many stores

METHOD_RESULT

public static final DeadLocalStoreProperty METHOD_RESULT

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.

SHADOWS_FIELD

public static final DeadLocalStoreProperty SHADOWS_FIELD
Variable shadows a fields with the same name

SINGLE_DEAD_INCREMENT

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

SINGLE_STORE

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

STORE_OF_CONSTANT

public static final DeadLocalStoreProperty STORE_OF_CONSTANT

STORE_OF_NULL

public static final DeadLocalStoreProperty STORE_OF_NULL

SYNTHETIC_NAME

public static final DeadLocalStoreProperty SYNTHETIC_NAME

TWO_STORES_MULTIPLE_LOADS

public static final DeadLocalStoreProperty TWO_STORES_MULTIPLE_LOADS
Method contains two stores and multiple loads of this local.
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.