Ever thought of a ModuleElement Query function?
Josiah Noel
josiahnoel at gmail.com
Tue Sep 12 04:51:51 UTC 2023
Hello there,
I think it would be nice if a sort of query method was added to
ModuleElement such that one can see if a certain module is on its graph.
I want to add functionality to my annotation processor that should check
whether a project's ModuleElement contains a certain dependency. Currently,
I'm thinking I'll need to recursively iterate over the directives to search
the module path. (which naturally gets much slower the more modules are
involved)
--
Cheers, Josiah.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/compiler-dev/attachments/20230912/814616cb/attachment.htm>
More information about the compiler-dev
mailing list