Reports headOption and lastOption on an instance of Option.

The quick-fix removes these redundant calls.

Example:


  Option(1).lastOption

After the quick-fix is applied:


  Option(1)