Package edu.umd.cs.findbugs.detect
Class TestDataflowAnalysis<Fact,AnalysisType extends DataflowAnalysis<Fact>>
- java.lang.Object
-
- edu.umd.cs.findbugs.detect.TestDataflowAnalysis<Fact,AnalysisType>
-
- All Implemented Interfaces:
Detector2,FirstPassDetector,NonReportingDetector,Priorities
public class TestDataflowAnalysis<Fact,AnalysisType extends DataflowAnalysis<Fact>> extends java.lang.Object implements Detector2, NonReportingDetector
This detector is just a test harness to test a dataflow analysis class specified by the dataflow.classname property.- Author:
- David Hovemeyer
-
-
Field Summary
-
Fields inherited from interface edu.umd.cs.findbugs.Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description TestDataflowAnalysis(BugReporter bugReporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinishPass()This method is called at the end of the analysis pass.java.lang.StringgetDetectorClassName()Get the name of the detector class.voidvisitClass(ClassDescriptor classDescriptor)Visit a class.
-
-
-
Constructor Detail
-
TestDataflowAnalysis
public TestDataflowAnalysis(BugReporter bugReporter)
-
-
Method Detail
-
finishPass
public void finishPass()
Description copied from interface:Detector2This method is called at the end of the analysis pass.- Specified by:
finishPassin interfaceDetector2
-
getDetectorClassName
public java.lang.String getDetectorClassName()
Description copied from interface:Detector2Get the name of the detector class.- Specified by:
getDetectorClassNamein interfaceDetector2- Returns:
- the name of the detector class.
-
visitClass
public void visitClass(ClassDescriptor classDescriptor) throws CheckedAnalysisException
Description copied from interface:Detector2Visit a class.- Specified by:
visitClassin interfaceDetector2- Parameters:
classDescriptor- descriptor naming the class to visit- Throws:
CheckedAnalysisException- if an exception occurs during analysis
-
-