WarningProperty
DeadLocalStoreProperty
, DoomedCodeWarningProperty
, GeneralWarningProperty
, InconsistentSyncWarningProperty
, Naming.NamingProperty
, NonNullReturnProperty
, NullArgumentWarningProperty
, NullDerefProperty
, RefComparisonWarningProperty
public abstract class AbstractWarningProperty extends java.lang.Object implements WarningProperty
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractWarningProperty(java.lang.String shortName,
PriorityAdjustment priorityAdjustment) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
Get the fully qualified name of the property.
|
PriorityAdjustment |
getPriorityAdjustment() |
Get the priority adjustment: i.e., the effect that this warning property
is expected to have on the likelihood that the warning is real, benign,
or a false positive.
|
protected AbstractWarningProperty(java.lang.String shortName, PriorityAdjustment priorityAdjustment)
shortName
- the short name of the property; will be qualified with the
full name of the warning property classpriorityAdjustment
- the priority adjustmentpublic PriorityAdjustment getPriorityAdjustment()
WarningProperty
getPriorityAdjustment
in interface WarningProperty
public java.lang.String getName()
WarningProperty
getName
in interface WarningProperty
SpotBugs is licensed under the LGPL.