Package edu.umd.cs.findbugs.detect
Class DeadLocalStoreProperty
java.lang.Object
edu.umd.cs.findbugs.props.AbstractWarningProperty
edu.umd.cs.findbugs.detect.DeadLocalStoreProperty
- All Implemented Interfaces:
WarningProperty
Warning property for FindDeadLocalStores.
- Author:
- David Hovemeyer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DeadLocalStoreProperty
primitive or stringstatic final DeadLocalStoreProperty
Caching valuestatic final DeadLocalStoreProperty
A store that seemed to have been cloned (an inlined finally block or JSR?static final DeadLocalStoreProperty
copy valuestatic final DeadLocalStoreProperty
The dead store is an increment.static final DeadLocalStoreProperty
static final DeadLocalStoreProperty
static final DeadLocalStoreProperty
Dead store is of a newly allocated object.static final DeadLocalStoreProperty
Dead store is of a defense programming constant value.static final DeadLocalStoreProperty
There is a dup immediately before the store; perhaps a ++ operationstatic final DeadLocalStoreProperty
Dead store is likely to be the exception object in an exception handler.static final DeadLocalStoreProperty
A store in a JSP pagestatic final DeadLocalStoreProperty
static final DeadLocalStoreProperty
Store is killed by a subsequent store.static final DeadLocalStoreProperty
Name of the local variable.static final DeadLocalStoreProperty
many storesstatic final DeadLocalStoreProperty
static final DeadLocalStoreProperty
There are no loads of this local.static final DeadLocalStoreProperty
A store in non Java pagestatic final DeadLocalStoreProperty
This local is a parameter which is dead on entry to the method.static final DeadLocalStoreProperty
Variable shadows a fields with the same namestatic final DeadLocalStoreProperty
The dead store is an increment: the only one in the method.static final DeadLocalStoreProperty
There is only one store of this local.static final DeadLocalStoreProperty
static final DeadLocalStoreProperty
Store of database operationstatic final DeadLocalStoreProperty
static final DeadLocalStoreProperty
static final DeadLocalStoreProperty
Method contains two stores and multiple loads of this local. -
Method Summary
Methods inherited from class edu.umd.cs.findbugs.props.AbstractWarningProperty
getName, getPriorityAdjustment
-
Field Details
-
IN_JSP_PAGE
A store in a JSP page -
NOT_JAVA
A store in non Java page -
CLONED_STORE
A store that seemed to have been cloned (an inlined finally block or JSR? -
KILLED_BY_SUBSEQUENT_STORE
Store is killed by a subsequent store. -
STORE_OF_DATABASE_VALUE
Store of database operation -
DEFENSIVE_CONSTANT_OPCODE
Dead store is of a defense programming constant value. -
EXCEPTION_HANDLER
Dead store is likely to be the exception object in an exception handler. -
DEAD_INCREMENT
The dead store is an increment. -
DEAD_INCREMENT_IN_RETURN
-
DEAD_INCREMENT_IN_MAIN
-
METHOD_RESULT
-
SINGLE_DEAD_INCREMENT
The dead store is an increment: the only one in the method. -
DEAD_OBJECT_STORE
Dead store is of a newly allocated object. -
TWO_STORES_MULTIPLE_LOADS
Method contains two stores and multiple loads of this local. -
SINGLE_STORE
There is only one store of this local. (Maybe it's final?) -
DUP_THEN_STORE
There is a dup immediately before the store; perhaps a ++ operation -
NO_LOADS
There are no loads of this local. (Maybe it's final?). -
SHADOWS_FIELD
Variable shadows a fields with the same name -
SYNTHETIC_NAME
-
PARAM_DEAD_ON_ENTRY
This local is a parameter which is dead on entry to the method. -
LOCAL_NAME
Name of the local variable. -
CACHING_VALUE
Caching value -
COPY_VALUE
copy value -
BASE_VALUE
primitive or string -
MANY_STORES
many stores -
STORE_OF_NULL
-
STORE_OF_CONSTANT
-
IS_PARAMETER
-