Uses of Class
edu.umd.cs.findbugs.DetectorFactory
-
Packages that use DetectorFactory Package Description edu.umd.cs.findbugs Main package for the FindBugs application - contains the engine class (FindBugs), the object model classes for bug instances (BugInstance, BugAnnotation), and other miscellany.edu.umd.cs.findbugs.config edu.umd.cs.findbugs.plan -
-
Uses of DetectorFactory in edu.umd.cs.findbugs
Methods in edu.umd.cs.findbugs that return DetectorFactory Modifier and Type Method Description DetectorFactory
BugInstance. getDetectorFactory()
DetectorFactory
DetectorFactoryCollection. getFactory(java.lang.String name)
Look up a DetectorFactory by its short name.DetectorFactory
DetectorFactoryCollection. getFactoryByClassName(java.lang.String className)
Look up a DetectorFactory by its class name.DetectorFactory
Plugin. getFactoryByFullName(java.lang.String fullName)
Look up a DetectorFactory by full name.DetectorFactory
Plugin. getFactoryByShortName(java.lang.String shortName)
Look up a DetectorFactory by short name.Methods in edu.umd.cs.findbugs that return types with arguments of type DetectorFactory Modifier and Type Method Description java.util.Iterator<DetectorFactory>
DetectorFactoryCollection. factoryIterator()
Return an Iterator over the DetectorFactory objects for all registered Detectors.java.util.Collection<DetectorFactory>
Plugin. getDetectorFactories()
Get Iterator over DetectorFactory objects in the Plugin.java.lang.Iterable<DetectorFactory>
DetectorFactoryCollection. getFactories()
Return an Iterable over the DetectorFactory objects for all registered Detectors.Methods in edu.umd.cs.findbugs with parameters of type DetectorFactory Modifier and Type Method Description void
Plugin. addDetectorFactory(DetectorFactory factory)
Add a DetectorFactory for a Detector implemented by the Plugin.boolean
DetectorFactoryChooser. choose(DetectorFactory factory)
Return whether or not given DetectorFactory should be chosen.void
DetectorFactoryChooser. enable(DetectorFactory factory)
Enable the factory due to ordering constraints with other enabled detectorsstatic int
BugRanker. findRank(BugPattern pattern, DetectorFactory detectorFactory)
static boolean
FindBugs. isDetectorEnabled(IFindBugsEngine findBugs, DetectorFactory factory, int rankThreshold)
Determines whether or not given DetectorFactory should be enabled. -
Uses of DetectorFactory in edu.umd.cs.findbugs.config
Methods in edu.umd.cs.findbugs.config with parameters of type DetectorFactory Modifier and Type Method Description void
UserPreferences. enableDetector(DetectorFactory factory, boolean enable)
Set the enabled/disabled status of given Detector.boolean
UserPreferences. isDetectorEnabled(DetectorFactory factory)
Get the enabled/disabled status of given Detector. -
Uses of DetectorFactory in edu.umd.cs.findbugs.plan
Methods in edu.umd.cs.findbugs.plan that return DetectorFactory Modifier and Type Method Description DetectorFactory
DetectorNode. getFactory()
Get the DetectorFactory.Methods in edu.umd.cs.findbugs.plan that return types with arguments of type DetectorFactory Modifier and Type Method Description java.util.Collection<DetectorFactory>
AnalysisPass. getMembers()
Get the members of this pass.java.util.Set<DetectorFactory>
AnalysisPass. getUnpositionedMembers()
Get Set of pass members which haven't been assigned a position in the pass.java.util.Iterator<DetectorFactory>
AnalysisPass. iterator()
Get an Iterator over the DetectorFactory objects in the pass, in their assigned order.Methods in edu.umd.cs.findbugs.plan with parameters of type DetectorFactory Modifier and Type Method Description void
AnalysisPass. addToPass(DetectorFactory factory)
Make given DetectorFactory a member of this pass.void
AnalysisPass. append(DetectorFactory factory)
Append the given DetectorFactory to the end of the ordered detector list.boolean
AnalysisPass. contains(DetectorFactory factory)
Return whether or not this pass contains the given DetectorFactory.boolean
ByInterfaceDetectorFactorySelector. selectFactory(DetectorFactory factory)
boolean
DetectorFactorySelector. selectFactory(DetectorFactory factory)
Is given DetectorFactory selected (as part of an ordering constraint)?boolean
ReportingDetectorFactorySelector. selectFactory(DetectorFactory factory)
boolean
SingleDetectorFactorySelector. selectFactory(DetectorFactory factory)
Constructors in edu.umd.cs.findbugs.plan with parameters of type DetectorFactory Constructor Description DetectorNode(DetectorFactory factory)
Constructor.
-