edu.umd.cs.findbugs.detect
Class InfiniteRecursiveLoop2
java.lang.Object
edu.umd.cs.findbugs.detect.InfiniteRecursiveLoop2
- All Implemented Interfaces:
- Detector, Priorities
Deprecated.
@Deprecated
public class InfiniteRecursiveLoop2
- extends java.lang.Object
- implements Detector
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
Method Summary |
void |
report()
Deprecated. This method is called after all classes to be visited. |
void |
visitClassContext(ClassContext classContext)
Deprecated. Visit the ClassContext for a class which should be analyzed
for instances of bug patterns. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfiniteRecursiveLoop2
public InfiniteRecursiveLoop2(BugReporter bugReporter)
- Deprecated.
visitClassContext
public void visitClassContext(ClassContext classContext)
- Deprecated.
- Description copied from interface:
Detector
- Visit the ClassContext for a class which should be analyzed
for instances of bug patterns.
- Specified by:
visitClassContext
in interface Detector
- Parameters:
classContext
- the ClassContext
report
public void report()
- Deprecated.
- Description copied from interface:
Detector
- This method is called after all classes to be visited.
It should be used by any detectors which accumulate information
over all visited classes to generate results.
- Specified by:
report
in interface Detector
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.