Uses of Class
edu.umd.cs.findbugs.DetectorFactory
Packages that use DetectorFactory
Package
Description
Main package for the FindBugs application - contains the engine class
(
FindBugs
), the object model classes for bug
instances (BugInstance
,
BugAnnotation
), and other miscellany.-
Uses of DetectorFactory in edu.umd.cs.findbugs
Fields in edu.umd.cs.findbugs declared as DetectorFactoryFields in edu.umd.cs.findbugs with type parameters of type DetectorFactoryModifier and TypeFieldDescriptionprivate final ArrayList
<DetectorFactory> Plugin.detectorFactoryList
private final Map
<String, DetectorFactory> DetectorFactoryCollection.factoriesByDetectorClassName
private final Map
<String, DetectorFactory> DetectorFactoryCollection.factoriesByName
private final List
<DetectorFactory> DetectorFactoryCollection.factoryList
Methods in edu.umd.cs.findbugs that return DetectorFactoryModifier and TypeMethodDescriptionprivate DetectorFactory
Plugin.findFirstMatchingFactory
(Plugin.FactoryChooser chooser) BugInstance.getDetectorFactory()
DetectorFactoryCollection.getFactory
(String name) Look up a DetectorFactory by its short name.DetectorFactoryCollection.getFactoryByClassName
(String className) Look up a DetectorFactory by its class name.Plugin.getFactoryByFullName
(String fullName) Look up a DetectorFactory by full name.Plugin.getFactoryByShortName
(String shortName) Look up a DetectorFactory by short name.Methods in edu.umd.cs.findbugs that return types with arguments of type DetectorFactoryModifier and TypeMethodDescriptionDetectorFactoryCollection.factoryIterator()
Return an Iterator over the DetectorFactory objects for all registered Detectors.Plugin.getDetectorFactories()
Get Iterator over DetectorFactory objects in the Plugin.DetectorFactoryCollection.getFactories()
Return an Iterable over the DetectorFactory objects for all registered Detectors.Methods in edu.umd.cs.findbugs with parameters of type DetectorFactoryModifier and TypeMethodDescriptionvoid
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.boolean
Plugin.FactoryChooser.choose
(DetectorFactory factory) 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.(package private) void
DetectorFactoryCollection.registerDetector
(DetectorFactory factory) Register a DetectorFactory.(package private) void
DetectorFactoryCollection.unRegisterDetector
(DetectorFactory factory) -
Uses of DetectorFactory in edu.umd.cs.findbugs.config
Methods in edu.umd.cs.findbugs.config with parameters of type DetectorFactoryModifier and TypeMethodDescriptionvoid
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
Fields in edu.umd.cs.findbugs.plan declared as DetectorFactoryFields in edu.umd.cs.findbugs.plan with type parameters of type DetectorFactoryModifier and TypeFieldDescriptionprivate Set
<DetectorFactory> ExecutionPlan.assignedToPassSet
private Map
<String, DetectorFactory> ExecutionPlan.factoryMap
private final HashSet
<DetectorFactory> AnalysisPass.memberSet
private final LinkedList
<DetectorFactory> AnalysisPass.orderedFactoryList
Methods in edu.umd.cs.findbugs.plan that return DetectorFactoryMethods in edu.umd.cs.findbugs.plan that return types with arguments of type DetectorFactoryModifier and TypeMethodDescriptionAnalysisPass.getMembers()
Get the members of this pass.private Set
<DetectorFactory> ExecutionPlan.getUnassignedSet()
AnalysisPass.getUnpositionedMembers()
Get Set of pass members which haven't been assigned a position in the pass.AnalysisPass.iterator()
Get an Iterator over the DetectorFactory objects in the pass, in their assigned order.private Set
<DetectorFactory> ExecutionPlan.selectDetectors
(DetectorFactorySelector selector, Set<DetectorFactory> candidateSet) Methods in edu.umd.cs.findbugs.plan with parameters of type DetectorFactoryModifier and TypeMethodDescriptionprivate DetectorNode
ExecutionPlan.addOrCreateDetectorNode
(DetectorFactory factory, Map<String, DetectorNode> nodeMap, ConstraintGraph constraintGraph) 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.private void
ExecutionPlan.appendToPass
(DetectorFactory factory, AnalysisPass pass) Append a DetectorFactory to the end position in an AnalysisPass.private void
ExecutionPlan.assignToPass
(DetectorFactory factory, AnalysisPass pass) Make a DetectorFactory a member of an AnalysisPass.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) Method parameters in edu.umd.cs.findbugs.plan with type arguments of type DetectorFactoryModifier and TypeMethodDescriptionprivate Set
<DetectorNode> ExecutionPlan.addOrCreateDetectorNodes
(DetectorFactorySelector selector, Map<String, DetectorNode> nodeMap, Set<DetectorFactory> factorySet, ConstraintGraph constraintGraph) private void
ExecutionPlan.appendDetectorsToPass
(Collection<DetectorFactory> detectorSet, AnalysisPass pass) private ConstraintGraph
ExecutionPlan.buildConstraintGraph
(Map<String, DetectorNode> nodeMap, Set<DetectorFactory> factorySet, List<DetectorOrderingConstraint> constraintList) Build a constraint graph.private Set
<DetectorFactory> ExecutionPlan.selectDetectors
(DetectorFactorySelector selector, Set<DetectorFactory> candidateSet) private void
ExecutionPlan.sortPass
(List<DetectorOrderingConstraint> constraintList, Map<String, DetectorFactory> factoryMap, AnalysisPass pass) Constructors in edu.umd.cs.findbugs.plan with parameters of type DetectorFactory