Inspection for class being too public

I used to use an inspection which could find classes which were public, but could be changed to package-protected. (This could also apply to other program elements - methods etc.)
I currently can't find this inspection - can anyone point me to where it is? Is it still present in v14.1.2?
Thanks - Calum

0

Yes!!! Thanks, Serge.

I would note that I searched for this inspection today (and have also searched for it in the past) using terms like visibility, public, private, less, and have not been able to find it - this is a recurring theme for me...  It might be useful to modify the name and/or description so that it will appear when these terms are used to search for it.

Thanks again - Calum

0

请先登录再写评论。