public interface TypedProvider<T>
extends javax.inject.Provider<T>
Modifier and Type | Method and Description |
---|---|
Class<?> |
getProvidedType()
Get the type of object that will be provided by this provider.
|
Class<?> getProvidedType()
Provider.get()
must be of this type. This is used to help the injector refine its types.Copyright © 2016 GroupLens Research. All rights reserved.