FindBugs™ 1.3.9

edu.umd.cs.findbugs
Class FindBugsAnalysisFeatures

java.lang.Object
  extended by edu.umd.cs.findbugs.FindBugsAnalysisFeatures

public abstract class FindBugsAnalysisFeatures
extends java.lang.Object

Boolean-valued analysis properties for FindBugs.

Author:
David Hovemeyer
See Also:
AnalysisContext.setBoolProperty(int, boolean), AnalysisContext.getBoolProperty(int)

Field Summary
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
FindBugsAnalysisFeatures()
           
 
Method Summary
static boolean isRelaxedMode()
          Get relaxed reporting mode.
static void setRelaxedMode(boolean relaxedMode)
          Set relaxed reporting mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RELAXED_REPORTING_MODE

@AnalysisFeatures.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

@AnalysisFeatures.AnalysisFeature
public static final int INTERPROCEDURAL_ANALYSIS
Enable interprocedural analysis.


INTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES

@AnalysisFeatures.AnalysisFeature
public static final int INTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES
Constructor Detail

FindBugsAnalysisFeatures

public FindBugsAnalysisFeatures()
Method Detail

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

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.