This inspection warns if trivial lambda expression is used where there's an alternative method which behaves the same way but accepts concrete value instead of lambda.

For example, Optional.orElseGet(() -> null) can be replaced with Optional.orElse(null).

New in 2017.1