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

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

New in 2017.1