We would like to create an internal compiler plugin for inlining KotoolsTypesVersion in our API reference using Kotlin Symbol Processing (KSP).
For each declaration using the ExperimentalSince, the Since and the DeprecatedSince annotations, we want to generate an equivalent annotation accepting a String that should be documented instead of the explicit ones from the kotools.types.internal annotation.
📝 Description
We would like to create an internal compiler plugin for inlining
KotoolsTypesVersion
in our API reference using Kotlin Symbol Processing (KSP). For each declaration using theExperimentalSince
, theSince
and theDeprecatedSince
annotations, we want to generate an equivalent annotation accepting aString
that should be documented instead of the explicit ones from thekotools.types.internal
annotation.Here's an example of a simple type declaration:
The goal is to generate the following code: