Wrote /root/JavaX-Caches/tmp_1151344208/main.java - 951 bytes (written=951, should be 951)
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_1670609428 /root/JavaX-Caches/tmp_1151344208/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1151344208/main.java:2: error: modifier static not allowed here
static class LInputPattern extends LearnerImpl {
^
/root/JavaX-Caches/tmp_1151344208/main.java:2: error: cannot find symbol
static class LInputPattern extends LearnerImpl {
^
symbol: class LearnerImpl
/root/JavaX-Caches/tmp_1151344208/main.java:24: error: cannot find symbol
public void toJava(Code code) {
^
symbol: class Code
location: class LInputPattern
/root/JavaX-Caches/tmp_1151344208/main.java:11: error: cannot find symbol
regexp = s.replaceAll("\\d+", Matcher.quoteReplacement("\\d+"));
^
symbol: variable Matcher
location: class LInputPattern
/root/JavaX-Caches/tmp_1151344208/main.java:13: error: cannot find symbol
debug("regexp: " + regexp);
^
symbol: method debug(String)
location: class LInputPattern
/root/JavaX-Caches/tmp_1151344208/main.java:25: error: cannot find symbol
code.line(code.var + " = ((String) " + code.var + ").replaceAll(" + quote("(" + regexp + ")") + ", \"[[$1]]\");");
^
symbol: method quote(String)
location: class LInputPattern
6 errors