core/play/src/main/java/play/inject/BindingKey.java
public <A extends T> Binding<T> to(final Supplier<A> instance) {
    return underlying.to(new FromJavaSupplier<>(instance)).asJava();
  }
public <A extends T> Binding<T> to(final Supplier<A> instance) {
    return underlying.to(new FromJavaSupplier<>(instance)).asJava();
  }
Bind this binding key to the given instance.