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
Fields in edu.umd.cs.findbugs declared as DetectorFactory Modifier and Type Field Description private DetectorFactory
BugInstance. detectorFactory
Fields in edu.umd.cs.findbugs with type parameters of type DetectorFactory Modifier and Type Field Description private java.util.ArrayList<DetectorFactory>
Plugin. detectorFactoryList
private java.util.Map<java.lang.String,DetectorFactory>
DetectorFactoryCollection. factoriesByDetectorClassName
private java.util.Map<java.lang.String,DetectorFactory>
DetectorFactoryCollection. factoriesByName
private java.util.List<DetectorFactory>
DetectorFactoryCollection. factoryList
Methods in edu.umd.cs.findbugs that return DetectorFactory Modifier and Type Method Description private DetectorFactory
Plugin. findFirstMatchingFactory(Plugin.FactoryChooser chooser)
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.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 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
Fields in edu.umd.cs.findbugs.plan declared as DetectorFactory Modifier and Type Field Description private DetectorFactory
DetectorNode. factory
Fields in edu.umd.cs.findbugs.plan with type parameters of type DetectorFactory Modifier and Type Field Description private java.util.Set<DetectorFactory>
ExecutionPlan. assignedToPassSet
private java.util.Map<java.lang.String,DetectorFactory>
ExecutionPlan. factoryMap
private java.util.HashSet<DetectorFactory>
AnalysisPass. memberSet
private java.util.LinkedList<DetectorFactory>
AnalysisPass. orderedFactoryList
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.private java.util.Set<DetectorFactory>
ExecutionPlan. getUnassignedSet()
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.private java.util.Set<DetectorFactory>
ExecutionPlan. selectDetectors(DetectorFactorySelector selector, java.util.Set<DetectorFactory> candidateSet)
Methods in edu.umd.cs.findbugs.plan with parameters of type DetectorFactory Modifier and Type Method Description private DetectorNode
ExecutionPlan. addOrCreateDetectorNode(DetectorFactory factory, java.util.Map<java.lang.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 DetectorFactory Modifier and Type Method Description private java.util.Set<DetectorNode>
ExecutionPlan. addOrCreateDetectorNodes(DetectorFactorySelector selector, java.util.Map<java.lang.String,DetectorNode> nodeMap, java.util.Set<DetectorFactory> factorySet, ConstraintGraph constraintGraph)
private void
ExecutionPlan. appendDetectorsToPass(java.util.Collection<DetectorFactory> detectorSet, AnalysisPass pass)
private ConstraintGraph
ExecutionPlan. buildConstraintGraph(java.util.Map<java.lang.String,DetectorNode> nodeMap, java.util.Set<DetectorFactory> factorySet, java.util.List<DetectorOrderingConstraint> constraintList)
Build a constraint graph.private java.util.Set<DetectorFactory>
ExecutionPlan. selectDetectors(DetectorFactorySelector selector, java.util.Set<DetectorFactory> candidateSet)
private void
ExecutionPlan. sortPass(java.util.List<DetectorOrderingConstraint> constraintList, java.util.Map<java.lang.String,DetectorFactory> factoryMap, AnalysisPass pass)
Constructors in edu.umd.cs.findbugs.plan with parameters of type DetectorFactory Constructor Description DetectorNode(DetectorFactory factory)
Constructor.
-