Module dependencies not transitive?
Module A depends on Module B depends on Module C.
Give this arrangement in a project, if some class in A references a class in C, why doesn't it resolve through to the class in C when you Ctrl+click on C from A? In other words, shouldn't module-to-module-to-module dependencies be transitive?
Thanks,
Jon
Please sign in to leave a comment.
Maybe "Export" is the workaround or answer?
Maybe "Export" is the workaround?
I think you'll find it's the answer. :)
N.
Jon Steelman wrote:
Yes, the answer. Thanks Nathan. :) Still seems strange to me that this is done for module-to-module dependencies but I suppose for IDEA to handle Export consistently no matter the type of dependency forces this approach.