Reports all fields, methods or classes, found in the specified inspection scope, that may have their access modifier narrowed down.

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.