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

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

/root/JavaX-Caches/tmp_1646372606/main.java:5: error: class, interface, or enum expected sclass TunableParameters<Sc> { ^ /root/JavaX-Caches/tmp_1646372606/main.java:9: error: ';' expected gettable Sc score; ^ /root/JavaX-Caches/tmp_1646372606/main.java:9: error: <identifier> expected gettable Sc score; ^ /root/JavaX-Caches/tmp_1646372606/main.java:11: error: illegal start of type *() {} ^ /root/JavaX-Caches/tmp_1646372606/main.java:12: error: illegal start of type *(MapSO a, Sc score) { super(a); this.score = score; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:12: error: ';' expected *(MapSO a, Sc score) { super(a); this.score = score; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:12: error: <identifier> expected *(MapSO a, Sc score) { super(a); this.score = score; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:14: error: <identifier> expected toString { ^ /root/JavaX-Caches/tmp_1646372606/main.java:15: error: ';' expected ret actualScoreFunction.get(score) + ": " + str(get()); ^ /root/JavaX-Caches/tmp_1646372606/main.java:15: error: not a statement ret actualScoreFunction.get(score) + ": " + str(get()); ^ /root/JavaX-Caches/tmp_1646372606/main.java:18: error: not a statement bool isBest() { ret this == best; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:18: error: ';' expected bool isBest() { ret this == best; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:18: error: not a statement bool isBest() { ret this == best; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:19: error: ';' expected bool tiesBest() { ret compareScrd(this, best) == 0; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:19: error: not a statement bool tiesBest() { ret compareScrd(this, best) == 0; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:19: error: ';' expected bool tiesBest() { ret compareScrd(this, best) == 0; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:19: error: not a statement bool tiesBest() { ret compareScrd(this, best) == 0; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:19: error: ';' expected bool tiesBest() { ret compareScrd(this, best) == 0; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:21: error: ';' expected O actualScore() { ret actualScoreFunction.get(score); } ^ /root/JavaX-Caches/tmp_1646372606/main.java:24: error: class, interface, or enum expected settable IF1<MapSO, Sc> scoreFunction; ^ /root/JavaX-Caches/tmp_1646372606/main.java:25: error: class, interface, or enum expected settable IF2_OOInt<O> comparisonFunction; ^ /root/JavaX-Caches/tmp_1646372606/main.java:26: error: class, interface, or enum expected settable IF1<Sc, O> actualScoreFunction = l1 id; ^ /root/JavaX-Caches/tmp_1646372606/main.java:28: error: class, interface, or enum expected gettable Scrd best; ^ /root/JavaX-Caches/tmp_1646372606/main.java:29: error: class, interface, or enum expected new LinkedHashMap<S, Parameter> parameters; ^ /root/JavaX-Caches/tmp_1646372606/main.java:30: error: class, interface, or enum expected new L<Parameter> parameterList; ^ /root/JavaX-Caches/tmp_1646372606/main.java:31: error: class, interface, or enum expected gettable volatile long instancesTested; ^ /root/JavaX-Caches/tmp_1646372606/main.java:33: error: class, interface, or enum expected event testingInstance(MapSO instance); ^ /root/JavaX-Caches/tmp_1646372606/main.java:34: error: class, interface, or enum expected event fireInstanceScored(Scrd scored); ^ /root/JavaX-Caches/tmp_1646372606/main.java:35: error: class, interface, or enum expected event newBest(Scrd instance); ^ /root/JavaX-Caches/tmp_1646372606/main.java:38: error: ';' expected settable S name; ^ /root/JavaX-Caches/tmp_1646372606/main.java:38: error: <identifier> expected settable S name; ^ /root/JavaX-Caches/tmp_1646372606/main.java:39: error: ';' expected settable A defaultValue; ^ /root/JavaX-Caches/tmp_1646372606/main.java:39: error: <identifier> expected settable A defaultValue; ^ /root/JavaX-Caches/tmp_1646372606/main.java:44: error: ';' expected ret (A) instance.get(name); ^ /root/JavaX-Caches/tmp_1646372606/main.java:47: error: ';' expected TunableParameters<Sc> tuner() { ret TunableParameters.this; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:47: error: not a statement TunableParameters<Sc> tuner() { ret TunableParameters.this; } ^ /root/JavaX-Caches/tmp_1646372606/main.java:51: error: ';' expected settable IntRange range; ^ /root/JavaX-Caches/tmp_1646372606/main.java:51: error: <identifier> expected settable IntRange range; ^ /root/JavaX-Caches/tmp_1646372606/main.java:52: error: <identifier> expected settable int step = 1; ^ /root/JavaX-Caches/tmp_1646372606/main.java:54: error: ';' expected Int randomValue() { ret random(range); } ^ /root/JavaX-Caches/tmp_1646372606/main.java:54: error: not a statement Int randomValue() { ret random(range); } ^ /root/JavaX-Caches/tmp_1646372606/main.java:54: error: ';' expected Int randomValue() { ret random(range); } ^ /root/JavaX-Caches/tmp_1646372606/main.java:59: error: not a statement this; ^ /root/JavaX-Caches/tmp_1646372606/main.java:64: error: ';' expected settable DoubleRange range; ^ /root/JavaX-Caches/tmp_1646372606/main.java:64: error: <identifier> expected settable DoubleRange range; ^ /root/JavaX-Caches/tmp_1646372606/main.java:65: error: <identifier> expected settable double step = .1; ^ /root/JavaX-Caches/tmp_1646372606/main.java:67: error: ';' expected Double randomValue() { ret random(range); } ^ /root/JavaX-Caches/tmp_1646372606/main.java:67: error: not a statement Double randomValue() { ret random(range); } ^ /root/JavaX-Caches/tmp_1646372606/main.java:67: error: ';' expected Double randomValue() { ret random(range); } ^ /root/JavaX-Caches/tmp_1646372606/main.java:72: error: not a statement this; ^ /root/JavaX-Caches/tmp_1646372606/main.java:76: error: class, interface, or enum expected <A extends Parameter> A add(A p) { ^ /root/JavaX-Caches/tmp_1646372606/main.java:78: error: class, interface, or enum expected parameterList.add(p); ^ /root/JavaX-Caches/tmp_1646372606/main.java:79: error: class, interface, or enum expected ret p; ^ /root/JavaX-Caches/tmp_1646372606/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:84: error: class, interface, or enum expected p.range(intRange(min, max)).+defaultValue.+name; ^ /root/JavaX-Caches/tmp_1646372606/main.java:85: error: class, interface, or enum expected ret add(p); ^ /root/JavaX-Caches/tmp_1646372606/main.java:86: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:90: error: class, interface, or enum expected p.range(doubleRange(min, max)).+step.+defaultValue.+name; ^ /root/JavaX-Caches/tmp_1646372606/main.java:91: error: class, interface, or enum expected ret add(p); ^ /root/JavaX-Caches/tmp_1646372606/main.java:92: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:96: error: class, interface, or enum expected for (param : parameterList) ^ /root/JavaX-Caches/tmp_1646372606/main.java:98: error: class, interface, or enum expected ret map; ^ /root/JavaX-Caches/tmp_1646372606/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:103: error: class, interface, or enum expected for (param : parameterList) ^ /root/JavaX-Caches/tmp_1646372606/main.java:105: error: class, interface, or enum expected ret map; ^ /root/JavaX-Caches/tmp_1646372606/main.java:106: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:110: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:114: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:119: error: class, interface, or enum expected new L<Scrd> out; ^ /root/JavaX-Caches/tmp_1646372606/main.java:120: error: class, interface, or enum expected for (param : parameterList) { ^ /root/JavaX-Caches/tmp_1646372606/main.java:122: error: class, interface, or enum expected if (eq(param.get(instance), value)) ^ /root/JavaX-Caches/tmp_1646372606/main.java:124: error: class, interface, or enum expected MapSO instance2 = cloneMap(instance); ^ /root/JavaX-Caches/tmp_1646372606/main.java:125: error: class, interface, or enum expected instance2.put(param.name(), value); ^ /root/JavaX-Caches/tmp_1646372606/main.java:126: error: class, interface, or enum expected out.add(tryInstance(instance2)); ^ /root/JavaX-Caches/tmp_1646372606/main.java:127: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:129: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:133: error: class, interface, or enum expected testingInstance(instance); ^ /root/JavaX-Caches/tmp_1646372606/main.java:134: error: class, interface, or enum expected ret scoreFunction.get(instance); ^ /root/JavaX-Caches/tmp_1646372606/main.java:135: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:139: error: class, interface, or enum expected fireInstanceScored(scored); ^ /root/JavaX-Caches/tmp_1646372606/main.java:140: error: class, interface, or enum expected ret scored; ^ /root/JavaX-Caches/tmp_1646372606/main.java:141: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:145: error: class, interface, or enum expected Scrd scored = scored(instance); ^ /root/JavaX-Caches/tmp_1646372606/main.java:146: error: class, interface, or enum expected tryInstance(scored); ^ /root/JavaX-Caches/tmp_1646372606/main.java:147: error: class, interface, or enum expected ret scored; ^ /root/JavaX-Caches/tmp_1646372606/main.java:148: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:152: error: class, interface, or enum expected if (best == null || compareScrd(scored, best) > 0) { ^ /root/JavaX-Caches/tmp_1646372606/main.java:154: error: class, interface, or enum expected newBest(scored); ^ /root/JavaX-Caches/tmp_1646372606/main.java:155: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:160: error: class, interface, or enum expected Sc scoreB = b.score(); ^ /root/JavaX-Caches/tmp_1646372606/main.java:161: error: class, interface, or enum expected ret comparisonFunction == null ? cmp(scoreA, scoreB) : comparisonFunction.get(actualScoreFunction.get(scoreA), actualScoreFunction.get(scoreB)); ^ /root/JavaX-Caches/tmp_1646372606/main.java:162: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:166: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646372606/main.java:171: error: class, interface, or enum expected ret best!; ^ /root/JavaX-Caches/tmp_1646372606/main.java:172: error: class, interface, or enum expected } ^ 95 errors