Kshitij Patil
11/27/2022, 5:41 PMFoo
which is annotated and is supposed generate a class FooImpl
. Can I get hints for that beforehand or at least suppress the error while writing the using FooImpl
?Kshitij Patil
11/27/2022, 5:46 PMRobert Jaros
11/27/2022, 7:07 PMFooImpl
directly you can use a function like getImpl<Foo>()
. Such function can be easily generated by the KSP to return the correct implementation, but at the same time you can also declare an empty implementation of such function in your library. This way your application code will have no errors even before generating a class FooImpl
.Robert Jaros
11/27/2022, 7:11 PMKshitij Patil
11/28/2022, 5:54 AM