code: public static Optional<Annotation> getQualifier(AnnotatedElement annotatedElement) {
          AnnotatedElement cleanedAnnotatedElement;
          if (annotatedElement instanceof Class<?>) {
              cleanedAnnotatedElement = ProxyUtils.cleanProxy((Class<?>) annotatedElement);
          } else {
              cleanedAnnotatedElement = annotatedElement;
          }
          return Annotations.on(cleanedAnnotatedElement)
                  .findAll()
                  .filter(AnnotationPredicates.annotationAnnotatedWith(Qualifier.class, false))
                  .findFirst();
      }
docs: Optionally returns the qualifier annotation of a class.