<BUG>Optional<? extends String> image = new ArrayList<String>().stream().filter(getPredicate()::apply).findFirst();</BUG><CONTEXT>import com.google.common.base.Predicate;import java.util.ArrayList;import java.util.Optional;public class Main7 {public static void main(String[] args) {<extra_id_0>if (image.isPresent()) {System.out.println(image.get());}</CONTEXT>
Optional<? extends String> image = new ArrayList<String>().stream().filter(getPredicate()::test).findFirst();