Example:
class Sample { void foo() { bar("foo", "foo"); } void bar(String x, String y) { } // can be private }
Use the inspection's options to define the rules for the modifier change suggestions.