1 19 package edu.umd.cs.findbugs.detect; 20 21 import edu.umd.cs.findbugs.props.AbstractWarningProperty; 22 import edu.umd.cs.findbugs.props.PriorityAdjustment; 23 24 29 public class InconsistentSyncWarningProperty extends AbstractWarningProperty { 30 private InconsistentSyncWarningProperty(String name, PriorityAdjustment priorityAdjustment) { 31 super(name, priorityAdjustment); 32 } 33 34 44 public static final InconsistentSyncWarningProperty MANY_BIASED_UNLOCKED = 45 new InconsistentSyncWarningProperty("MANY_BIASED_UNLOCKED", PriorityAdjustment.FALSE_POSITIVE); 46 47 public static final InconsistentSyncWarningProperty NEVER_WRITTEN = 48 new InconsistentSyncWarningProperty("NEVER_WRITTEN", PriorityAdjustment.FALSE_POSITIVE); 49 50 public static final InconsistentSyncWarningProperty NEVER_READ = 51 new InconsistentSyncWarningProperty("NEVER_READ", PriorityAdjustment.FALSE_POSITIVE); 52 56 public static final InconsistentSyncWarningProperty NO_LOCAL_LOCKS = 57 new InconsistentSyncWarningProperty("NO_LOCAL_LOCKS", PriorityAdjustment.FALSE_POSITIVE); 58 59 public static final InconsistentSyncWarningProperty BELOW_MIN_SYNC_PERCENT = 60 new InconsistentSyncWarningProperty("BELOW_MIN_SYNC_PERCENT", PriorityAdjustment.FALSE_POSITIVE); 61 62 public static final InconsistentSyncWarningProperty ONLY_UNSYNC_IN_GETTERS = 63 new InconsistentSyncWarningProperty("ONLY_UNSYNC_IN_GETTERS", PriorityAdjustment.LOWER_PRIORITY); 64 public static final InconsistentSyncWarningProperty ANNOTATED_AS_GUARDED_BY_THIS = 65 new InconsistentSyncWarningProperty("ANNOTATED_AS_GUARDED_BY_THIS", PriorityAdjustment.RAISE_PRIORITY_TO_AT_LEAST_NORMAL); 66 public static final InconsistentSyncWarningProperty ANNOTATED_AS_THREAD_SAFE = 67 new InconsistentSyncWarningProperty("ANNOTATED_AS_THREAD_SAFE", PriorityAdjustment.RAISE_PRIORITY); 68 69 } 70 | Popular Tags |