edu.umd.cs.findbugs

Interface Detector

public interface Detector extends Priorities

The interface which all bug pattern detectors must implement.
Method Summary
voidreport()
This method is called after all classes to be visited.
voidvisitClassContext(ClassContext classContext)
Visit the ClassContext for a class which should be analyzed for instances of bug patterns.

Method Detail

report

public void report()
This method is called after all classes to be visited. It should be used by any detectors which accumulate information over all visited classes to generate results.

visitClassContext

public void visitClassContext(ClassContext classContext)
Visit the ClassContext for a class which should be analyzed for instances of bug patterns.

Parameters: classContext the ClassContext

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.