Reports method calls used as parameters to another method call.

The quick-fix introduces a variable to make the code simpler and easier to debug.

Example:


  public int y() { return 1; }
  public int f(int x) { return 2 * x; }

  public void foo() {
      int x = f(y());
  }

After the quick-fix is applied:


  public int y() { return 1; }
  public int f(int x) { return 2 * x; }

  public void foo() {
      int y = y();
      int x = f(y);
  }

Use the inspection options to toggle the reporting of: