// "Replace method call on lambda with lambda body" "true" import java.util.function.Supplier; abstract class TrivialUsageInline { public T evaluateUnderLock(Supplier supplier) { if (true) { return supplier.get(); } else { return null; } } }