Inspectopedia
 
2024.3

Missorted modifiers

Info
New
Last modified: 03 December 2024

Reports declaration modifiers that are not in the canonical preferred order (as stated in the Java Language Specification).

Example:

After the quick-fix is applied: