Package edu.umd.cs.findbugs
Interface Detector2
-
- All Superinterfaces:
Priorities
- All Known Implementing Classes:
BuildObligationPolicyDatabase
,CFGDetector
,CheckExpectedWarnings
,CheckRelaxingNullnessAnnotation
,CheckTypeQualifiers
,ClassNodeDetector
,DetectorToDetector2Adapter
,FindUnsatisfiedObligation
,NonReportingDetectorToDetector2Adapter
,TestASM
,TestDataflowAnalysis
,UselessSuppressionDetector
public interface Detector2 extends Priorities
Detector interface for new bytecode-framework-neutral architecture.
-
-
Field Summary
-
Fields inherited from interface edu.umd.cs.findbugs.Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
finishPass()
This method is called at the end of the analysis pass.default java.lang.String
getDetectorClassName()
Get the name of the detector class.void
visitClass(ClassDescriptor classDescriptor)
Visit a class.
-
-
-
Method Detail
-
visitClass
void visitClass(ClassDescriptor classDescriptor) throws CheckedAnalysisException
Visit a class.- Parameters:
classDescriptor
- descriptor naming the class to visit- Throws:
CheckedAnalysisException
- if an exception occurs during analysis
-
finishPass
void finishPass()
This method is called at the end of the analysis pass.
-
getDetectorClassName
default java.lang.String getDetectorClassName()
Get the name of the detector class.- Returns:
- the name of the detector class.
-
-