forked from square/dagger
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Understand @module bindings defined in a Kotlin Object.
Treat all of the binding methods of a @module annotated Kotlin Object class as static provision methods that require no module instance. This allows Kotlin users to no longer need to use @JvmStatic to help Dagger understand such providers. RELNOTES=Understand @module bindings defined in a Kotlin Object. Users whose workaround included defining a Component builder method that received an instance of the object class must now remove such builder method. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=269576656
- Loading branch information
1 parent
044a79b
commit 0da2180
Showing
21 changed files
with
247 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.