检查方法的一些命名约定。 对应于 Rust Clippy 的 wrong_self_convention lint。