Interface LinkedKeyBinding<T>

  • All Superinterfaces:
    Binding<T>, Element

    public interface LinkedKeyBinding<T>
    extends Binding<T>
    A binding to a linked key. The other key's binding is used to resolve injections.
    • Method Detail

      • getLinkedKey

        Key<? extends T> getLinkedKey()
        Returns the linked key used to resolve injections. That binding can be retrieved from an injector using Injector.getBinding(key).