Interface Detector2

All Superinterfaces:
Priorities
All Known Implementing Classes:
BuildObligationPolicyDatabase, CFGDetector, CheckExpectedWarnings, CheckRelaxingNullnessAnnotation, CheckTypeQualifiers, ClassNodeDetector, DetectorToDetector2Adapter, FindUnsatisfiedObligation, NonReportingDetectorToDetector2Adapter, TestASM, TestDataflowAnalysis

public interface Detector2 extends Priorities
Detector interface for new bytecode-framework-neutral architecture.
Author:
David Hovemeyer
  • Method Details

    • 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

      String getDetectorClassName()
      Get the name of the detector class.
      Returns:
      the name of the detector class.