Or I have to use pure Java annotation in this case...
# stdlib
c
Or I have to use pure Java annotation in this case, since it feels like Annotation Processor doesn't understand
KClass<*>
d
The annotation processor does not operate on reflection types (Like
java.lang.Class
or
KClass
). The annotation processor operates within the compiler infrastructure, while the code is being compiled. There is no way to have a runtime representation of the code yet, it is not even compiled yet.
c
Thanks, that’s what I figured.