Why is this an issue?
This rule allows banning certain methods.
Noncompliant code example
Given parameters:
- className:java.lang.String
- methodName: replace
- argumentTypes: java.lang.CharSequence, java.lang.CharSequence
String name;
name.replace("A","a"); // Noncompliant