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 DetectorFactoryBugInstance. detectorFactoryFields in edu.umd.cs.findbugs with type parameters of type DetectorFactory Modifier and Type Field Description private java.util.ArrayList<DetectorFactory>Plugin. detectorFactoryListprivate java.util.Map<java.lang.String,DetectorFactory>DetectorFactoryCollection. factoriesByDetectorClassNameprivate java.util.Map<java.lang.String,DetectorFactory>DetectorFactoryCollection. factoriesByNameprivate java.util.List<DetectorFactory>DetectorFactoryCollection. factoryListMethods in edu.umd.cs.findbugs that return DetectorFactory Modifier and Type Method Description private DetectorFactoryPlugin. findFirstMatchingFactory(Plugin.FactoryChooser chooser)DetectorFactoryBugInstance. getDetectorFactory()DetectorFactoryDetectorFactoryCollection. getFactory(java.lang.String name)Look up a DetectorFactory by its short name.DetectorFactoryDetectorFactoryCollection. getFactoryByClassName(java.lang.String className)Look up a DetectorFactory by its class name.DetectorFactoryPlugin. getFactoryByFullName(java.lang.String fullName)Look up a DetectorFactory by full name.DetectorFactoryPlugin. 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 voidPlugin. addDetectorFactory(DetectorFactory factory)Add a DetectorFactory for a Detector implemented by the Plugin.booleanDetectorFactoryChooser. choose(DetectorFactory factory)Return whether or not given DetectorFactory should be chosen.booleanPlugin.FactoryChooser. choose(DetectorFactory factory)voidDetectorFactoryChooser. enable(DetectorFactory factory)Enable the factory due to ordering constraints with other enabled detectorsstatic intBugRanker. findRank(BugPattern pattern, DetectorFactory detectorFactory)static booleanFindBugs. isDetectorEnabled(IFindBugsEngine findBugs, DetectorFactory factory, int rankThreshold)Determines whether or not given DetectorFactory should be enabled.(package private) voidDetectorFactoryCollection. registerDetector(DetectorFactory factory)Register a DetectorFactory.(package private) voidDetectorFactoryCollection. 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 voidUserPreferences. enableDetector(DetectorFactory factory, boolean enable)Set the enabled/disabled status of given Detector.booleanUserPreferences. 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 DetectorFactoryDetectorNode. factoryFields in edu.umd.cs.findbugs.plan with type parameters of type DetectorFactory Modifier and Type Field Description private java.util.Set<DetectorFactory>ExecutionPlan. assignedToPassSetprivate java.util.Map<java.lang.String,DetectorFactory>ExecutionPlan. factoryMapprivate java.util.HashSet<DetectorFactory>AnalysisPass. memberSetprivate java.util.LinkedList<DetectorFactory>AnalysisPass. orderedFactoryListMethods in edu.umd.cs.findbugs.plan that return DetectorFactory Modifier and Type Method Description DetectorFactoryDetectorNode. 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 DetectorNodeExecutionPlan. addOrCreateDetectorNode(DetectorFactory factory, java.util.Map<java.lang.String,DetectorNode> nodeMap, ConstraintGraph constraintGraph)voidAnalysisPass. addToPass(DetectorFactory factory)Make given DetectorFactory a member of this pass.voidAnalysisPass. append(DetectorFactory factory)Append the given DetectorFactory to the end of the ordered detector list.private voidExecutionPlan. appendToPass(DetectorFactory factory, AnalysisPass pass)Append a DetectorFactory to the end position in an AnalysisPass.private voidExecutionPlan. assignToPass(DetectorFactory factory, AnalysisPass pass)Make a DetectorFactory a member of an AnalysisPass.booleanAnalysisPass. contains(DetectorFactory factory)Return whether or not this pass contains the given DetectorFactory.booleanByInterfaceDetectorFactorySelector. selectFactory(DetectorFactory factory)booleanDetectorFactorySelector. selectFactory(DetectorFactory factory)Is given DetectorFactory selected (as part of an ordering constraint)?booleanReportingDetectorFactorySelector. selectFactory(DetectorFactory factory)booleanSingleDetectorFactorySelector. 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 voidExecutionPlan. appendDetectorsToPass(java.util.Collection<DetectorFactory> detectorSet, AnalysisPass pass)private ConstraintGraphExecutionPlan. 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 voidExecutionPlan. 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.
-