docs: private static void getApplicableScopedApplications(Set<TypeQualifierAnnotation> result, AnnotatedObject o, ElementType e) {
          if (!o.isSynthetic()) {
              AnnotatedObject outer = o.getContainingScope();
              if (outer != null) {
                  getApplicableScopedApplications(result, outer, e);
              }
          }
          getDirectApplications(result, o, e);
      }