Package edu.umd.cs.findbugs.detect
Class InfiniteRecursiveLoop2
- java.lang.Object
-
- edu.umd.cs.findbugs.detect.InfiniteRecursiveLoop2
-
- All Implemented Interfaces:
Detector,Priorities
@Deprecated public class InfiniteRecursiveLoop2 extends java.lang.Object implements Detector
Deprecated.Signal an infinite loop if either: we see a call to the same method with the same parameters, or we see a call to the same (dynamically dispatched method), and there has been no transfer of control.This does the same thing as InfiniteRecursiveLoop, but uses CFG-based analysis for greater precision.
- Author:
- Bill Pugh, David Hovemeyer
-
-
Field Summary
-
Fields inherited from interface edu.umd.cs.findbugs.Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description InfiniteRecursiveLoop2(BugReporter bugReporter)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidreport()Deprecated.This method is called after all classes to be visited.voidvisitClassContext(ClassContext classContext)Deprecated.Visit the ClassContext for a class which should be analyzed for instances of bug patterns.
-
-
-
Constructor Detail
-
InfiniteRecursiveLoop2
public InfiniteRecursiveLoop2(BugReporter bugReporter)
Deprecated.
-
-
Method Detail
-
visitClassContext
public void visitClassContext(ClassContext classContext)
Deprecated.Description copied from interface:DetectorVisit the ClassContext for a class which should be analyzed for instances of bug patterns.- Specified by:
visitClassContextin interfaceDetector- Parameters:
classContext- the ClassContext
-
-