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.