Comparator
combinator constructs which can be simplified.
Example:
c.thenComparing(Comparator.comparing(function));
Comparator.comparing(Map.Entry::getKey);
Collections.max(list, Comparator.reverseOrder());
After the quick-fixes are applied:
c.thenComparing(function) Map.Entry.comparingByKey() Collections.min(list, Comparator.naturalOrder());
New in 2018.1