Wrote /root/JavaX-Caches/tmp_2143486702/main.java - 98691 bytes (written=98691, should be 98691) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_1798915615 /root/JavaX-Caches/tmp_2143486702/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_2143486702/main.java:352: error: no suitable method found for firstThat(A#1[],IF1<A#1,Boolean>) return firstThat(l, pred); ^ method main.<A#2>firstThat(Iterable<A#2>,IF1<A#2,Boolean>) is not applicable (cannot infer type-variable(s) A#2 (argument mismatch; A#1[] cannot be converted to Iterable<A#2>)) method main.<A#3>firstThat(IF1<A#3,Boolean>,Iterable<A#3>) is not applicable (cannot infer type-variable(s) A#3 (argument mismatch; A#1[] cannot be converted to IF1<A#3,Boolean>)) where A#1,A#2,A#3 are type-variables: A#1 extends Object declared in method <A#1>first(A#1[],IF1<A#1,Boolean>) A#2 extends Object declared in method <A#2>firstThat(Iterable<A#2>,IF1<A#2,Boolean>) A#3 extends Object declared in method <A#3>firstThat(IF1<A#3,Boolean>,Iterable<A#3>) /root/JavaX-Caches/tmp_2143486702/main.java:604: error: no suitable method found for firstThat(Iterable<A#1>,Object) return firstThat(l, (Object) pred); ^ method main.<A#1>firstThat(Iterable<A#1>,IF1<A#1,Boolean>) is not applicable (cannot infer type-variable(s) A#1 (argument mismatch; Object cannot be converted to IF1<A#1,Boolean>)) method main.<A#2>firstThat(IF1<A#2,Boolean>,Iterable<A#2>) is not applicable (cannot infer type-variable(s) A#2 (argument mismatch; Iterable<A#1> cannot be converted to IF1<A#2,Boolean>)) where A#1,A#2 are type-variables: A#1 extends Object declared in method <A#1>firstThat(Iterable<A#1>,IF1<A#1,Boolean>) A#2 extends Object declared in method <A#2>firstThat(IF1<A#2,Boolean>,Iterable<A#2>) 2 errors