eygraber
02/22/2024, 4:42 PMCLOVIS
02/23/2024, 3:43 PMeygraber
02/23/2024, 4:07 PMabstract class
that the user will extend from another abstract class
(kotlin-inject will generate the concrete class with KSP). The intermediate abstract class needs to implement an abstract property, because KSP isn't able to generate it.CLOVIS
02/23/2024, 4:11 PMeygraber
02/23/2024, 4:15 PMCLOVIS
02/23/2024, 4:20 PMobject
, class
, anonymous objects, etc. The implementation has entire control over this.
Your use case is an abstract class that wants to force its implementation to 1) be an abstract class, and 2; implement a subset of its methods. I do not think this aligns with the language's goals, however it could maybe be a #detekt rule or something similar? Or just a different design that doesn't require something like this at all.eygraber
02/23/2024, 4:56 PM