public abstract class CFGDetector extends java.lang.Object implements Detector2
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Constructor and Description |
---|
CFGDetector() |
Modifier and Type | Method and Description |
---|---|
void |
finishPass()
This method is called at the end of the analysis pass.
|
java.lang.String |
getDetectorClassName()
Get the name of the detector class.
|
void |
visitClass(ClassDescriptor classDescriptor)
Visit a class.
|
protected abstract void |
visitMethodCFG(MethodDescriptor methodDescriptor,
CFG cfg)
Visit the CFG (control flow graph) of a method to be analyzed.
|
public void finishPass()
Detector2
finishPass
in interface Detector2
public java.lang.String getDetectorClassName()
Detector2
getDetectorClassName
in interface Detector2
public void visitClass(ClassDescriptor classDescriptor) throws CheckedAnalysisException
Detector2
visitClass
in interface Detector2
classDescriptor
- descriptor naming the class to visitCheckedAnalysisException
- if an exception occurs during analysisprotected abstract void visitMethodCFG(MethodDescriptor methodDescriptor, CFG cfg) throws CheckedAnalysisException
methodDescriptor
- cfg
- CheckedAnalysisException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.