如何将工厂绑定到注解限定的注入点?

How can I bind a factory to a annotation-qualified injection point?

并得到了如何绑定命名注入点的答案。

而且我不知道如何将工厂绑定到合格的注入点。

class SomeResource {

    @Inject
    @Some // is a @Qualifier, of course.
    private MyType qualified;
}

我准备了一个工厂

class SomeFactory extends Factory<MyType> {
}

我坚持为此创建活页夹

class SomeBinder extends AbstractBinder {
    @Override protected void configure() {
        // @@?
    }
}

我其实很想知道如何使用ServiceBindingBuilder#qualifiedBy

我需要限定符注释的实现。

public class Some_
    extends AnnotationLiteral<Some>
    implements Some {
}

这样我就可以这样使用了

bindFactory(Someactory.class)
    .qualifiedBy(new Some_())
    .to(MyType.class);

我真的不明白为什么 ServiceBindingBuilder 没有采用注释的方法 class 而不是实例。