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

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

/root/JavaX-Caches/tmp_642957819/main.java:1: error: class, interface, or enum expected sclass RenderFrequencySample_SquareWave extends Meta is RenderFrequencySample { ^ /root/JavaX-Caches/tmp_642957819/main.java:2: error: class, interface, or enum expected public double get(Complex c, double frac) { ^ /root/JavaX-Caches/tmp_642957819/main.java:4: error: class, interface, or enum expected if (abs == 0) ret 0; ^ /root/JavaX-Caches/tmp_642957819/main.java:5: error: class, interface, or enum expected frac = frac_nonNeg(frac + c.fracAngle()); ^ /root/JavaX-Caches/tmp_642957819/main.java:6: error: class, interface, or enum expected ret abs * (frac < .5 ? 1 : -1); ^ /root/JavaX-Caches/tmp_642957819/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_642957819/main.java:10: error: class, interface, or enum expected public void __subtractPeriodFrom(IAddPlateau audio, DoubleRange period, Complex intensity) { ^ /root/JavaX-Caches/tmp_642957819/main.java:12: error: class, interface, or enum expected double abs = intensity.abs(); ^ /root/JavaX-Caches/tmp_642957819/main.java:13: error: class, interface, or enum expected double goLow = fracNonNeg(goHigh+.5); ^ /root/JavaX-Caches/tmp_642957819/main.java:14: error: class, interface, or enum expected double t1 = period.start, t2 = period.end, n = l(period); ^ /root/JavaX-Caches/tmp_642957819/main.java:15: error: class, interface, or enum expected bool highFirst = goHigh < goLow; ^ /root/JavaX-Caches/tmp_642957819/main.java:16: error: class, interface, or enum expected double min = min(goHigh, goLow), minPos = t1+min*n; ^ /root/JavaX-Caches/tmp_642957819/main.java:17: error: class, interface, or enum expected double max = max(goHigh, goLow), maxPos = t1+max*n; ^ /root/JavaX-Caches/tmp_642957819/main.java:18: error: class, interface, or enum expected double val = highFirst ? -abs : abs; ^ /root/JavaX-Caches/tmp_642957819/main.java:19: error: class, interface, or enum expected if (metaGet("scaffolding") != null) ^ /root/JavaX-Caches/tmp_642957819/main.java:22: error: class, interface, or enum expected audio.subtractPlateau(t1, minPos, val); ^ /root/JavaX-Caches/tmp_642957819/main.java:23: error: class, interface, or enum expected audio.subtractPlateau( minPos, maxPos, -val); ^ /root/JavaX-Caches/tmp_642957819/main.java:24: error: class, interface, or enum expected audio.subtractPlateau( maxPos, t2, val); ^ /root/JavaX-Caches/tmp_642957819/main.java:25: error: class, interface, or enum expected } ^ 19 errors