Inspectopedia
 
2024.3

Package-visible nested class

Warning
New
Last modified: 03 December 2024

Reports nested classes that are declared without any access modifier (also known as package-private).

Example:

Configure the inspection:

  • Use the Ignore package-visible inner enums option to ignore package-private inner enums.

  • Use the Ignore package-visible inner interfaces option to ignore package-private inner interfaces.