LAPAPMF - List All Public And Package Members First
Enforces standard to improve readability. Methods/data in your class should be ordered properly.
Wrong
private int attr;
public void oper () {}
}
Tip:
Place public and package members first, before protected and private ones.
Note: this rule is rather disputable. On the other hand, grouping members
by functionality rather than by scope can also make understanding the code easier.
Right
public void oper () {}
private int attr;
}