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

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

/root/JavaX-Caches/tmp_1470133696/main.java:1: error: class, interface, or enum expected static int dm_placeModuleUnderAIBar_expiry = 4000; ^ /root/JavaX-Caches/tmp_1470133696/main.java:3: error: class, interface, or enum expected svoid dm_placeModuleUnderAIBar_v2(O moduleOrID, fS query) { ^ /root/JavaX-Caches/tmp_1470133696/main.java:5: error: class, interface, or enum expected fS moduleID = dm_moduleID(moduleOrID); ^ /root/JavaX-Caches/tmp_1470133696/main.java:6: error: class, interface, or enum expected dm_showModule_noFocus(module); ^ /root/JavaX-Caches/tmp_1470133696/main.java:7: error: class, interface, or enum expected swing { ^ /root/JavaX-Caches/tmp_1470133696/main.java:8: error: unclosed character literal JTextComponent aiBar = cast getCreatorOpt('tfTopInput); ^ /root/JavaX-Caches/tmp_1470133696/main.java:9: error: class, interface, or enum expected Rect mr = dm_getBounds(module); ^ /root/JavaX-Caches/tmp_1470133696/main.java:10: error: class, interface, or enum expected if (aiBar == null || mr == null) ret; ^ /root/JavaX-Caches/tmp_1470133696/main.java:12: error: class, interface, or enum expected Rectangle r = getBounds(aiBar); ^ /root/JavaX-Caches/tmp_1470133696/main.java:14: error: class, interface, or enum expected QuickSearchPlacement p = optCastAndQuickImport(QuickSearchPlacement, dm_generalMap_get('modulesUnderAIBar)); ^ /root/JavaX-Caches/tmp_1470133696/main.java:14: error: unclosed character literal QuickSearchPlacement p = optCastAndQuickImport(QuickSearchPlacement, dm_generalMap_get('modulesUnderAIBar)); ^ /root/JavaX-Caches/tmp_1470133696/main.java:17: error: class, interface, or enum expected if (p != null && !eq(p.query, query)) p = null; ^ /root/JavaX-Caches/tmp_1470133696/main.java:20: error: class, interface, or enum expected if (p != null && elapsedMS(p.lastAdded) > dm_placeModuleUnderAIBar_expiry) p = null; ^ /root/JavaX-Caches/tmp_1470133696/main.java:23: error: class, interface, or enum expected if (p != null && contains(p.modules, moduleID)) ret; ^ /root/JavaX-Caches/tmp_1470133696/main.java:25: error: class, interface, or enum expected if (p == null) p = new QuickSearchPlacement; ^ /root/JavaX-Caches/tmp_1470133696/main.java:26: error: class, interface, or enum expected p.query = query; ^ /root/JavaX-Caches/tmp_1470133696/main.java:29: error: class, interface, or enum expected int y = p.height; ^ /root/JavaX-Caches/tmp_1470133696/main.java:30: error: class, interface, or enum expected p.height += mr.h; ^ /root/JavaX-Caches/tmp_1470133696/main.java:31: error: class, interface, or enum expected p.modules.add(moduleID); ^ /root/JavaX-Caches/tmp_1470133696/main.java:32: error: class, interface, or enum expected if (p.firstAdded == 0) p.firstAdded = now(); ^ /root/JavaX-Caches/tmp_1470133696/main.java:33: error: class, interface, or enum expected p.lastAdded = now(); ^ /root/JavaX-Caches/tmp_1470133696/main.java:36: error: class, interface, or enum expected dm_setBounds(module, r.x, y, r.width, mr.h); ^ /root/JavaX-Caches/tmp_1470133696/main.java:37: error: class, interface, or enum expected dm_generalMap_put('modulesUnderAIBar, p); ^ /root/JavaX-Caches/tmp_1470133696/main.java:37: error: unclosed character literal dm_generalMap_put('modulesUnderAIBar, p); ^ /root/JavaX-Caches/tmp_1470133696/main.java:38: error: class, interface, or enum expected } ^ 25 errors