/** * Shortcut method * The method uses a TypeKey and null injection message to obtain a provider. * * @param type * @param <T> * @return */ default <T> Provider<T> provider(Class<T> type) throws UnsatisfiedInjectionException { return provider(new TypeKey<>(type), null); }