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 the inspection's options to define the rules for the modifier change suggestions.