Package edu.umd.cs.findbugs
Class FindBugsAnalysisFeatures
- java.lang.Object
-
- edu.umd.cs.findbugs.FindBugsAnalysisFeatures
-
public abstract class FindBugsAnalysisFeatures extends java.lang.Object
Boolean-valued analysis properties for FindBugs.
-
-
Field Summary
Fields Modifier and Type Field Description static int
INTERPROCEDURAL_ANALYSIS
Enable interprocedural analysis.static int
INTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES
static int
RELAXED_REPORTING_MODE
"Relaxed" warning reporting mode.
-
Constructor Summary
Constructors Constructor Description FindBugsAnalysisFeatures()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static boolean
getProperty(int property)
static boolean
isRelaxedMode()
Get relaxed reporting mode.(package private) static void
setProperty(int property, boolean value)
static void
setRelaxedMode(boolean relaxedMode)
Set relaxed reporting mode.
-
-
-
Field Detail
-
RELAXED_REPORTING_MODE
@AnalysisFeature public static final int RELAXED_REPORTING_MODE
"Relaxed" warning reporting mode. Rather than using hard-coded heuristics to decide when to suppress a warning, report warnings freely and encode the heuristics as BugProperties (for consumption by a machine-learning-based ranking algorithm).
-
INTERPROCEDURAL_ANALYSIS
@AnalysisFeature public static final int INTERPROCEDURAL_ANALYSIS
Enable interprocedural analysis.
-
INTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES
@AnalysisFeature public static final int INTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES
-
-
Method Detail
-
setProperty
static void setProperty(@AnalysisFeature int property, boolean value)
-
getProperty
static boolean getProperty(@AnalysisFeature int property)
-
setRelaxedMode
public static void setRelaxedMode(boolean relaxedMode)
Set relaxed reporting mode.- Parameters:
relaxedMode
- true if relaxed reporting mode should be enabled, false if not
-
isRelaxedMode
public static boolean isRelaxedMode()
Get relaxed reporting mode.- Returns:
- true if relaxed reporting mode should be enabled, false if not
-
-