Home
last modified time | relevance | path

Searched refs:assistedDep (Results 1 – 8 of 8) sorted by relevance

/external/dagger2/javatests/dagger/functional/assisted/
DAssistedFactoryBindsTest.java50 private final AssistedDep assistedDep; field in AssistedFactoryBindsTest.FooImpl
53 FooImpl(Dep dep, @Assisted AssistedDep assistedDep) { in FooImpl() argument
55 this.assistedDep = assistedDep; in FooImpl()
60 Foo create(AssistedDep assistedDep); in create() argument
66 FooImpl create(AssistedDep assistedDep); in create() argument
81 AssistedDep assistedDep = new AssistedDep(); in testFooFactory() local
82 Foo foo = fooFactory.create(assistedDep); in testFooFactory()
87 assertThat(fooImpl.assistedDep).isEqualTo(assistedDep); in testFooFactory()
DAssistedFactoryInaccessibleTest.java49 AssistedDep assistedDep = new AssistedDep(); in testAccessibleFooFactory() local
53 .create(assistedDep); in testAccessibleFooFactory()
56 assertThat(accessibleFoo.assistedDep).isEqualTo(assistedDep); in testAccessibleFooFactory()
61 AssistedDep assistedDep = new AssistedDep(); in testInaccessibleFooFactory() local
66 .create(assistedDep); in testInaccessibleFooFactory()
DAssistedFactoryTest.java111 private final AssistedDep assistedDep; field in AssistedFactoryTest.SimpleFoo
114 SimpleFoo(@Assisted AssistedDep assistedDep) { in SimpleFoo() argument
115 this.assistedDep = assistedDep; in SimpleFoo()
257 assertThat(simpleFoo1.assistedDep).isEqualTo(assistedDep1); in testNestedSimpleFooFactory()
264 assertThat(simpleFoo2.assistedDep).isEqualTo(assistedDep2); in testNestedSimpleFooFactory()
274 assertThat(simpleFoo.assistedDep).isEqualTo(assistedDep1); in testNonNestedSimpleFooFactory()
284 assertThat(simpleFoo.assistedDep).isEqualTo(assistedDep1); in testExtendedSimpleFooFactory()
/external/dagger2/javatests/dagger/functional/assisted/kotlin/
DKotlinAssistedInjectionTest.java39 AssistedDep assistedDep = new AssistedDep(); in testFooFactory() local
40 Foo foo = fooFactory.create(assistedDep); in testFooFactory()
41 assertThat(foo.getAssistedDep()).isEqualTo(assistedDep); in testFooFactory()
48 AssistedDep assistedDep = new AssistedDep(); in testFooDataFactory() local
49 FooData fooData = fooDataFactory.create(assistedDep); in testFooDataFactory()
50 assertThat(fooData.getAssistedDep()).isEqualTo(assistedDep); in testFooDataFactory()
DKotlinAssistedInjectionClasses.kt29 class Foo @AssistedInject constructor(val dep: Dep, @Assisted val assistedDep: AssistedDep) constant in dagger.functional.assisted.kotlin.Foo
32 data class FooData @AssistedInject constructor(val dep: Dep, @Assisted val assistedDep: AssistedDep) constant in dagger.functional.assisted.kotlin.FooData
37 fun create(assistedDep: AssistedDep): Foo in create()
43 fun create(assistedDep: AssistedDep): FooData in create()
/external/dagger2/javatests/dagger/functional/assisted/subpackage/
DInaccessibleFoo.java26 private final AssistedDep assistedDep; field in InaccessibleFoo
29 InaccessibleFoo(Dep dep, @Assisted AssistedDep assistedDep) { in InaccessibleFoo() argument
31 this.assistedDep = assistedDep; in InaccessibleFoo()
DAccessibleFoo.java26 public final AssistedDep assistedDep; field in AccessibleFoo
29 AccessibleFoo(Dep dep, @Assisted AssistedDep assistedDep) { in AccessibleFoo() argument
31 this.assistedDep = assistedDep; in AccessibleFoo()
DInaccessibleFooFactory.java24 InaccessibleFoo create(AssistedDep assistedDep); in create() argument