Detector
, Priorities
public class FindInconsistentSync2 extends java.lang.Object implements Detector
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Constructor | Description |
---|---|
FindInconsistentSync2(BugReporter bugReporter) |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isGetterMethod(ClassContext classContext,
org.apache.bcel.classfile.Method method) |
Determine whether or not the the given method is a getter method.
|
static boolean |
isServletField(XField field) |
|
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.
|
public FindInconsistentSync2(BugReporter bugReporter)
public static boolean isServletField(XField field)
public void visitClassContext(ClassContext classContext)
Detector
visitClassContext
in interface Detector
classContext
- the ClassContextpublic void report()
Detector
public static boolean isGetterMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
classContext
- the ClassContext for the class containing the methodmethod
- the methodSpotBugs is licensed under the LGPL.