Searched refs:providerType (Results 1 – 9 of 9) sorted by relevance
37 private final Class<? extends Provider<?>> providerType; field in ProvidedByInternalFactory44 Class<? extends Provider<?>> providerType, in ProvidedByInternalFactory() argument48 this.providerType = providerType; in ProvidedByInternalFactory()83 throw errors.subtypeNotProvided(providerType, rawType).toException(); in provision()
123 Class<? extends javax.inject.Provider<? extends T>> providerType) { in toProvider() argument124 return toProvider(Key.get(providerType)); in toProvider()128 TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType) { in toProvider() argument129 return toProvider(Key.get(providerType)); in toProvider()
296 Type providerType = key.getTypeLiteral().getType(); in getProvidedKey() local299 if (!(providerType instanceof ParameterizedType)) { in getProvidedKey()303 Type entryType = ((ParameterizedType) providerType).getActualTypeArguments()[0]; in getProvidedKey()702 Class<? extends Provider<?>> providerType = providedBy.value();705 if (providerType == rawType) {711 Key<? extends Provider<T>> providerKey = (Key<? extends Provider<T>>) Key.get(providerType);713 new ProvidedByInternalFactory<T>(rawType, providerType, providerKey);
204 public Errors subtypeNotProvided(Class<? extends Provider<?>> providerType, in subtypeNotProvided() argument206 return addMessage("%s doesn't provide instances of %s.", providerType, type); in subtypeNotProvided()
206 Type providerType = type.getType(); in getNaturalFieldType() local207 if (providerType instanceof Class) { in getNaturalFieldType()210 Preconditions.checkState(providerType instanceof ParameterizedType); in getNaturalFieldType()211 Type[] providerTypeArguments = ((ParameterizedType) providerType).getActualTypeArguments(); in getNaturalFieldType()
73 Class<? extends javax.inject.Provider<? extends T>> providerType); in toProvider() argument79 TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType); in toProvider() argument
201 Type providerType = Types.providerOf(elementType.getType()); in collectionOfProvidersOf() local202 Type type = Types.newParameterizedType(Collection.class, providerType); in collectionOfProvidersOf()209 Type providerType = in collectionOfJavaxProvidersOf() local211 Type type = Types.newParameterizedType(Collection.class, providerType); in collectionOfJavaxProvidersOf()
134 final TypeLiteral<Provider<T>> providerType() { in providerType() method in TypeLiteral
208 return ofType(typeLiteral.providerType());