Is there a Checkstyle module that verifies that public methods should come before the private ones in a class? I can't find one.
DeclarationOrderModifier does not do it
ModifierOrder does not do it.
Updated
MethodsOrderCheck can handle this.
See documentation here: sourceforge link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With