Hello, I'd like to check class names, their supertype & imports they use and depending on some conditions throw an compilation error with an appropriate message.
What should I use to do that? Does
AnalysisHandlerExtension
fit this use case? Any examples?
s
shikasd
03/23/2022, 4:37 PM
You can use DeclarationChecker for this, if my memory serves me right, I think there are a few examples in Kotlin codebase, e.g. serialization plugin