public class FindBadCast2 extends java.lang.Object implements Detector
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY| Constructor and Description |
|---|
FindBadCast2(BugReporter bugReporter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
prescreen(ClassContext classContext,
org.apache.bcel.classfile.Method 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.
|
public FindBadCast2(BugReporter bugReporter)
public void visitClassContext(ClassContext classContext)
DetectorvisitClassContext in interface DetectorclassContext - the ClassContextpublic boolean prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.