ModuleElement doesn't work with generated provides classes?
Josiah Noel
josiahnoel at gmail.com
Fri Aug 25 05:04:57 UTC 2023
Hello there,
I'm adding functionality to my annotation processor to check whether a
generated class is registered on a module-info.java. When I try to use
`ModuleElement#getDirectives`, I get the `requires` statements, but I
cannot get the `provides` statements I've written.
Is it possible to get this to work? Or does the fact that the classes are
generated totally prevent me from getting the provides statements?
--
Cheers, Josiah.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/compiler-dev/attachments/20230825/b307253e/attachment.htm>
More information about the compiler-dev
mailing list