|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.detect.FindInconsistentSync2
public class FindInconsistentSync2
Find instance fields which are sometimes accessed (read or written) with the receiver lock held and sometimes without. These are candidates to be data races.
| Field Summary |
|---|
| Fields inherited from interface edu.umd.cs.findbugs.Detector |
|---|
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY |
| Constructor Summary | |
|---|---|
FindInconsistentSync2(BugReporter bugReporter)
|
|
| Method Summary | |
|---|---|
static boolean |
isGetterMethod(ClassContext classContext,
org.apache.bcel.classfile.Method method)
Determine whether or not the the given method is a getter method. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindInconsistentSync2(BugReporter bugReporter)
| Method Detail |
|---|
public void visitClassContext(ClassContext classContext)
Detector
visitClassContext in interface DetectorclassContext - the ClassContextpublic void report()
Detector
report in interface Detector
public static boolean isGetterMethod(ClassContext classContext,
org.apache.bcel.classfile.Method method)
classContext - the ClassContext for the class containing the methodmethod - the method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||