FindBugs™ 1.3.9

edu.umd.cs.findbugs.plan
Class ByInterfaceDetectorFactorySelector

java.lang.Object
  extended by edu.umd.cs.findbugs.plan.ByInterfaceDetectorFactorySelector
All Implemented Interfaces:
DetectorFactorySelector

public class ByInterfaceDetectorFactorySelector
extends java.lang.Object
implements DetectorFactorySelector

DetectorFactorySelector implementation that chooses detectors based on an implemented interface or extended superclass.

Author:
David Hovemeyer

Constructor Summary
ByInterfaceDetectorFactorySelector(Plugin plugin, java.lang.Class detectorInterface)
           
 
Method Summary
 boolean selectFactory(DetectorFactory factory)
          Is given DetectorFactory selected (as part of an ordering constraint)?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByInterfaceDetectorFactorySelector

public ByInterfaceDetectorFactorySelector(Plugin plugin,
                                          java.lang.Class detectorInterface)
Method Detail

selectFactory

public boolean selectFactory(DetectorFactory factory)
Description copied from interface: DetectorFactorySelector
Is given DetectorFactory selected (as part of an ordering constraint)?

Specified by:
selectFactory in interface DetectorFactorySelector
Parameters:
factory - a DetectorFactory
Returns:
true if the factory is selected, false otherwise

FindBugs™ 1.3.9

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