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 TypeClassDescriptionclassAn adapter allowing classes implementing the Detector interface to support the new Detector2 interface.classMethods 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 voidFindBugs2.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 TypeClassDescriptionclassAbstract 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 TypeClassDescriptionclassBase 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 TypeClassDescriptionclassBuild the ObligationPolicyDatabase used by ObligationAnalysis.classDeprecated.The annotation based approach is useless for lambdas.classChecks that overriding methods do not relaxNonnull(madeCheckForNull) on return values orCheckForNull(madeNonnull) on parameters.classCheck JSR-305 type qualifiers.classFind unsatisfied obligations in Java methods.classSample detector, using ASMclassTestDataflowAnalysis<Fact, AnalysisType extends DataflowAnalysis<Fact>>This detector is just a test harness to test a dataflow analysis class specified by the dataflow.classname property.classAn 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 fromNoteSuppressedWarningswhich 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.