Home
last modified time | relevance | path

Searched refs:HasDependencies (Results 1 – 25 of 35) 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;
43 class CheckedProviderMethod<T> implements CheckedProvider<T>, HasDependencies {
/external/guice/core/src/com/google/inject/internal/
DInstanceBindingImpl.java26 import com.google.inject.spi.HasDependencies;
73 return instance instanceof HasDependencies in getDependencies()
74 ? ImmutableSet.copyOf(((HasDependencies) instance).getDependencies()) in getDependencies()
DProviderInstanceBindingImpl.java26 import com.google.inject.spi.HasDependencies;
79 return providerInstance instanceof HasDependencies in getDependencies()
80 ? ImmutableSet.copyOf(((HasDependencies) providerInstance).getDependencies()) in getDependencies()
DLinkedBindingImpl.java25 import com.google.inject.spi.HasDependencies;
30 …class LinkedBindingImpl<T> extends BindingImpl<T> implements LinkedKeyBinding<T>, HasDependencies {
DLinkedProviderBindingImpl.java25 import com.google.inject.spi.HasDependencies;
31 extends BindingImpl<T> implements ProviderKeyBinding<T>, HasDependencies, DelayedInitialize {
DProviderMethod.java32 import com.google.inject.spi.HasDependencies;
50 public abstract class ProviderMethod<T> implements ProviderWithExtensionVisitor<T>, HasDependencies,
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProviderTest.java45 import com.google.inject.spi.HasDependencies;
561 HasDependencies hasDependencies = in testDependencies_Bind()
562 (HasDependencies)bindInjector.getBinding(Key.get(remoteProviderOfFoo)); in testDependencies_Bind()
564 (HasDependencies)bindInjector.getBinding( in testDependencies_Bind()
570 hasDependencies = (HasDependencies)bindInjector.getBinding(DependentRemoteProvider.class); in testDependencies_Bind()
595 HasDependencies hasDependencies = in testDependencies_Provides()
596 (HasDependencies) providesInjector.getBinding(Key.get(remoteProviderOfFoo)); in testDependencies_Provides()
598 hasDependencies = (HasDependencies) providesInjector.getBinding( in testDependencies_Provides()
601 hasDependencies = (HasDependencies)providesInjector.getBinding( in testDependencies_Provides()
626 HasDependencies hasDependencies = (HasDependencies) cxtorInjector.getBinding(key); in testDependencies_Cxtor()
[all …]
DThrowingProviderTest.java38 import com.google.inject.spi.HasDependencies;
439 HasDependencies hasDependencies = in testDependencies_Bind()
440 (HasDependencies)bindInjector.getBinding(Key.get(remoteProviderOfString)); in testDependencies_Bind()
442 (HasDependencies)bindInjector.getBinding( in testDependencies_Bind()
448 hasDependencies = (HasDependencies)bindInjector.getBinding(DependentRemoteProvider.class); in testDependencies_Bind()
477 HasDependencies hasDependencies = in testDependencies_Provides()
478 (HasDependencies)providesInjector.getBinding(Key.get(remoteProviderOfString)); in testDependencies_Provides()
481 (HasDependencies)providesInjector.getBinding( in testDependencies_Provides()
484 hasDependencies = (HasDependencies)providesInjector.getBinding( in testDependencies_Provides()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DTransitiveDependencyVisitor.java27 import com.google.inject.spi.HasDependencies;
48 private Collection<Key<?>> visitHasDependencies(HasDependencies hasDependencies) { in visitHasDependencies()
DDefaultNodeCreator.java25 import com.google.inject.spi.HasDependencies;
80 private <T extends Binding<?> & HasDependencies> InstanceNode newInstanceNode(T binding, 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.java29 public interface InstanceBinding<T> extends Binding<T>, HasDependencies {
DExposedBinding.java28 public interface ExposedBinding<T> extends Binding<T>, HasDependencies {
DConvertedConstantBinding.java31 public interface ConvertedConstantBinding<T> extends Binding<T>, HasDependencies {
DProvidesMethodBinding.java32 public interface ProvidesMethodBinding<T> extends HasDependencies {
DProviderInstanceBinding.java31 public interface ProviderInstanceBinding<T> extends Binding<T>, HasDependencies {
DConstructorBinding.java33 public interface ConstructorBinding<T> extends Binding<T>, HasDependencies {
/external/guice/core/test/com/googlecode/guice/
DJsr330Test.java34 import com.google.inject.spi.HasDependencies;
275 assertFalse(guicified instanceof HasDependencies); in testGuicify330Provider()
293 assertTrue(guicified instanceof HasDependencies); in testGuicifyWithDependencies()
294 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;
170 private static class HasDependenciesClass implements Interface, HasDependencies {
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMapBinderTest.java53 import com.google.inject.spi.HasDependencies;
682 HasDependencies withDependencies = (HasDependencies) binding; in testMultibinderDependencies()
691 private Set<String> recurseForDependencies(Injector injector, HasDependencies hasDependencies) { in recurseForDependencies()
695 HasDependencies deps = (HasDependencies) binding; in recurseForDependencies()
718 HasDependencies withDependencies = (HasDependencies) binding; in testMultibinderDependenciesInToolStage()
DOptionalBinderTest.java53 import com.google.inject.spi.HasDependencies;
854 HasDependencies withDependencies = (HasDependencies) binding; in testDependencies_both()
871 HasDependencies withDependencies = (HasDependencies) binding; in testDependencies_actual()
887 HasDependencies withDependencies = (HasDependencies) binding; in testDependencies_default()
894 private Set<String> recurseForDependencies(Injector injector, HasDependencies hasDependencies) { in recurseForDependencies()
898 HasDependencies deps = (HasDependencies) binding; in recurseForDependencies()
DMultibinderTest.java57 import com.google.inject.spi.HasDependencies;
517 HasDependencies withDependencies = (HasDependencies) binding; in testMultibinderDependencies()
541 HasDependencies withDependencies = (HasDependencies) binding; in testMultibinderDependenciesInToolStage()
1197 HasDependencies providerBinding = in testMultibindingProviderDependencies()
1198 (HasDependencies) injector.getBinding(new Key<Collection<Provider<String>>>(setAnn) {}); in testMultibindingProviderDependencies()
1199 HasDependencies setBinding = in testMultibindingProviderDependencies()
1200 (HasDependencies) injector.getBinding(new Key<Set<String>>(setAnn) {}); in testMultibindingProviderDependencies()

12