|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.asm.tree.MemberNode
org.objectweb.asm.tree.ClassNode
edu.umd.cs.findbugs.asm.ClassNodeDetector
public abstract class ClassNodeDetector
Abstract base class to to reduce boilerplate needed for writing ASM-based Detectors implemented as ClassNode visitors
| Field Summary | |
|---|---|
protected BugReporter |
bugReporter
|
| Fields inherited from class org.objectweb.asm.tree.ClassNode |
|---|
access, fields, innerClasses, interfaces, methods, name, outerClass, outerMethod, outerMethodDesc, signature, sourceDebug, sourceFile, superName, version |
| Fields inherited from class org.objectweb.asm.tree.MemberNode |
|---|
attrs, invisibleAnnotations, visibleAnnotations |
| Fields inherited from interface edu.umd.cs.findbugs.Priorities |
|---|
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY |
| Constructor Summary | |
|---|---|
ClassNodeDetector(BugReporter bugReporter)
Construct a ClassNodeDetector. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.objectweb.asm.tree.ClassNode |
|---|
accept, visit, visitField, visitInnerClass, visitMethod, visitOuterClass, visitSource |
| Methods inherited from class org.objectweb.asm.tree.MemberNode |
|---|
visitAnnotation, visitAttribute, visitEnd |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.objectweb.asm.ClassVisitor |
|---|
visitAnnotation, visitAttribute, visitEnd |
| Field Detail |
|---|
protected final BugReporter bugReporter
| Constructor Detail |
|---|
public ClassNodeDetector(BugReporter bugReporter)
bugReporter - the BugReporter that bug should be reporter to.| Method Detail |
|---|
public java.lang.String getDetectorClassName()
Detector2
getDetectorClassName in interface Detector2
public void visitClass(ClassDescriptor classDescriptor)
throws CheckedAnalysisException
Detector2
visitClass in interface Detector2classDescriptor - descriptor naming the class to visit
CheckedAnalysisException - if an exception occurs during analysispublic void finishPass()
Detector2
finishPass in interface Detector2
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||