https://kotlinlang.org logo
r

ralf

02/03/2022, 7:49 PM
That’s certainly possible. Here’s a sample within Anvil itself. I’m unsure if there’s a better API, though: https://github.com/square/anvil/blob/main/compiler/src/main/java/com/squareup/anvil/compiler/codegen/ContributesSubcomponentHandlerGenerator.kt#L209-L213
👍 1