<div dir="ltr"> Hello there,<div><br></div><div>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. <br></div><div><br></div><div>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) </div><div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Cheers, Josiah.</div></div><input name="virtru-metadata" type="hidden" value="{"email-policy":{"disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"expandedWatermarking":false,"expires":false,"sms":false,"expirationNum":1,"expirationUnit":"days","isManaged":false,"persistentProtection":false},"attachments":{},"compose-id":"1","compose-window":{"secure":false}}"></div></div>