public class CheckRelaxingNullnessAnnotation extends ClassNodeDetector
Nonnull (made
CheckForNull) on return values or CheckForNull (made
Nonnull) on parameters.
The code accepts also old (deprecated) nullness annotations from
edu.umd.cs.findbugs.annotations package.bugReporteraccess, attrs, fields, innerClasses, interfaces, invisibleAnnotations, invisibleTypeAnnotations, methods, name, outerClass, outerMethod, outerMethodDesc, signature, sourceDebug, sourceFile, superName, version, visibleAnnotations, visibleTypeAnnotationsEXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY| Constructor and Description |
|---|
CheckRelaxingNullnessAnnotation(BugReporter bugReporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
visitClass(ClassDescriptor classDescriptor)
Visit a class.
|
org.objectweb.asm.MethodVisitor |
visitMethod(int methodAccess,
java.lang.String methodName,
java.lang.String desc,
java.lang.String methodSignature,
java.lang.String[] exceptions) |
finishPass, getDetectorClassNamepublic CheckRelaxingNullnessAnnotation(BugReporter bugReporter)
public void visitClass(ClassDescriptor classDescriptor) throws CheckedAnalysisException
Detector2visitClass in interface Detector2visitClass in class ClassNodeDetectorclassDescriptor - descriptor naming the class to visitCheckedAnalysisException - if an exception occurs during analysispublic org.objectweb.asm.MethodVisitor visitMethod(int methodAccess,
java.lang.String methodName,
java.lang.String desc,
java.lang.String methodSignature,
java.lang.String[] exceptions)
visitMethod in class org.objectweb.asm.tree.ClassNodeFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.