Home
last modified time | relevance | path

Searched refs:HasDependencies (Results 1 – 25 of 34) sorted by relevance

12

/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProviderWithDependencies.java19 import com.google.inject.spi.HasDependencies;
28 interface CheckedProviderWithDependencies<T> extends CheckedProvider<T>, HasDependencies {}
DCheckedProviderMethod.java29 import com.google.inject.spi.HasDependencies;
42 class CheckedProviderMethod<T> implements CheckedProvider<T>, HasDependencies {
/external/guice/core/src/com/google/inject/internal/
DInstanceBindingImpl.java26 import com.google.inject.spi.HasDependencies;
72 return instance instanceof HasDependencies in getDependencies()
73 ? ImmutableSet.copyOf(((HasDependencies) instance).getDependencies()) in getDependencies()
DProviderInstanceBindingImpl.java27 import com.google.inject.spi.HasDependencies;
90 return providerInstance instanceof HasDependencies in getDependencies()
91 ? ImmutableSet.copyOf(((HasDependencies) providerInstance).getDependencies()) in getDependencies()
DLinkedBindingImpl.java26 import com.google.inject.spi.HasDependencies;
31 implements LinkedKeyBinding<T>, HasDependencies {
DInternalProviderInstanceBindingImpl.java8 import com.google.inject.spi.HasDependencies;
71 abstract static class Factory<T> implements InternalFactory<T>, Provider<T>, HasDependencies {
DLinkedProviderBindingImpl.java26 import com.google.inject.spi.HasDependencies;
31 implements ProviderKeyBinding<T>, HasDependencies, DelayedInitialize {
DProviderMethod.java30 import com.google.inject.spi.HasDependencies;
47 implements HasDependencies, ProvidesMethodBinding<T>, ProviderWithExtensionVisitor<T> {
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProviderTest.java44 import com.google.inject.spi.HasDependencies;
586 HasDependencies hasDependencies = in testDependencies_Bind()
587 (HasDependencies) bindInjector.getBinding(Key.get(remoteProviderOfFoo)); in testDependencies_Bind()
589 (HasDependencies) in testDependencies_Bind()
597 hasDependencies = (HasDependencies) bindInjector.getBinding(DependentRemoteProvider.class); in testDependencies_Bind()
630 HasDependencies hasDependencies = in testDependencies_Provides()
631 (HasDependencies) providesInjector.getBinding(Key.get(remoteProviderOfFoo)); in testDependencies_Provides()
634 (HasDependencies) in testDependencies_Provides()
639 (HasDependencies) in testDependencies_Provides()
673 HasDependencies hasDependencies = (HasDependencies) cxtorInjector.getBinding(key); in testDependencies_Cxtor()
[all …]
DThrowingProviderTest.java38 import com.google.inject.spi.HasDependencies;
478 HasDependencies hasDependencies = in testDependencies_Bind()
479 (HasDependencies) bindInjector.getBinding(Key.get(remoteProviderOfString)); in testDependencies_Bind()
481 (HasDependencies) in testDependencies_Bind()
489 hasDependencies = (HasDependencies) bindInjector.getBinding(DependentRemoteProvider.class); in testDependencies_Bind()
529 HasDependencies hasDependencies = in testDependencies_Provides()
530 (HasDependencies) providesInjector.getBinding(Key.get(remoteProviderOfString)); in testDependencies_Provides()
533 (HasDependencies) in testDependencies_Provides()
538 (HasDependencies) in testDependencies_Provides()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DTransitiveDependencyVisitor.java27 import com.google.inject.spi.HasDependencies;
46 private Collection<Key<?>> visitHasDependencies(HasDependencies hasDependencies) { in visitHasDependencies()
DDefaultNodeCreator.java25 import com.google.inject.spi.HasDependencies;
80 private <T extends Binding<?> & HasDependencies> InstanceNode newInstanceNode( in newInstanceNode()
DDefaultEdgeCreator.java26 import com.google.inject.spi.HasDependencies;
65 private <T extends Binding<?> & HasDependencies> Collection<Edge> newDependencyEdges( in newDependencyEdges()
/external/guice/core/src/com/google/inject/spi/
DHasDependencies.java28 public interface HasDependencies { interface
DProviderWithDependencies.java27 public interface ProviderWithDependencies<T> extends Provider<T>, HasDependencies {}
DInstanceBinding.java28 public interface InstanceBinding<T> extends Binding<T>, HasDependencies {
DExposedBinding.java28 public interface ExposedBinding<T> extends Binding<T>, HasDependencies {
DConvertedConstantBinding.java30 public interface ConvertedConstantBinding<T> extends Binding<T>, HasDependencies {
DProvidesMethodBinding.java31 public interface ProvidesMethodBinding<T> extends HasDependencies {
DProviderInstanceBinding.java30 public interface ProviderInstanceBinding<T> extends Binding<T>, HasDependencies {
DConstructorBinding.java32 public interface ConstructorBinding<T> extends Binding<T>, HasDependencies {
/external/guice/core/test/com/googlecode/guice/
DJsr330Test.java34 import com.google.inject.spi.HasDependencies;
313 assertFalse(guicified instanceof HasDependencies); in testGuicify330Provider()
334 assertTrue(guicified instanceof HasDependencies); in testGuicifyWithDependencies()
335 Set<Dependency<?>> actual = ((HasDependencies) guicified).getDependencies(); in testGuicifyWithDependencies()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DTransitiveDependencyVisitorTest.java32 import com.google.inject.spi.HasDependencies;
180 private static class HasDependenciesClass implements Interface, HasDependencies {
/external/guice/core/test/com/google/inject/internal/
DMultibinderTest.java61 import com.google.inject.spi.HasDependencies;
688 HasDependencies withDependencies = (HasDependencies) binding; in testMultibinderDependencies()
716 HasDependencies withDependencies = (HasDependencies) binding; in testMultibinderDependenciesInToolStage()
1464 HasDependencies providerBinding = in testMultibindingProviderDependencies()
1465 (HasDependencies) injector.getBinding(new Key<Collection<Provider<String>>>(setAnn) {}); in testMultibindingProviderDependencies()
1466 HasDependencies setBinding = in testMultibindingProviderDependencies()
1467 (HasDependencies) injector.getBinding(new Key<Set<String>>(setAnn) {}); in testMultibindingProviderDependencies()
DOptionalBinderTest.java52 import com.google.inject.spi.HasDependencies;
1048 HasDependencies withDependencies = (HasDependencies) binding; in testDependencies_both()
1068 HasDependencies withDependencies = (HasDependencies) binding; in testDependencies_actual()
1087 HasDependencies withDependencies = (HasDependencies) binding; in testDependencies_default()
1094 private Set<String> recurseForDependencies(Injector injector, HasDependencies hasDependencies) { in recurseForDependencies()
1098 HasDependencies deps = (HasDependencies) binding; in recurseForDependencies()

12