diff --git a/compiler/src/test/resources/tests/auto_bind/abstract_supertype/ksp/AutoBindRealRepositorySingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/abstract_supertype/ksp/AutoBindRealRepositorySingletonModule.kt.txt index c927deb1..b18e768a 100644 --- a/compiler/src/test/resources/tests/auto_bind/abstract_supertype/ksp/AutoBindRealRepositorySingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/abstract_supertype/ksp/AutoBindRealRepositorySingletonModule.kt.txt @@ -15,6 +15,5 @@ import kotlin.String @OriginatingElement(topLevelClass = RealRepository::class) public abstract class AutoBindRealRepositorySingletonModule private constructor() { @Binds - public abstract fun bindRealRepositoryAsRepositoryOfString(realRepository: RealRepository): - Repository + public abstract fun bindRealRepositoryAsRepositoryOfString(realRepository: RealRepository): Repository } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindActivityRepositoryActivityModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindActivityRepositoryActivityModule.kt.txt index 0420a840..47814f38 100644 --- a/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindActivityRepositoryActivityModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindActivityRepositoryActivityModule.kt.txt @@ -14,6 +14,5 @@ import javax.`annotation`.processing.Generated @OriginatingElement(topLevelClass = ActivityRepository::class) public abstract class AutoBindActivityRepositoryActivityModule private constructor() { @Binds - public abstract fun bindActivityRepositoryAsRepository(activityRepository: ActivityRepository): - Repository + public abstract fun bindActivityRepositoryAsRepository(activityRepository: ActivityRepository): Repository } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindFragmentRepositoryFragmentModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindFragmentRepositoryFragmentModule.kt.txt index 0b8954bf..73dacdbe 100644 --- a/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindFragmentRepositoryFragmentModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindFragmentRepositoryFragmentModule.kt.txt @@ -14,6 +14,5 @@ import javax.`annotation`.processing.Generated @OriginatingElement(topLevelClass = FragmentRepository::class) public abstract class AutoBindFragmentRepositoryFragmentModule private constructor() { @Binds - public abstract fun bindFragmentRepositoryAsRepository(fragmentRepository: FragmentRepository): - Repository + public abstract fun bindFragmentRepositoryAsRepository(fragmentRepository: FragmentRepository): Repository } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindGlobalRepositorySingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindGlobalRepositorySingletonModule.kt.txt index 96cdc8c5..b7d4c445 100644 --- a/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindGlobalRepositorySingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/component_validation/ksp/AutoBindGlobalRepositorySingletonModule.kt.txt @@ -14,6 +14,5 @@ import javax.`annotation`.processing.Generated @OriginatingElement(topLevelClass = GlobalRepository::class) public abstract class AutoBindGlobalRepositorySingletonModule private constructor() { @Binds - public abstract fun bindGlobalRepositoryAsRepository(globalRepository: GlobalRepository): - Repository + public abstract fun bindGlobalRepositoryAsRepository(globalRepository: GlobalRepository): Repository } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/fragment_scoped/ksp/AutoBindRealFragmentHelperFragmentModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/fragment_scoped/ksp/AutoBindRealFragmentHelperFragmentModule.kt.txt index cdb66b16..15f04af0 100644 --- a/compiler/src/test/resources/tests/auto_bind/fragment_scoped/ksp/AutoBindRealFragmentHelperFragmentModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/fragment_scoped/ksp/AutoBindRealFragmentHelperFragmentModule.kt.txt @@ -14,7 +14,5 @@ import javax.`annotation`.processing.Generated @OriginatingElement(topLevelClass = RealFragmentHelper::class) public abstract class AutoBindRealFragmentHelperFragmentModule private constructor() { @Binds - public abstract - fun bindRealFragmentHelperAsFragmentHelper(realFragmentHelper: RealFragmentHelper): - FragmentHelper + public abstract fun bindRealFragmentHelperAsFragmentHelper(realFragmentHelper: RealFragmentHelper): FragmentHelper } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/initializable/ksp/AutoInitializeRealRepositoryModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/initializable/ksp/AutoInitializeRealRepositoryModule.kt.txt index 5126444f..3ff1256e 100644 --- a/compiler/src/test/resources/tests/auto_bind/initializable/ksp/AutoInitializeRealRepositoryModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/initializable/ksp/AutoInitializeRealRepositoryModule.kt.txt @@ -17,6 +17,5 @@ import se.ansman.dagger.auto.Initializable public abstract class AutoInitializeRealRepositoryModule private constructor() { @Binds @IntoSet - public abstract fun bindRealRepositoryAsInitializable(realRepository: RealRepository): - Initializable + public abstract fun bindRealRepositoryAsInitializable(realRepository: RealRepository): Initializable } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/into_map_default/ksp/AutoBindSomeResourceSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/into_map_default/ksp/AutoBindSomeResourceSingletonModule.kt.txt index 430aa6c1..ad3965f2 100644 --- a/compiler/src/test/resources/tests/auto_bind/into_map_default/ksp/AutoBindSomeResourceSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/into_map_default/ksp/AutoBindSomeResourceSingletonModule.kt.txt @@ -18,6 +18,5 @@ public abstract class AutoBindSomeResourceSingletonModule private constructor() @Binds @IntoMap @StringKey("test") - public abstract fun bindSomeResourceAsResourceOfStarIntoMap(someResource: SomeResource): - Resource<*> + public abstract fun bindSomeResourceAsResourceOfStarIntoMap(someResource: SomeResource): Resource<*> } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/into_map_wildcard/ksp/AutoBindBooleanProviderSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/into_map_wildcard/ksp/AutoBindBooleanProviderSingletonModule.kt.txt index 03360b8f..06a28214 100644 --- a/compiler/src/test/resources/tests/auto_bind/into_map_wildcard/ksp/AutoBindBooleanProviderSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/into_map_wildcard/ksp/AutoBindBooleanProviderSingletonModule.kt.txt @@ -18,7 +18,5 @@ import kotlin.Boolean public abstract class AutoBindBooleanProviderSingletonModule private constructor() { @Binds @IntoSet - public abstract - fun bindBooleanProviderAsCallableOfBooleanIntoSet(booleanProvider: BooleanProvider): - Callable + public abstract fun bindBooleanProviderAsCallableOfBooleanIntoSet(booleanProvider: BooleanProvider): Callable } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/into_map_wildcard/ksp/AutoBindStringProviderSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/into_map_wildcard/ksp/AutoBindStringProviderSingletonModule.kt.txt index 62054595..6ae27d79 100644 --- a/compiler/src/test/resources/tests/auto_bind/into_map_wildcard/ksp/AutoBindStringProviderSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/into_map_wildcard/ksp/AutoBindStringProviderSingletonModule.kt.txt @@ -17,6 +17,5 @@ import javax.`annotation`.processing.Generated public abstract class AutoBindStringProviderSingletonModule private constructor() { @Binds @IntoSet - public abstract fun bindStringProviderAsCallableOfStarIntoSet(stringProvider: StringProvider): - Callable<*> + public abstract fun bindStringProviderAsCallableOfStarIntoSet(stringProvider: StringProvider): Callable<*> } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/into_set_default/ksp/AutoBindSomeResourceSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/into_set_default/ksp/AutoBindSomeResourceSingletonModule.kt.txt index cdc41b66..494c3999 100644 --- a/compiler/src/test/resources/tests/auto_bind/into_set_default/ksp/AutoBindSomeResourceSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/into_set_default/ksp/AutoBindSomeResourceSingletonModule.kt.txt @@ -16,6 +16,5 @@ import javax.`annotation`.processing.Generated public abstract class AutoBindSomeResourceSingletonModule private constructor() { @Binds @IntoSet - public abstract fun bindSomeResourceAsResourceOfStarIntoSet(someResource: SomeResource): - Resource<*> + public abstract fun bindSomeResourceAsResourceOfStarIntoSet(someResource: SomeResource): Resource<*> } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/into_set_wildcard/ksp/AutoBindBooleanProviderSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/into_set_wildcard/ksp/AutoBindBooleanProviderSingletonModule.kt.txt index ce9eaa16..8ac79506 100644 --- a/compiler/src/test/resources/tests/auto_bind/into_set_wildcard/ksp/AutoBindBooleanProviderSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/into_set_wildcard/ksp/AutoBindBooleanProviderSingletonModule.kt.txt @@ -18,7 +18,5 @@ import kotlin.Boolean public abstract class AutoBindBooleanProviderSingletonModule private constructor() { @Binds @IntoSet - public abstract - fun bindBooleanProviderAsCallableOfBooleanIntoSet(booleanProvider: BooleanProvider): - Callable + public abstract fun bindBooleanProviderAsCallableOfBooleanIntoSet(booleanProvider: BooleanProvider): Callable } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/into_set_wildcard/ksp/AutoBindStringProviderSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/into_set_wildcard/ksp/AutoBindStringProviderSingletonModule.kt.txt index 5e5f1f2d..0eef3111 100644 --- a/compiler/src/test/resources/tests/auto_bind/into_set_wildcard/ksp/AutoBindStringProviderSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/into_set_wildcard/ksp/AutoBindStringProviderSingletonModule.kt.txt @@ -17,6 +17,5 @@ import javax.`annotation`.processing.Generated public abstract class AutoBindStringProviderSingletonModule private constructor() { @Binds @IntoSet - public abstract fun bindStringProviderAsCallableOfStarIntoSet(stringProvider: StringProvider): - Callable<*> + public abstract fun bindStringProviderAsCallableOfStarIntoSet(stringProvider: StringProvider): Callable<*> } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/into_set_with_qualifier/ksp/AutoBindAuthInterceptorSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/into_set_with_qualifier/ksp/AutoBindAuthInterceptorSingletonModule.kt.txt index 427901ab..74d98fec 100644 --- a/compiler/src/test/resources/tests/auto_bind/into_set_with_qualifier/ksp/AutoBindAuthInterceptorSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/into_set_with_qualifier/ksp/AutoBindAuthInterceptorSingletonModule.kt.txt @@ -18,6 +18,5 @@ public abstract class AutoBindAuthInterceptorSingletonModule private constructor @Binds @IntoSet @Named("api") - public abstract fun bindAuthInterceptorAsInterceptorIntoSet(authInterceptor: AuthInterceptor): - Interceptor + public abstract fun bindAuthInterceptorAsInterceptorIntoSet(authInterceptor: AuthInterceptor): Interceptor } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/lambda_supertype/ksp/AutoBindRunnableThingSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/lambda_supertype/ksp/AutoBindRunnableThingSingletonModule.kt.txt index bbce7fe3..5f2d7f88 100644 --- a/compiler/src/test/resources/tests/auto_bind/lambda_supertype/ksp/AutoBindRunnableThingSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/lambda_supertype/ksp/AutoBindRunnableThingSingletonModule.kt.txt @@ -16,6 +16,5 @@ import kotlin.String @OriginatingElement(topLevelClass = RunnableThing::class) public abstract class AutoBindRunnableThingSingletonModule private constructor() { @Binds - public abstract fun bindRunnableThingAsFunction0OfString(runnableThing: RunnableThing): - Function0 + public abstract fun bindRunnableThingAsFunction0OfString(runnableThing: RunnableThing): Function0 } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_bind/reusable/ksp/AutoBindRealSomeUseCaseSingletonModule.kt.txt b/compiler/src/test/resources/tests/auto_bind/reusable/ksp/AutoBindRealSomeUseCaseSingletonModule.kt.txt index c4278504..dd79750f 100644 --- a/compiler/src/test/resources/tests/auto_bind/reusable/ksp/AutoBindRealSomeUseCaseSingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_bind/reusable/ksp/AutoBindRealSomeUseCaseSingletonModule.kt.txt @@ -14,6 +14,5 @@ import javax.`annotation`.processing.Generated @OriginatingElement(topLevelClass = RealSomeUseCase::class) public abstract class AutoBindRealSomeUseCaseSingletonModule private constructor() { @Binds - public abstract fun bindRealSomeUseCaseAsSomeUseCase(realSomeUseCase: RealSomeUseCase): - SomeUseCase + public abstract fun bindRealSomeUseCaseAsSomeUseCase(realSomeUseCase: RealSomeUseCase): SomeUseCase } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/binding.annotated/ksp/AutoInitializeBindingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/binding.annotated/ksp/AutoInitializeBindingModule.kt.txt index f488cab9..d8a50106 100644 --- a/compiler/src/test/resources/tests/auto_initialize/binding.annotated/ksp/AutoInitializeBindingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/binding.annotated/ksp/AutoInitializeBindingModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeBindingModule { @Provides @IntoSet - public fun provideThingAsInitializable(lazyThing: Lazy): Initializable = - lazyThing.asInitializable() + public fun provideThingAsInitializable(lazyThing: Lazy): Initializable = lazyThing.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/binding.qualified/ksp/AutoInitializeBindingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/binding.qualified/ksp/AutoInitializeBindingModule.kt.txt index 9b28c9e0..87a82829 100644 --- a/compiler/src/test/resources/tests/auto_initialize/binding.qualified/ksp/AutoInitializeBindingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/binding.qualified/ksp/AutoInitializeBindingModule.kt.txt @@ -20,6 +20,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeBindingModule { @Provides @IntoSet - public fun provideThingAsInitializable(@Named("someName") lazyThing: Lazy): Initializable = - lazyThing.asInitializable() + public fun provideThingAsInitializable(@Named("someName") lazyThing: Lazy): Initializable = lazyThing.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/binding/ksp/AutoInitializeBindingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/binding/ksp/AutoInitializeBindingModule.kt.txt index 973d49cf..44ccd68b 100644 --- a/compiler/src/test/resources/tests/auto_initialize/binding/ksp/AutoInitializeBindingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/binding/ksp/AutoInitializeBindingModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeBindingModule { @Provides @IntoSet - public fun provideThingAsInitializable(lazyThing: Lazy): Initializable = - lazyThing.asInitializable() + public fun provideThingAsInitializable(lazyThing: Lazy): Initializable = lazyThing.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/companion_object/ksp/AutoInitializeObjectModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/companion_object/ksp/AutoInitializeObjectModule.kt.txt index bf6f154d..c1d367a6 100644 --- a/compiler/src/test/resources/tests/auto_initialize/companion_object/ksp/AutoInitializeObjectModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/companion_object/ksp/AutoInitializeObjectModule.kt.txt @@ -20,6 +20,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeObjectModule { @Provides @IntoSet - public fun provideIntAsInitializable(lazyInt: Lazy): Initializable = - lazyInt.asInitializable() + public fun provideIntAsInitializable(lazyInt: Lazy): Initializable = lazyInt.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/initializable/ksp/AutoInitializeInitializableThingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/initializable/ksp/AutoInitializeInitializableThingModule.kt.txt index 99e71ca0..5766b1c7 100644 --- a/compiler/src/test/resources/tests/auto_initialize/initializable/ksp/AutoInitializeInitializableThingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/initializable/ksp/AutoInitializeInitializableThingModule.kt.txt @@ -17,6 +17,5 @@ import se.ansman.dagger.auto.Initializable public abstract class AutoInitializeInitializableThingModule private constructor() { @Binds @IntoSet - public abstract fun bindInitializableThingAsInitializable(initializableThing: InitializableThing): - Initializable + public abstract fun bindInitializableThingAsInitializable(initializableThing: InitializableThing): Initializable } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/internal_binding/ksp/AutoInitializeBindingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/internal_binding/ksp/AutoInitializeBindingModule.kt.txt index a3163c14..d113471a 100644 --- a/compiler/src/test/resources/tests/auto_initialize/internal_binding/ksp/AutoInitializeBindingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/internal_binding/ksp/AutoInitializeBindingModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeBindingModule { @Provides @IntoSet - internal fun provideThingAsInitializable(lazyThing: Lazy): Initializable = - lazyThing.asInitializable() + internal fun provideThingAsInitializable(lazyThing: Lazy): Initializable = lazyThing.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/internal_object/ksp/AutoInitializeInternalObjectModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/internal_object/ksp/AutoInitializeInternalObjectModule.kt.txt index 3deb78ae..adda06de 100644 --- a/compiler/src/test/resources/tests/auto_initialize/internal_object/ksp/AutoInitializeInternalObjectModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/internal_object/ksp/AutoInitializeInternalObjectModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeInternalObjectModule { @Provides @IntoSet - internal fun provideInternalObjectAsInitializable(lazyInternalObject: Lazy): - Initializable = lazyInternalObject.asInitializable() + internal fun provideInternalObjectAsInitializable(lazyInternalObject: Lazy): Initializable = lazyInternalObject.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/nested/ksp/AutoInitializeOuterInnerModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/nested/ksp/AutoInitializeOuterInnerModule.kt.txt index 44784ecc..0dc77a52 100644 --- a/compiler/src/test/resources/tests/auto_initialize/nested/ksp/AutoInitializeOuterInnerModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/nested/ksp/AutoInitializeOuterInnerModule.kt.txt @@ -20,6 +20,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeOuterInnerModule { @Provides @IntoSet - public fun provideStringAsInitializable(lazyString: Lazy): Initializable = - lazyString.asInitializable() + public fun provideStringAsInitializable(lazyString: Lazy): Initializable = lazyString.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/nested/ksp/AutoInitializeOuterSomeThingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/nested/ksp/AutoInitializeOuterSomeThingModule.kt.txt index bd62cdfc..c1658cbc 100644 --- a/compiler/src/test/resources/tests/auto_initialize/nested/ksp/AutoInitializeOuterSomeThingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/nested/ksp/AutoInitializeOuterSomeThingModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeOuterSomeThingModule { @Provides @IntoSet - public fun provideSomeThingAsInitializable(lazySomeThing: Lazy): Initializable = - lazySomeThing.asInitializable() + public fun provideSomeThingAsInitializable(lazySomeThing: Lazy): Initializable = lazySomeThing.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/non_initializable/ksp/AutoInitializeNonInitializableThingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/non_initializable/ksp/AutoInitializeNonInitializableThingModule.kt.txt index dcb62edd..c4234c25 100644 --- a/compiler/src/test/resources/tests/auto_initialize/non_initializable/ksp/AutoInitializeNonInitializableThingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/non_initializable/ksp/AutoInitializeNonInitializableThingModule.kt.txt @@ -19,7 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeNonInitializableThingModule { @Provides @IntoSet - public - fun provideNonInitializableThingAsInitializable(lazyNonInitializableThing: Lazy): - Initializable = lazyNonInitializableThing.asInitializable() + public fun provideNonInitializableThingAsInitializable(lazyNonInitializableThing: Lazy): Initializable = lazyNonInitializableThing.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/priority.binding/ksp/AutoInitializeOuterSomeThingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/priority.binding/ksp/AutoInitializeOuterSomeThingModule.kt.txt index dd5ef8ee..31851a63 100644 --- a/compiler/src/test/resources/tests/auto_initialize/priority.binding/ksp/AutoInitializeOuterSomeThingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/priority.binding/ksp/AutoInitializeOuterSomeThingModule.kt.txt @@ -18,6 +18,5 @@ import se.ansman.dagger.auto.Initializable.Companion.withPriority public object AutoInitializeOuterSomeThingModule { @Provides @IntoSet - public fun provideSomeThingAsInitializable(someThing: Outer.SomeThing): Initializable = - someThing.withPriority(4_711) + public fun provideSomeThingAsInitializable(someThing: Outer.SomeThing): Initializable = someThing.withPriority(4_711) } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/priority.provider/ksp/AutoInitializeOuterSomeThingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/priority.provider/ksp/AutoInitializeOuterSomeThingModule.kt.txt index b555de3f..965fe770 100644 --- a/compiler/src/test/resources/tests/auto_initialize/priority.provider/ksp/AutoInitializeOuterSomeThingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/priority.provider/ksp/AutoInitializeOuterSomeThingModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeOuterSomeThingModule { @Provides @IntoSet - public fun provideSomeThingAsInitializable(lazySomeThing: Lazy): Initializable = - lazySomeThing.asInitializable(priority = 4_711) + public fun provideSomeThingAsInitializable(lazySomeThing: Lazy): Initializable = lazySomeThing.asInitializable(priority = 4_711) } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/priority/ksp/AutoInitializeOuterSomeThingModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/priority/ksp/AutoInitializeOuterSomeThingModule.kt.txt index 2e452742..48b08585 100644 --- a/compiler/src/test/resources/tests/auto_initialize/priority/ksp/AutoInitializeOuterSomeThingModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/priority/ksp/AutoInitializeOuterSomeThingModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeOuterSomeThingModule { @Provides @IntoSet - public fun provideSomeThingAsInitializable(lazySomeThing: Lazy): Initializable = - lazySomeThing.asInitializable(priority = 4_711) + public fun provideSomeThingAsInitializable(lazySomeThing: Lazy): Initializable = lazySomeThing.asInitializable(priority = 4_711) } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/provider.qualified/ksp/AutoInitializeQualifiedProviderModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/provider.qualified/ksp/AutoInitializeQualifiedProviderModule.kt.txt index 870068b0..96fce783 100644 --- a/compiler/src/test/resources/tests/auto_initialize/provider.qualified/ksp/AutoInitializeQualifiedProviderModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/provider.qualified/ksp/AutoInitializeQualifiedProviderModule.kt.txt @@ -20,7 +20,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeQualifiedProviderModule { @Provides @IntoSet - public fun provideQualifiedProvidedThingAsInitializable(@Named("someName") - lazyQualifiedProvidedThing: Lazy): Initializable = - lazyQualifiedProvidedThing.asInitializable() + public fun provideQualifiedProvidedThingAsInitializable(@Named("someName") lazyQualifiedProvidedThing: Lazy): Initializable = lazyQualifiedProvidedThing.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/auto_initialize/provider/ksp/AutoInitializeProviderModule.kt.txt b/compiler/src/test/resources/tests/auto_initialize/provider/ksp/AutoInitializeProviderModule.kt.txt index b61d0146..4d12905c 100644 --- a/compiler/src/test/resources/tests/auto_initialize/provider/ksp/AutoInitializeProviderModule.kt.txt +++ b/compiler/src/test/resources/tests/auto_initialize/provider/ksp/AutoInitializeProviderModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeProviderModule { @Provides @IntoSet - public fun provideProvidedThingAsInitializable(lazyProvidedThing: Lazy): - Initializable = lazyProvidedThing.asInitializable() + public fun provideProvidedThingAsInitializable(lazyProvidedThing: Lazy): Initializable = lazyProvidedThing.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/replaces/auto_bind.with_multibinds/ksp/AutoBindFakeRepositorySingletonModule.kt.txt b/compiler/src/test/resources/tests/replaces/auto_bind.with_multibinds/ksp/AutoBindFakeRepositorySingletonModule.kt.txt index 062022d4..8cc7034b 100644 --- a/compiler/src/test/resources/tests/replaces/auto_bind.with_multibinds/ksp/AutoBindFakeRepositorySingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/replaces/auto_bind.with_multibinds/ksp/AutoBindFakeRepositorySingletonModule.kt.txt @@ -23,6 +23,5 @@ public abstract class AutoBindFakeRepositorySingletonModule private constructor( @Binds @IntoSet - public abstract fun bindFakeRepositoryAsCloseableIntoSet(fakeRepository_: FakeRepository): - Closeable + public abstract fun bindFakeRepositoryAsCloseableIntoSet(fakeRepository_: FakeRepository): Closeable } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/replaces/auto_bind.with_multibinds/ksp/AutoBindRealRepositorySingletonModule.kt.txt b/compiler/src/test/resources/tests/replaces/auto_bind.with_multibinds/ksp/AutoBindRealRepositorySingletonModule.kt.txt index 35a5406f..1e9d4d5f 100644 --- a/compiler/src/test/resources/tests/replaces/auto_bind.with_multibinds/ksp/AutoBindRealRepositorySingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/replaces/auto_bind.with_multibinds/ksp/AutoBindRealRepositorySingletonModule.kt.txt @@ -20,6 +20,5 @@ public abstract class AutoBindRealRepositorySingletonModule private constructor( @Binds @IntoSet - public abstract fun bindRealRepositoryAsCloseableIntoSet(realRepository_: RealRepository): - Closeable + public abstract fun bindRealRepositoryAsCloseableIntoSet(realRepository_: RealRepository): Closeable } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/replaces/auto_bind.with_wildcard/ksp/AutoBindRealRepositoryFragmentModule.kt.txt b/compiler/src/test/resources/tests/replaces/auto_bind.with_wildcard/ksp/AutoBindRealRepositoryFragmentModule.kt.txt index 21d421e7..377cc341 100644 --- a/compiler/src/test/resources/tests/replaces/auto_bind.with_wildcard/ksp/AutoBindRealRepositoryFragmentModule.kt.txt +++ b/compiler/src/test/resources/tests/replaces/auto_bind.with_wildcard/ksp/AutoBindRealRepositoryFragmentModule.kt.txt @@ -20,12 +20,10 @@ public abstract class AutoBindRealRepositoryFragmentModule private constructor() @Binds @IntoMap @StringKey("repository") - public abstract fun bindRealRepositoryAsCallableOfStringIntoMap(realRepository: RealRepository): - Callable + public abstract fun bindRealRepositoryAsCallableOfStringIntoMap(realRepository: RealRepository): Callable @Binds @IntoMap @StringKey("repository") - public abstract fun bindRealRepositoryAsCallableOfStarIntoMap(realRepository_: RealRepository): - Callable<*> + public abstract fun bindRealRepositoryAsCallableOfStarIntoMap(realRepository_: RealRepository): Callable<*> } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/replaces/auto_bind.with_wildcard/ksp/AutoBindRealRepositorySingletonModule.kt.txt b/compiler/src/test/resources/tests/replaces/auto_bind.with_wildcard/ksp/AutoBindRealRepositorySingletonModule.kt.txt index d2c6b430..34b6de63 100644 --- a/compiler/src/test/resources/tests/replaces/auto_bind.with_wildcard/ksp/AutoBindRealRepositorySingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/replaces/auto_bind.with_wildcard/ksp/AutoBindRealRepositorySingletonModule.kt.txt @@ -20,6 +20,5 @@ public abstract class AutoBindRealRepositorySingletonModule private constructor( @Binds @IntoSet - public abstract fun bindRealRepositoryAsCallableOfStarIntoSet(realRepository_: RealRepository): - Callable<*> + public abstract fun bindRealRepositoryAsCallableOfStarIntoSet(realRepository_: RealRepository): Callable<*> } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/replaces/auto_bind/ksp/AutoBindRealRepositorySingletonModule.kt.txt b/compiler/src/test/resources/tests/replaces/auto_bind/ksp/AutoBindRealRepositorySingletonModule.kt.txt index 49c92893..04a1ff7f 100644 --- a/compiler/src/test/resources/tests/replaces/auto_bind/ksp/AutoBindRealRepositorySingletonModule.kt.txt +++ b/compiler/src/test/resources/tests/replaces/auto_bind/ksp/AutoBindRealRepositorySingletonModule.kt.txt @@ -20,6 +20,5 @@ public abstract class AutoBindRealRepositorySingletonModule private constructor( @Binds @IntoSet - public abstract fun bindRealRepositoryAsCloseableIntoSet(realRepository_: RealRepository): - Closeable + public abstract fun bindRealRepositoryAsCloseableIntoSet(realRepository_: RealRepository): Closeable } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/replaces/initializable/ksp/AutoInitializeRealRepositoryModule.kt.txt b/compiler/src/test/resources/tests/replaces/initializable/ksp/AutoInitializeRealRepositoryModule.kt.txt index 63886c39..f6165186 100644 --- a/compiler/src/test/resources/tests/replaces/initializable/ksp/AutoInitializeRealRepositoryModule.kt.txt +++ b/compiler/src/test/resources/tests/replaces/initializable/ksp/AutoInitializeRealRepositoryModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeRealRepositoryModule { @Provides @IntoSet - public fun provideRealRepositoryAsInitializable(lazyRealRepository: Lazy): - Initializable = lazyRealRepository.asInitializable() + public fun provideRealRepositoryAsInitializable(lazyRealRepository: Lazy): Initializable = lazyRealRepository.asInitializable() } \ No newline at end of file diff --git a/compiler/src/test/resources/tests/replaces/object/ksp/AutoInitializeRealRepositoryModule.kt.txt b/compiler/src/test/resources/tests/replaces/object/ksp/AutoInitializeRealRepositoryModule.kt.txt index 75790c77..1f60e396 100644 --- a/compiler/src/test/resources/tests/replaces/object/ksp/AutoInitializeRealRepositoryModule.kt.txt +++ b/compiler/src/test/resources/tests/replaces/object/ksp/AutoInitializeRealRepositoryModule.kt.txt @@ -19,6 +19,5 @@ import se.ansman.dagger.auto.Initializable.Companion.asInitializable public object AutoInitializeRealRepositoryModule { @Provides @IntoSet - public fun provideRealRepositoryAsInitializable(lazyRealRepository: Lazy): - Initializable = lazyRealRepository.asInitializable() + public fun provideRealRepositoryAsInitializable(lazyRealRepository: Lazy): Initializable = lazyRealRepository.asInitializable() } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b9a75641..23f6a4e5 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -9,7 +9,7 @@ ksp = "2.0.21-1.0.27" android-minSdk = "21" android-compileSdk = "35" androidx-test = "1.6.1" -kotlinpoet = "1.18.1" +kotlinpoet = "2.0.0" room = "2.6.1" retrofit = "2.11.0" ktorfit = "2.1.0" diff --git a/third-party/ktorfit/src/test/resources/tests/ktorfit/non_public_parent/ksp/AutoBindKtorfitWrapper1Wrapper2ApiService.kt.txt b/third-party/ktorfit/src/test/resources/tests/ktorfit/non_public_parent/ksp/AutoBindKtorfitWrapper1Wrapper2ApiService.kt.txt index 0e497434..ff2a4cfa 100644 --- a/third-party/ktorfit/src/test/resources/tests/ktorfit/non_public_parent/ksp/AutoBindKtorfitWrapper1Wrapper2ApiService.kt.txt +++ b/third-party/ktorfit/src/test/resources/tests/ktorfit/non_public_parent/ksp/AutoBindKtorfitWrapper1Wrapper2ApiService.kt.txt @@ -15,6 +15,5 @@ import javax.`annotation`.processing.Generated @OriginatingElement(topLevelClass = Wrapper1::class) public object AutoBindKtorfitWrapper1Wrapper2ApiService { @Provides - internal fun provideApiService(ktorfit: Ktorfit): Wrapper1.Wrapper2.ApiService = - ktorfit.createApiService() + internal fun provideApiService(ktorfit: Ktorfit): Wrapper1.Wrapper2.ApiService = ktorfit.createApiService() } \ No newline at end of file diff --git a/third-party/ktorfit/src/test/resources/tests/ktorfit/qualifiers/ksp/AutoBindKtorfitApiService.kt.txt b/third-party/ktorfit/src/test/resources/tests/ktorfit/qualifiers/ksp/AutoBindKtorfitApiService.kt.txt index 43549233..6e40f161 100644 --- a/third-party/ktorfit/src/test/resources/tests/ktorfit/qualifiers/ksp/AutoBindKtorfitApiService.kt.txt +++ b/third-party/ktorfit/src/test/resources/tests/ktorfit/qualifiers/ksp/AutoBindKtorfitApiService.kt.txt @@ -16,6 +16,5 @@ import javax.inject.Named @OriginatingElement(topLevelClass = ApiService::class) public object AutoBindKtorfitApiService { @Provides - public fun provideApiService(@Named("api1") ktorfit: Ktorfit): ApiService = - ktorfit.createApiService() + public fun provideApiService(@Named("api1") ktorfit: Ktorfit): ApiService = ktorfit.createApiService() } \ No newline at end of file diff --git a/third-party/retrofit/src/test/resources/tests/retrofit/non_public_parent/ksp/AutoBindRetrofitWrapper1Wrapper2ApiService.kt.txt b/third-party/retrofit/src/test/resources/tests/retrofit/non_public_parent/ksp/AutoBindRetrofitWrapper1Wrapper2ApiService.kt.txt index 78327488..ae98a942 100644 --- a/third-party/retrofit/src/test/resources/tests/retrofit/non_public_parent/ksp/AutoBindRetrofitWrapper1Wrapper2ApiService.kt.txt +++ b/third-party/retrofit/src/test/resources/tests/retrofit/non_public_parent/ksp/AutoBindRetrofitWrapper1Wrapper2ApiService.kt.txt @@ -16,6 +16,5 @@ import retrofit2.create @OriginatingElement(topLevelClass = Wrapper1::class) public object AutoBindRetrofitWrapper1Wrapper2ApiService { @Provides - internal fun provideApiService(retrofit: Retrofit): Wrapper1.Wrapper2.ApiService = - retrofit.create() + internal fun provideApiService(retrofit: Retrofit): Wrapper1.Wrapper2.ApiService = retrofit.create() } \ No newline at end of file