Reports redundant Comparator combinator constructs which can be simplified.

Example:

  c.thenComparing(Comparator.comparing(function));

  Comparator.comparing(Map.Entry::getKey);

  Collections.max(list, Comparator.reverseOrder());

After applying the quick-fixes, the result looks like this:

  c.thenComparing(function)

  Map.Entry.comparingByKey()

  Collections.min(list, Comparator.naturalOrder());

New in 2018.1