Check nested (internal) classes/interfaces are declared at the bottom of the class after all method and field declarations.