jw
09/24/2019, 2:57 PM@Whatever
instead of @field:Whatever
)
- Understand @Module
on object
does not require a module instance.
We have a few more in the pipeline, but if you have any ideas of small ergonomic improvements like this please file an issue on GitHub.zachtib
09/24/2019, 2:59 PM@Inject
annotate the class declaration in order to specify the default constructor rather than having to break the constructor out?jw
09/24/2019, 3:08 PM@Inject
annotation does not allow targeting to types. You'd probably have better luck getting Kotlin to add an annotation use-site target for the primary constructor for class-level annotations.zachtib
09/24/2019, 3:09 PMjw
09/24/2019, 3:11 PMzachtib
09/24/2019, 3:11 PMarekolek
09/24/2019, 3:12 PMjw
09/24/2019, 3:14 PM@JvmStatic
.Whatever.INSTANCE.method()
in that case.INSTANCE
altogether and make them static in bytecode anyway. More details on that at https://jakewharton.com/r8-optimization-staticization/gildor
09/25/2019, 2:02 AM@JvmSuppressWildcards
is significantly decrease ergomonics, especially for lambdasjw
09/25/2019, 2:04 AMgildor
09/25/2019, 2:15 AMjw
09/25/2019, 2:16 AMgildor
09/25/2019, 2:18 AM@Named
much more than annotation because of multi-module projectPaul Woitaschek
09/26/2019, 10:14 AM