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
FieldsModifier and TypeFieldDescriptionstatic final DeadLocalStorePropertyprimitive or stringstatic final DeadLocalStorePropertyCaching valuestatic final DeadLocalStorePropertyA store that seemed to have been cloned (an inlined finally block or JSR?static final DeadLocalStorePropertycopy valuestatic final DeadLocalStorePropertyThe dead store is an increment.static final DeadLocalStorePropertystatic final DeadLocalStorePropertystatic final DeadLocalStorePropertyDead store is of a newly allocated object.static final DeadLocalStorePropertyDead store is of a defense programming constant value.static final DeadLocalStorePropertyThere is a dup immediately before the store; perhaps a ++ operationstatic final DeadLocalStorePropertyDead store is likely to be the exception object in an exception handler.static final DeadLocalStorePropertyA store in a JSP pagestatic final DeadLocalStorePropertystatic final DeadLocalStorePropertyStore is killed by a subsequent store.static final DeadLocalStorePropertyName of the local variable.static final DeadLocalStorePropertymany storesstatic final DeadLocalStorePropertystatic final DeadLocalStorePropertyThere are no loads of this local.static final DeadLocalStorePropertyA store in non Java pagestatic final DeadLocalStorePropertyThis local is a parameter which is dead on entry to the method.static final DeadLocalStorePropertyVariable shadows a fields with the same namestatic final DeadLocalStorePropertyThe dead store is an increment: the only one in the method.static final DeadLocalStorePropertyThere is only one store of this local.static final DeadLocalStorePropertystatic final DeadLocalStorePropertyStore of database operationstatic final DeadLocalStorePropertystatic final DeadLocalStorePropertystatic final DeadLocalStorePropertyMethod 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
-