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

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

/root/JavaX-Caches/tmp_103752360/main.java:2: error: class, interface, or enum expected static NLABlock ai_pronounResolvedToNLA(S s) { ^ /root/JavaX-Caches/tmp_103752360/main.java:4: error: class, interface, or enum expected print(s); ^ /root/JavaX-Caches/tmp_103752360/main.java:5: error: class, interface, or enum expected AI_PronounResolver1 resolver = new(s); ^ /root/JavaX-Caches/tmp_103752360/main.java:6: error: class, interface, or enum expected resolver.run(); ^ /root/JavaX-Caches/tmp_103752360/main.java:7: error: class, interface, or enum expected print(resolver.nounPhrases); ^ /root/JavaX-Caches/tmp_103752360/main.java:8: error: class, interface, or enum expected print(resolver.pronouns); ^ /root/JavaX-Caches/tmp_103752360/main.java:10: error: class, interface, or enum expected for (Map mapping : resolver.allMappings()) { ^ /root/JavaX-Caches/tmp_103752360/main.java:12: error: class, interface, or enum expected pnl(pwt); ^ /root/JavaX-Caches/tmp_103752360/main.java:14: error: class, interface, or enum expected new NLABlock nla; ^ /root/JavaX-Caches/tmp_103752360/main.java:15: error: class, interface, or enum expected new Map<ParsedWithTokens, NLABlock.Entity> entityMapping; ^ /root/JavaX-Caches/tmp_103752360/main.java:16: error: class, interface, or enum expected for (ParsedWithToken p : values(mapping)) { ^ /root/JavaX-Caches/tmp_103752360/main.java:18: error: class, interface, or enum expected NLABlock.Line line = nla.new Line("there is " + name); ^ /root/JavaX-Caches/tmp_103752360/main.java:19: error: class, interface, or enum expected nla.lines.add(line); ^ /root/JavaX-Caches/tmp_103752360/main.java:20: error: class, interface, or enum expected NLABlock.Entity e = nla.new Entity(name, line); ^ /root/JavaX-Caches/tmp_103752360/main.java:21: error: class, interface, or enum expected nla.entities.add(e); ^ /root/JavaX-Caches/tmp_103752360/main.java:22: error: class, interface, or enum expected entityMapping.put(p, e); ^ /root/JavaX-Caches/tmp_103752360/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_103752360/main.java:25: error: class, interface, or enum expected nla.lines.add(); ^ /root/JavaX-Caches/tmp_103752360/main.java:26: error: class, interface, or enum expected } ^ 19 errors