/** * Returns the key to use for the actual binding, overrides the default if set. * * <p>As a side effect this installs support for the 'direct type', so a binding for {@code T} * will be made available. */ Key<T> getKeyForActualBinding() { bindingSelection.checkNotInitialized(); addDirectTypeBinding(binder); return bindingSelection.getKeyForActualBinding(); }
/** * Returns the key to use for the default binding. * * <p>As a side effect this installs support for the 'direct type', so a binding for {@code T} * will be made available. */ Key<T> getKeyForDefaultBinding() { bindingSelection.checkNotInitialized(); addDirectTypeBinding(binder); return bindingSelection.getKeyForDefaultBinding(); }
/** * Returns the key to use for the default binding. * * <p>As a side effect this installs support for the 'direct type', so a binding for {@code T} * will be made available. */ Key<T> getKeyForDefaultBinding() { bindingSelection.checkNotInitialized(); addDirectTypeBinding(binder); return bindingSelection.getKeyForDefaultBinding(); }
/** * Returns the key to use for the actual binding, overrides the default if set. * * <p>As a side effect this installs support for the 'direct type', so a binding for {@code T} * will be made available. */ Key<T> getKeyForActualBinding() { bindingSelection.checkNotInitialized(); addDirectTypeBinding(binder); return bindingSelection.getKeyForActualBinding(); }
/** * Returns the key to use for the default binding. * * <p>As a side effect this installs support for the 'direct type', so a binding for {@code T} * will be made available. */ Key<T> getKeyForDefaultBinding() { bindingSelection.checkNotInitialized(); addDirectTypeBinding(binder); return bindingSelection.getKeyForDefaultBinding(); }
/** * Returns the key to use for the actual binding, overrides the default if set. * * <p>As a side effect this installs support for the 'direct type', so a binding for {@code T} * will be made available. */ Key<T> getKeyForActualBinding() { bindingSelection.checkNotInitialized(); addDirectTypeBinding(binder); return bindingSelection.getKeyForActualBinding(); }