In some circumstances, it may be helpful to prevent or discourage the use of specific methods. For example, if they are deprecated or there are better ways to achieve the same result.
Is your Salesforce solution affected by Calls to block-listed methods?
Clayton detects anti-patterns and offers automated fix advice to kickstart your Well-Architected journey.