Pattern: Inner class or interface not declared at the bottom of the class
Issue: -
Check nested (inner) classes/interfaces are declared at the bottom of the class after all method and field declarations.
To configure the check:
<module name="InnerTypeLast"/>