Developing an API, the warning message \"Access can be package-package\" in Java classes can be really annoying.
I\'ve already spent some time going through the setting
Go to Settings → Editor → Inspections then Java → Declaration redundancy → Declaration access can be weaker rule. Here you can either disable it at all or select the suggestion options on the right pane:
Settings → Editor → Inspections
Java → Declaration redundancy → Declaration access can be weaker