public final class FindTwoLockWait extends java.lang.Object implements Detector, StatelessDetector
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Constructor and Description |
---|
FindTwoLockWait(BugReporter bugReporter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
preScreen(org.apache.bcel.generic.MethodGen mg) |
void |
report()
This method is called after all classes to be visited.
|
void |
visitClassContext(ClassContext classContext)
Visit the ClassContext for a class which should be analyzed for instances
of bug patterns.
|
void |
visitLocation(ClassContext classContext,
Location location,
org.apache.bcel.generic.MethodGen methodGen,
LockDataflow dataflow) |
public FindTwoLockWait(BugReporter bugReporter)
public java.lang.Object clone()
clone
in interface StatelessDetector
clone
in class java.lang.Object
public void visitClassContext(ClassContext classContext)
Detector
visitClassContext
in interface Detector
classContext
- the ClassContextpublic boolean preScreen(org.apache.bcel.generic.MethodGen mg)
public void visitLocation(ClassContext classContext, Location location, org.apache.bcel.generic.MethodGen methodGen, LockDataflow dataflow) throws DataflowAnalysisException
DataflowAnalysisException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.