Uses of Interface
edu.umd.cs.findbugs.Detector2
Packages that use Detector2
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 Detector2 in edu.umd.cs.findbugs
Classes in edu.umd.cs.findbugs that implement Detector2Modifier and TypeClassDescriptionclass
An adapter allowing classes implementing the Detector interface to support the new Detector2 interface.class
Methods in edu.umd.cs.findbugs that return Detector2Modifier and TypeMethodDescriptionDetectorFactory.createDetector2
(BugReporter bugReporter) Create a Detector2 instance.DetectorFactory.ReflectionDetectorCreator.createDetector2
(BugReporter bugReporter) Methods in edu.umd.cs.findbugs with parameters of type Detector2Modifier and TypeMethodDescriptionprivate void
FindBugs2.logRecoverableException
(ClassDescriptor classDescriptor, Detector2 detector, Throwable e) Report an exception that occurred while analyzing a class with a detector.Constructors in edu.umd.cs.findbugs with parameters of type Detector2ModifierConstructorDescriptionBugInstance
(Detector2 detector, String type, int priority) Create a new BugInstance. -
Uses of Detector2 in edu.umd.cs.findbugs.asm
Classes in edu.umd.cs.findbugs.asm that implement Detector2Modifier and TypeClassDescriptionclass
Abstract base class to to reduce boilerplate needed for writing ASM-based Detectors implemented as ClassNode visitors -
Uses of Detector2 in edu.umd.cs.findbugs.bcel
Classes in edu.umd.cs.findbugs.bcel that implement Detector2Modifier and TypeClassDescriptionclass
Base class for detectors that analyze CFG (and/or use CFG-based analyses). -
Uses of Detector2 in edu.umd.cs.findbugs.detect
Classes in edu.umd.cs.findbugs.detect that implement Detector2Modifier and TypeClassDescriptionclass
Build the ObligationPolicyDatabase used by ObligationAnalysis.class
Deprecated.The annotation based approach is useless for lambdas.class
Checks that overriding methods do not relaxNonnull
(madeCheckForNull
) on return values orCheckForNull
(madeNonnull
) on parameters.class
Check JSR-305 type qualifiers.class
Find unsatisfied obligations in Java methods.class
Sample detector, using ASMclass
TestDataflowAnalysis<Fact,
AnalysisType extends DataflowAnalysis<Fact>> This detector is just a test harness to test a dataflow analysis class specified by the dataflow.classname property.class
An empty detector reporting: US_USELESS_SUPPRESSION_ON_CLASS US_USELESS_SUPPRESSION_ON_FIELD US_USELESS_SUPPRESSION_ON_METHOD US_USELESS_SUPPRESSION_ON_METHOD_PARAMETER US_USELESS_SUPPRESSION_ON_PACKAGE This is needed so the bug instances are not fromNoteSuppressedWarnings
which is aNonReportingDetector
-
Uses of Detector2 in edu.umd.cs.findbugs.plan
Methods in edu.umd.cs.findbugs.plan that return Detector2Modifier and TypeMethodDescriptionAnalysisPass.instantiateDetector2sInPass
(BugReporter bugReporter) Instantiate all of the Detector2s in this pass and return them in a (correctly-ordered) array.