Checks that the parts of a class or interface declaration appear in the order suggested by the Code Convention for the Java Programming Language :
- 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