Package edu.umd.cs.findbugs.detect
Class InconsistentSyncWarningProperty
- java.lang.Object
-
- edu.umd.cs.findbugs.props.AbstractWarningProperty
-
- edu.umd.cs.findbugs.detect.InconsistentSyncWarningProperty
-
- All Implemented Interfaces:
WarningProperty
public class InconsistentSyncWarningProperty extends AbstractWarningProperty
Warning properties for inconsistent synchronization detector.- Author:
- David Hovemeyer
-
-
Field Summary
Fields Modifier and Type Field Description static InconsistentSyncWarningProperty
ANNOTATED_AS_GUARDED_BY_THIS
static InconsistentSyncWarningProperty
ANNOTATED_AS_THREAD_SAFE
static InconsistentSyncWarningProperty
BELOW_MIN_SYNC_PERCENT
Below minimum percentage synchronized accesses.static InconsistentSyncWarningProperty
MANY_BIASED_UNLOCKED
Field is accessed unlocked most of the time, and therefore is probably not intended to be safely used from multiple threads.static InconsistentSyncWarningProperty
MUTABLE_SERVLET_FIELD
static InconsistentSyncWarningProperty
NEVER_READ
Field is never read outside constructor.static InconsistentSyncWarningProperty
NEVER_WRITTEN
Field is never written outside constructor.static InconsistentSyncWarningProperty
NO_LOCAL_LOCKS
Field is never locked in the definition of the class.static InconsistentSyncWarningProperty
ONLY_UNSYNC_IN_GETTERS
The only unlocked accesses are in getter methods.
-
Method Summary
-
Methods inherited from class edu.umd.cs.findbugs.props.AbstractWarningProperty
getName, getPriorityAdjustment
-
-
-
-
Field Detail
-
MANY_BIASED_UNLOCKED
public static final InconsistentSyncWarningProperty MANY_BIASED_UNLOCKED
Field is accessed unlocked most of the time, and therefore is probably not intended to be safely used from multiple threads.
-
NEVER_WRITTEN
public static final InconsistentSyncWarningProperty NEVER_WRITTEN
Field is never written outside constructor.
-
NEVER_READ
public static final InconsistentSyncWarningProperty NEVER_READ
Field is never read outside constructor.
-
NO_LOCAL_LOCKS
public static final InconsistentSyncWarningProperty NO_LOCAL_LOCKS
Field is never locked in the definition of the class. (I.e., all locked accesses are in methods of other classes.)
-
BELOW_MIN_SYNC_PERCENT
public static final InconsistentSyncWarningProperty BELOW_MIN_SYNC_PERCENT
Below minimum percentage synchronized accesses.
-
ONLY_UNSYNC_IN_GETTERS
public static final InconsistentSyncWarningProperty ONLY_UNSYNC_IN_GETTERS
The only unlocked accesses are in getter methods.
-
ANNOTATED_AS_GUARDED_BY_THIS
public static final InconsistentSyncWarningProperty ANNOTATED_AS_GUARDED_BY_THIS
-
MUTABLE_SERVLET_FIELD
public static final InconsistentSyncWarningProperty MUTABLE_SERVLET_FIELD
-
ANNOTATED_AS_THREAD_SAFE
public static final InconsistentSyncWarningProperty ANNOTATED_AS_THREAD_SAFE
-
-