Package edu.umd.cs.findbugs
Class FindBugsAnalysisFeatures
java.lang.Object
edu.umd.cs.findbugs.FindBugsAnalysisFeatures
Boolean-valued analysis properties for FindBugs.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Enable interprocedural analysis.static final int
static final int
"Relaxed" warning reporting mode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static boolean
getProperty
(int property) static boolean
Get relaxed reporting mode.(package private) static void
setProperty
(int property, boolean value) static void
setRelaxedMode
(boolean relaxedMode) Set relaxed reporting mode.
-
Field Details
-
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
Enable interprocedural analysis. -
INTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES
-
-
Constructor Details
-
FindBugsAnalysisFeatures
public FindBugsAnalysisFeatures()
-
-
Method Details
-
setProperty
-
getProperty
-
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
-