DeclarationOrder should be set in the IntelliJ config - or disabled.
- Class (static) variables. First the public class variables, then the protected, then package level (no access modifier), and then the private.
- Instance variables. First the public class variables, then the protected, then package level (no access modifier), and then the private.
- Constructors
- Methods
DeclarationOrder should be set in the IntelliJ config - or disabled.