code: private String findQualifierName(VariableElement element) {
      String name = null;
      if (element.getAnnotationMirrors().isEmpty()) {
        return name;
      }
  
      for (AnnotationMirror annotationMirror : element.getAnnotationMirrors()) {
        TypeElement annotationTypeElement = (TypeElement) annotationMirror.getAnnotationType().asElement();
        if (isSameType(annotationTypeElement, "javax.inject.Named")) {
          checkIfAlreadyHasName(element, name);
          name = getValueOfAnnotation(annotationMirror);
        } else if (annotationTypeElement.getAnnotation(javax.inject.Qualifier.class) != null) {
          checkIfAlreadyHasName(element, name);
          name = annotationTypeElement.getQualifiedName().toString();
        }
      }
      return name;
    }
docs: Lookup both {@link javax.inject.Qualifier} and {@link javax.inject.Named}
  to provide the name of an injection.
  
  @param element the element for which a qualifier is to be found.
  @return the name of this element or null if it has no qualifier annotations.