Reports method parameters that always have the same constant value.

Example:


  static void printPoint(int x, int y) { // x is always 0
    System.out.println(x + ", " + y);
  }

  public static void main(String[] args) {
    printPoint(0, 1);
    printPoint(0, 2);
  }

The quick-fix inlines the constant value. This may simplify the method implementation.

Use the Ignore when inline parameter initializer would not succeed option to suppress the inspections when:

Use the Maximal reported method visibility option to control the maximum visibility of methods to be reported.

Use the Minimal reported method usage count field to specify the minimal number of method usages with the same parameter value.