docs: public static @CheckForNull
      TypeQualifierAnnotation getInheritedTypeQualifierAnnotation(XMethod xmethod, int parameter,
              TypeQualifierValue<?> typeQualifierValue) {
          assert !xmethod.isStatic();
  
          ParameterAnnotationAccumulator accumulator = new ParameterAnnotationAccumulator(typeQualifierValue, xmethod, parameter);
          try {
              AnalysisContext.currentAnalysisContext().getSubtypes2().traverseSupertypesDepthFirst(xmethod.getClassDescriptor(), accumulator);
              TypeQualifierAnnotation result = accumulator.getResult().getEffectiveTypeQualifierAnnotation();
              if (result == null && accumulator.overrides()) {
                  return TypeQualifierAnnotation.OVERRIDES_BUT_NO_ANNOTATION;
              }
              return result;
          } catch (ClassNotFoundException e) {
              AnalysisContext.currentAnalysisContext().getLookupFailureCallback().reportMissingClass(e);
              return null;
          }
      }