docs: public static <T> Qualifier<T> byAnnotation(Annotation annotation) {
          if (annotation.annotationType() == Type.class) {
              Type typeAnn = (Type) annotation;
              return byType(typeAnn.value());
          } else if (annotation.annotationType() == Named.class) {
              Named nameAnn = (Named) annotation;
              return byName(nameAnn.value());
          } else {
              return new AnnotationQualifier<>(annotation);
          }
      }