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.detectorFactoryListprivate final Map<String, DetectorFactory> DetectorFactoryCollection.factoriesByDetectorClassNameprivate final Map<String, DetectorFactory> DetectorFactoryCollection.factoriesByNameprivate final List<DetectorFactory> DetectorFactoryCollection.factoryListMethods in edu.umd.cs.findbugs that return DetectorFactoryModifier and TypeMethodDescriptionprivate DetectorFactoryPlugin.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 TypeMethodDescriptionvoidPlugin.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 DetectorFactoryModifier and TypeMethodDescriptionvoidUserPreferences.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 DetectorFactoryFields in edu.umd.cs.findbugs.plan with type parameters of type DetectorFactoryModifier and TypeFieldDescriptionprivate Set<DetectorFactory> ExecutionPlan.assignedToPassSetprivate Map<String, DetectorFactory> ExecutionPlan.factoryMapprivate final HashSet<DetectorFactory> AnalysisPass.memberSetprivate final LinkedList<DetectorFactory> AnalysisPass.orderedFactoryListMethods 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 DetectorNodeExecutionPlan.addOrCreateDetectorNode(DetectorFactory factory, Map<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 DetectorFactoryModifier and TypeMethodDescriptionprivate Set<DetectorNode> ExecutionPlan.addOrCreateDetectorNodes(DetectorFactorySelector selector, Map<String, DetectorNode> nodeMap, Set<DetectorFactory> factorySet, ConstraintGraph constraintGraph) private voidExecutionPlan.appendDetectorsToPass(Collection<DetectorFactory> detectorSet, AnalysisPass pass) private ConstraintGraphExecutionPlan.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 voidExecutionPlan.sortPass(List<DetectorOrderingConstraint> constraintList, Map<String, DetectorFactory> factoryMap, AnalysisPass pass) Constructors in edu.umd.cs.findbugs.plan with parameters of type DetectorFactory