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