Re: jdeps - option to to analyze package-private API

2023-01-04 Thread mandy . chung
On 12/12/22 7:26 AM, Alan Bateman wrote: On 03/12/2022 18:15, Matej Turcel wrote: : So far, jdeps with the --api-only flag seems like the perfect tool, except there is a little problem -- we have packages (dozens of them) which exist in multiple modules. For example, package `com.foo`

Re: jdeps - option to to analyze package-private API

2022-12-13 Thread Matej Turcel
On 12.12.2022 16:26, Alan Bateman wrote: The scenario seems a bit unusual in that API elements with package access aren't usually considered to be part of the API. Yes, they shouldn't be. But our code is not perfect and we have many cases where package-private elements de-facto are a part of

Re: jdeps - option to to analyze package-private API

2022-12-12 Thread Alan Bateman
On 03/12/2022 18:15, Matej Turcel wrote: : So far, jdeps with the --api-only flag seems like the perfect tool, except there is a little problem -- we have packages (dozens of them) which exist in multiple modules. For example, package `com.foo` exists in three separate modules (meaning each

jdeps - option to to analyze package-private API

2022-12-03 Thread Matej Turcel
Hello, I would like to propose a new option for jdeps, similar to --api-only, which would analyze not only private and protected API (like --api-only does), but also package-private API. In more detail, this option would report all dependencies which occur in all types (not only public ones),