A quick-fix is suggested to rename the parameter.
Example:
class Main {
private String value;
public Main(String value) {
value = value.toUpperCase();
}
}
You can configure the following options for this inspection:
private
fields in a superclass, which are not visible from the method.
static
methods hiding an instance field and to ignore parameters of instance methods in static inner
classes hiding an instance field of an outer class. While not strictly hiding, such parameters can still be confusing.