As an other option I can add a method to the base ...
# ksp
v
As an other option I can add a method to the base class like:
Copy code
abstract class BaseClass<TypeParam> {
  fun dummy(param: TypeParam)
}
then I can get the KSFunction and using
asMemberOf
with my
MyClass
or
AnotherMyClass
I can compute the parameter’s value (String and Int respectively). The question is: is it possible to achieve the same behavior without adding additional function to the
BaseClass
? Looks like there is no way to do it in KSP