Reports an if statement that simulates a filter operation on an Option and suggests replacing it with filter.

Example:


  if (opt.isDefined && p(opt.get)) opt else None

After the quick-fix is applied:


  opt.filter(p)