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,
String methodName,
String desc,
String methodSignature,
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 analysisCopyright © 2003–2015. All rights reserved.