public class FindUnsatisfiedObligation extends CFGDetector
See Weimer and Necula, Finding and preventing run-time error handling mistakes, OOPSLA 2004.
classContext, methodEXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY| Constructor and Description |
|---|
FindUnsatisfiedObligation(BugReporter bugReporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
report() |
void |
visitClass(ClassDescriptor classDescriptor)
Visit a class.
|
protected void |
visitMethodCFG(MethodDescriptor methodDescriptor,
CFG cfg)
Visit the CFG (control flow graph) of a method to be analyzed.
|
finishPass, getDetectorClassNamepublic FindUnsatisfiedObligation(BugReporter bugReporter)
public void visitClass(ClassDescriptor classDescriptor) throws CheckedAnalysisException
Detector2visitClass in interface Detector2visitClass in class CFGDetectorclassDescriptor - descriptor naming the class to visitCheckedAnalysisException - if an exception occurs during analysisprotected void visitMethodCFG(MethodDescriptor methodDescriptor, CFG cfg) throws CheckedAnalysisException
CFGDetectorvisitMethodCFG in class CFGDetectorCheckedAnalysisExceptionpublic void report()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.