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

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

/root/JavaX-Caches/tmp_315873022/main.java:1: error: class, interface, or enum expected sclass AI_WhatDidYouDoTodayBot > AttractorBot { ^ /root/JavaX-Caches/tmp_315873022/main.java:3: error: class, interface, or enum expected S name; ^ /root/JavaX-Caches/tmp_315873022/main.java:5: error: class, interface, or enum expected run { ^ /root/JavaX-Caches/tmp_315873022/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_315873022/main.java:11: error: '{' expected class SetNameAttractor > Attractor { ^ /root/JavaX-Caches/tmp_315873022/main.java:15: error: '(' or '[' expected new Matches m; ^ /root/JavaX-Caches/tmp_315873022/main.java:16: error: '(' expected if "My name is ..." ^ /root/JavaX-Caches/tmp_315873022/main.java:16: error: ')' expected if "My name is ..." ^ /root/JavaX-Caches/tmp_315873022/main.java:17: error: not a statement ret true with name = $1; ^ /root/JavaX-Caches/tmp_315873022/main.java:17: error: ';' expected ret true with name = $1; ^ /root/JavaX-Caches/tmp_315873022/main.java:18: error: '(' expected if "I have no name" ^ /root/JavaX-Caches/tmp_315873022/main.java:18: error: ')' expected if "I have no name" ^ /root/JavaX-Caches/tmp_315873022/main.java:19: error: not a statement ret true with name = null; ^ /root/JavaX-Caches/tmp_315873022/main.java:19: error: ';' expected ret true with name = null; ^ /root/JavaX-Caches/tmp_315873022/main.java:20: error: not a statement false; ^ /root/JavaX-Caches/tmp_315873022/main.java:23: error: <identifier> expected run { ^ /root/JavaX-Caches/tmp_315873022/main.java:25: error: ';' expected ret with say("I know, " + name); ^ /root/JavaX-Caches/tmp_315873022/main.java:25: error: variable declaration not allowed here ret with say("I know, " + name); ^ /root/JavaX-Caches/tmp_315873022/main.java:32: error: '{' expected class Attractor1 > Attractor { ^ /root/JavaX-Caches/tmp_315873022/main.java:34: error: '(' or '[' expected new Matches m; ^ /root/JavaX-Caches/tmp_315873022/main.java:36: error: '(' expected if "I ..." true; ^ /root/JavaX-Caches/tmp_315873022/main.java:36: error: ')' expected if "I ..." true; ^ /root/JavaX-Caches/tmp_315873022/main.java:36: error: not a statement if "I ..." true; ^ /root/JavaX-Caches/tmp_315873022/main.java:38: error: not a statement false; ^ /root/JavaX-Caches/tmp_315873022/main.java:41: error: <identifier> expected run { ^ /root/JavaX-Caches/tmp_315873022/main.java:48: error: class, interface, or enum expected *() { ^ /root/JavaX-Caches/tmp_315873022/main.java:50: error: class, interface, or enum expected } ^ 27 errors