Uses of Interface
edu.umd.cs.findbugs.StatelessDetector
Packages that use StatelessDetector
-
Uses of StatelessDetector in edu.umd.cs.findbugs.detect
Classes in edu.umd.cs.findbugs.detect that implement StatelessDetectorModifier and TypeClassDescriptionclassclassThis detector is currently disabled by default.classclassclassclassclassclassfinal classFind places where ordinary (balanced) synchronization is performed on JSR166 Lock objects.classfinal classclassclassfinal classA Detector to look for streams that are opened in a method, do not escape the method, and are not closed on all paths out of the method.classclassfinal classclassDetector to find private methods that are never called.classclassclassA Detector to look for useless control flow.classFind comparisons involving values computed with bitwise operations whose outcomes are fixed at compile time.classclassFind occurrences of collection.toArray( new Foo[0] ); This causes another memory allocation through reflection Much better to do collection.toArray( new Foo[collection.size()] );classclassclassfinal classclassclassclassfinds public classes that use 'this' as a semaphore, which can cause conflicts if clients of this class use an instance of this class as their own synchronization point.classclassclassclassRuntimeExceptionCaptureclassclassFind occurrences of using the String "+" or "+=" operators within a loop.classFind occurrences of a instanceof b where it can be determined statically whether this is true or false.classlooks for calls to Thread.interrupted from a non static context, especially when that context is not 'currentThread()'.classclassFind occurrences of Math using constants, where the result of the calculation can be determined statically.classclassclassclass