Home
last modified time | relevance | path

Searched refs:singletonType (Results 1 – 3 of 3) sorted by relevance

/external/dagger2/javatests/dagger/functional/subcomponent/
DRequiresSingletons.java22 private final SingletonType singletonType; field in RequiresSingletons
25 @Inject RequiresSingletons(SingletonType singletonType, in RequiresSingletons() argument
27 this.singletonType = singletonType; in RequiresSingletons()
31 SingletonType singletonType() { in singletonType() method in RequiresSingletons
32 return singletonType; in singletonType()
DSubcomponentTest.java56 assertThat(childComponent.requiresSingleton().singletonType()) in scopePropagatesUpward_class()
57 .isSameInstanceAs(childComponent.requiresSingleton().singletonType()); in scopePropagatesUpward_class()
58 assertThat(childComponent.requiresSingleton().singletonType()) in scopePropagatesUpward_class()
60 childComponent.newGrandchildComponent().requiresSingleton().singletonType()); in scopePropagatesUpward_class()
DUnscopedType.java22 @Inject UnscopedType(@SuppressWarnings("unused") SingletonType singletonType) {} in UnscopedType() argument