Package edu.umd.cs.findbugs.detect
Class CheckTypeQualifiers
- java.lang.Object
-
- edu.umd.cs.findbugs.bcel.CFGDetector
-
- edu.umd.cs.findbugs.detect.CheckTypeQualifiers
-
- All Implemented Interfaces:
Detector2
,Priorities
public class CheckTypeQualifiers extends CFGDetector
Check JSR-305 type qualifiers.- Author:
- David Hovemeyer
-
-
Field Summary
-
Fields inherited from class edu.umd.cs.findbugs.bcel.CFGDetector
classContext, method
-
Fields inherited from interface edu.umd.cs.findbugs.Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description CheckTypeQualifiers(BugReporter bugReporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class edu.umd.cs.findbugs.bcel.CFGDetector
finishPass, getDetectorClassName
-
-
-
-
Constructor Detail
-
CheckTypeQualifiers
public CheckTypeQualifiers(BugReporter bugReporter)
-
-
Method Detail
-
visitClass
public void visitClass(ClassDescriptor classDescriptor) throws CheckedAnalysisException
Description copied from interface:Detector2
Visit a class.- Specified by:
visitClass
in interfaceDetector2
- Overrides:
visitClass
in classCFGDetector
- Parameters:
classDescriptor
- descriptor naming the class to visit- Throws:
CheckedAnalysisException
- if an exception occurs during analysis
-
visitMethodCFG
protected void visitMethodCFG(MethodDescriptor methodDescriptor, CFG cfg) throws CheckedAnalysisException
Description copied from class:CFGDetector
Visit the CFG (control flow graph) of a method to be analyzed. Should be overridded by subclasses.- Specified by:
visitMethodCFG
in classCFGDetector
- Throws:
CheckedAnalysisException
-
-