I'm making a library that can make use of annotati...
# announcements
l
I'm making a library that can make use of annotations, where it should get user-defined functions and classes annotated. I know how to define annotations and their target, but I'm lost when it comes to processing them. There seems to be kapt, Dagger and some others, but which one should I be using?
n
do you want compile-time processing or runtime processing? e.g. Daggerish or Guiceish?
l
it doesn't matter, but i'm planning to support js, jvm and native, ideally the solution should be compatible with all of them
i'm not generating any code, i'm just reading existing code by the user
n
I mean, it matters a lot, but it sounds like compile-time is what you want; otherwise you'd need a runtime processor for each target
you can still probably start here, just skip the code generation part.
l
perfect, thanks