Hello I have a question. I have created a processo...
# ksp
v
Hello I have a question. I have created a processor and it seems that I can not get the annotations of a class that is defined in another module. I suppose that this is an intended behavior for performance reasons, right? Or i am doing something wrong? :p
j
if you can get the class from another module directly, you should be able to get the annotations on that class as long as the annotation is not source retention. If you meant to get the class with certain annotations from another module via
getSymbolsWithAnnotation
, then yes, it is not possible and intended behavior for performance reasons.