Checks some naming conventions for methods. Corresponds to wrong_self_convention lint from Rust Clippy.