Wrote /root/JavaX-Caches/tmp_2082066137/main.java - 972 bytes (written=972, should be 972) 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_1753081969 /root/JavaX-Caches/tmp_2082066137/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_2082066137/main.java:2: error: modifier static not allowed here static class LInputPatternPrefixSuffix extends LearnerImpl { ^ /root/JavaX-Caches/tmp_2082066137/main.java:2: error: cannot find symbol static class LInputPatternPrefixSuffix extends LearnerImpl { ^ symbol: class LearnerImpl /root/JavaX-Caches/tmp_2082066137/main.java:24: error: cannot find symbol public void toJava(Code code) { ^ symbol: class Code location: class LInputPatternPrefixSuffix /root/JavaX-Caches/tmp_2082066137/main.java:8: error: cannot find symbol findMarkedStrings(); ^ symbol: method findMarkedStrings() location: class LInputPatternPrefixSuffix /root/JavaX-Caches/tmp_2082066137/main.java:12: error: cannot find symbol regexp = s.replaceAll("\\d+", Matcher.quoteReplacement("\\d+")); ^ symbol: variable regexp location: class LInputPatternPrefixSuffix /root/JavaX-Caches/tmp_2082066137/main.java:12: error: cannot find symbol regexp = s.replaceAll("\\d+", Matcher.quoteReplacement("\\d+")); ^ symbol: variable Matcher location: class LInputPatternPrefixSuffix /root/JavaX-Caches/tmp_2082066137/main.java:13: error: cannot find symbol System.out.println("regexp: " + regexp); ^ symbol: variable regexp location: class LInputPatternPrefixSuffix /root/JavaX-Caches/tmp_2082066137/main.java:18: error: cannot find symbol if (regexp.length() == 0) ^ symbol: variable regexp location: class LInputPatternPrefixSuffix /root/JavaX-Caches/tmp_2082066137/main.java:21: error: cannot find symbol return in.replaceAll("(" + regexp + ")", findMarker1 + "$1" + findMarker2); ^ symbol: variable regexp location: class LInputPatternPrefixSuffix /root/JavaX-Caches/tmp_2082066137/main.java:25: error: cannot find symbol code.line(code.var + " = ((String) " + code.var + ").replaceAll(" + quote("(" + regexp + ")") + ", \"[[$1]]\");"); ^ symbol: variable regexp location: class LInputPatternPrefixSuffix 10 errors