edu.umd.cs.findbugs.detect

Class InconsistentSyncWarningProperty

public class InconsistentSyncWarningProperty extends AbstractWarningProperty

Warning properties for inconsistent synchronization detector.

Author: David Hovemeyer

Field Summary
static InconsistentSyncWarningPropertyANNOTATED_AS_GUARDED_BY_THIS
static InconsistentSyncWarningPropertyANNOTATED_AS_THREAD_SAFE
static InconsistentSyncWarningPropertyBELOW_MIN_SYNC_PERCENT
Below minimum percentage synchronized accesses.
static InconsistentSyncWarningPropertyMANY_BIASED_UNLOCKED
Field is accessed unlocked most of the time, and therefore is probably not intended to be safely used from multiple threads.
static InconsistentSyncWarningPropertyNEVER_READ
Field is never read outside constructor.
static InconsistentSyncWarningPropertyNEVER_WRITTEN
Field is never written outside constructor.
static InconsistentSyncWarningPropertyNO_LOCAL_LOCKS
Field is never locked in the definition of the class.
static InconsistentSyncWarningPropertyONLY_UNSYNC_IN_GETTERS
The only unlocked accesses are in getter methods.

Field Detail

ANNOTATED_AS_GUARDED_BY_THIS

public static final InconsistentSyncWarningProperty ANNOTATED_AS_GUARDED_BY_THIS

ANNOTATED_AS_THREAD_SAFE

public static final InconsistentSyncWarningProperty ANNOTATED_AS_THREAD_SAFE

BELOW_MIN_SYNC_PERCENT

public static final InconsistentSyncWarningProperty BELOW_MIN_SYNC_PERCENT
Below minimum percentage synchronized accesses.

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_READ

public static final InconsistentSyncWarningProperty NEVER_READ
Field is never read outside constructor.

NEVER_WRITTEN

public static final InconsistentSyncWarningProperty NEVER_WRITTEN
Field is never written 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.)

ONLY_UNSYNC_IN_GETTERS

public static final InconsistentSyncWarningProperty ONLY_UNSYNC_IN_GETTERS
The only unlocked accesses are in getter methods.
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.