We're are using PMD and Checkstyle (from developers IDE and central CI server) to check code to our coding conventions.
I was expecting for these tools to provide a rule that checks for class members order but they don't seem to have one.
By class member order I mean something like:
public static properties
public properties
protected properties
private properties
public constructors
protected constructors
private constructors
static methods
non-static methods
I could certainly write my own PMD rule but I'm not used of it and would prefer not reinventing the wheel.
Do you know any tool that could do this kind of checks for us?