docs: private void extendScanningUpwards() {
          // Check superclass
          if (superclassName != null) {
              scheduleScanningIfExternalClass(superclassName, "superclass");
          }
          // Check implemented interfaces
          if (implementedInterfaces != null) {
              for (final String interfaceName : implementedInterfaces) {
                  scheduleScanningIfExternalClass(interfaceName, "interface");
              }
          }
          // Check class annotations
          if (classAnnotations != null) {
              for (final AnnotationInfo annotationInfo : classAnnotations) {
                  scheduleScanningIfExternalClass(annotationInfo.getName(), "class annotation");
              }
          }
          // Check method annotations and method parameter annotations
          if (methodInfoList != null) {
              for (final MethodInfo methodInfo : methodInfoList) {
                  if (methodInfo.annotationInfo != null) {
                      for (final AnnotationInfo methodAnnotationInfo : methodInfo.annotationInfo) {
                          scheduleScanningIfExternalClass(methodAnnotationInfo.getName(), "method annotation");
                      }
                      if (methodInfo.parameterAnnotationInfo != null
                              && methodInfo.parameterAnnotationInfo.length > 0) {
                          for (final AnnotationInfo[] paramAnns : methodInfo.parameterAnnotationInfo) {
                              if (paramAnns != null && paramAnns.length > 0) {
                                  for (final AnnotationInfo paramAnn : paramAnns) {
                                      scheduleScanningIfExternalClass(paramAnn.getName(),
                                              "method parameter annotation");
                                  }
                              }
                          }
                      }
                  }
              }
          }
          // Check field annotations
          if (fieldInfoList != null) {
              for (final FieldInfo fieldInfo : fieldInfoList) {
                  if (fieldInfo.annotationInfo != null) {
                      for (final AnnotationInfo fieldAnnotationInfo : fieldInfo.annotationInfo) {
                          scheduleScanningIfExternalClass(fieldAnnotationInfo.getName(), "field annotation");
                      }
                  }
              }
          }
      }