public abstract class ClassNodeDetector extends org.objectweb.asm.tree.ClassNode implements Detector2
Modifier and Type | Field and Description |
---|---|
protected BugReporter |
bugReporter |
access, attrs, fields, innerClasses, interfaces, invisibleAnnotations, invisibleTypeAnnotations, methods, name, outerClass, outerMethod, outerMethodDesc, signature, sourceDebug, sourceFile, superName, version, visibleAnnotations, visibleTypeAnnotations
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Constructor and Description |
---|
ClassNodeDetector(BugReporter bugReporter)
Construct a ClassNodeDetector.
|
Modifier and Type | Method and Description |
---|---|
void |
finishPass()
This method is called at the end of the analysis pass.
|
java.lang.String |
getDetectorClassName()
Get the name of the detector class.
|
void |
visitClass(ClassDescriptor classDescriptor)
Visit a class.
|
protected final BugReporter bugReporter
public ClassNodeDetector(BugReporter bugReporter)
bugReporter
- the BugReporter that bug should be reporter to.public java.lang.String getDetectorClassName()
Detector2
getDetectorClassName
in interface Detector2
public void visitClass(ClassDescriptor classDescriptor) throws CheckedAnalysisException
Detector2
visitClass
in interface Detector2
classDescriptor
- descriptor naming the class to visitCheckedAnalysisException
- if an exception occurs during analysispublic void finishPass()
Detector2
finishPass
in interface Detector2
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.