Package edu.umd.cs.findbugs.plan
Class ByInterfaceDetectorFactorySelector
java.lang.Object
edu.umd.cs.findbugs.plan.ByInterfaceDetectorFactorySelector
- All Implemented Interfaces:
DetectorFactorySelector
DetectorFactorySelector implementation that chooses detectors based on an
implemented interface or extended superclass.
- Author:
- David Hovemeyer
-
Constructor Summary
ConstructorDescriptionByInterfaceDetectorFactorySelector
(Plugin plugin, Class<?> detectorInterface) -
Method Summary
Modifier and TypeMethodDescriptionboolean
selectFactory
(DetectorFactory factory) Is given DetectorFactory selected (as part of an ordering constraint)?
-
Constructor Details
-
ByInterfaceDetectorFactorySelector
-
-
Method Details
-
selectFactory
Description copied from interface:DetectorFactorySelector
Is given DetectorFactory selected (as part of an ordering constraint)?- Specified by:
selectFactory
in interfaceDetectorFactorySelector
- Parameters:
factory
- a DetectorFactory- Returns:
- true if the factory is selected, false otherwise
-