Detector2
, Priorities
CheckRelaxingNullnessAnnotation
, TestASM
public abstract class ClassNodeDetector extends org.objectweb.asm.tree.ClassNode implements Detector2
Modifier and Type | Field | Description |
---|---|---|
protected BugReporter |
bugReporter |
access, attrs, fields, innerClasses, interfaces, invisibleAnnotations, invisibleTypeAnnotations, methods, module, name, nestHostClassExperimental, nestMembersExperimental, outerClass, outerMethod, outerMethodDesc, signature, sourceDebug, sourceFile, superName, version, visibleAnnotations, visibleTypeAnnotations
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Constructor | Description |
---|---|
ClassNodeDetector(BugReporter bugReporter) |
Construct a ClassNodeDetector.
|
Modifier and Type | Method | 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
SpotBugs is licensed under the LGPL.