public ScopedBindingBuilder to(TypeLiteral<? extends T> type) {
        checkNotNull(type, "type is null");

        this.provider.setKey(concreteType.ofType(type));

        return this;
    }
Bind a different type as the given binding. This allows binding e.g. implementations to interface types.
guice/src/main/java/org/jdbi/v3/guice/internal/InternalImportBindingBuilder.java