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

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

/root/JavaX-Caches/tmp_936233576/main.java:4: error: = expected sclass OpenOrCloseOrder { ^ /root/JavaX-Caches/tmp_936233576/main.java:7: error: ';' expected settable S clientOrderID; // optional ^ /root/JavaX-Caches/tmp_936233576/main.java:7: error: not a statement settable S clientOrderID; // optional ^ /root/JavaX-Caches/tmp_936233576/main.java:9: error: ';' expected settable HoldSide holdSide; ^ /root/JavaX-Caches/tmp_936233576/main.java:9: error: not a statement settable HoldSide holdSide; ^ /root/JavaX-Caches/tmp_936233576/main.java:10: error: not a statement settable double cryptoAmount; ^ /root/JavaX-Caches/tmp_936233576/main.java:10: error: ';' expected settable double cryptoAmount; ^ /root/JavaX-Caches/tmp_936233576/main.java:12: error: not a statement settable double leverage = 1; ^ /root/JavaX-Caches/tmp_936233576/main.java:12: error: ';' expected settable double leverage = 1; ^ /root/JavaX-Caches/tmp_936233576/main.java:17: error: not a statement settable double limitPrice = Double.NaN; ^ /root/JavaX-Caches/tmp_936233576/main.java:17: error: ';' expected settable double limitPrice = Double.NaN; ^ /root/JavaX-Caches/tmp_936233576/main.java:22: error: ';' expected settable S orderID; ^ /root/JavaX-Caches/tmp_936233576/main.java:22: error: not a statement settable S orderID; ^ /root/JavaX-Caches/tmp_936233576/main.java:25: error: = expected macro ExtendingOpenOrCloseOrder { ^ /root/JavaX-Caches/tmp_936233576/main.java:26: error: illegal start of expression public selfType clientOrderID(S clientOrderID) { super.clientOrderID(clientOrderID); this; } ^ /root/JavaX-Caches/tmp_936233576/main.java:26: error: not a statement public selfType clientOrderID(S clientOrderID) { super.clientOrderID(clientOrderID); this; } ^ /root/JavaX-Caches/tmp_936233576/main.java:27: error: not a statement public selfType holdSide(HoldSide holdSide) { super.holdSide(holdSide); this; } ^ /root/JavaX-Caches/tmp_936233576/main.java:28: error: not a statement public selfType cryptoAmount(double cryptoAmount) { super.cryptoAmount(cryptoAmount); this; } ^ /root/JavaX-Caches/tmp_936233576/main.java:29: error: not a statement public selfType leverage(double leverage) { super.leverage(leverage); this; } ^ /root/JavaX-Caches/tmp_936233576/main.java:30: error: not a statement public selfType limitPrice(double limitPrice) { super.limitPrice(limitPrice); this; } ^ /root/JavaX-Caches/tmp_936233576/main.java:33: error: class, interface, or enum expected sclass OpenOrder extends OpenOrCloseOrder { ^ /root/JavaX-Caches/tmp_936233576/main.java:37: error: class, interface, or enum expected settable double takeProfitPrice = Double.NaN; ^ /root/JavaX-Caches/tmp_936233576/main.java:38: error: class, interface, or enum expected settable double stopLossPrice = Double.NaN; ^ /root/JavaX-Caches/tmp_936233576/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_936233576/main.java:49: error: class, interface, or enum expected void closePosition(CloseOrder order); ^ /root/JavaX-Caches/tmp_936233576/main.java:51: error: class, interface, or enum expected sclass SwappableImplementation is IFuturesMarket { ^ /root/JavaX-Caches/tmp_936233576/main.java:52: error: class, interface, or enum expected public swappable void openPosition(OpenOrder order) {} ^ /root/JavaX-Caches/tmp_936233576/main.java:53: error: class, interface, or enum expected public swappable void closePosition(CloseOrder order) {} ^ /root/JavaX-Caches/tmp_936233576/main.java:54: error: class, interface, or enum expected public swappable double drift() { unimplemented(); } ^ /root/JavaX-Caches/tmp_936233576/main.java:54: error: class, interface, or enum expected public swappable double drift() { unimplemented(); } ^ /root/JavaX-Caches/tmp_936233576/main.java:55: error: class, interface, or enum expected public swappable FutureCoinParameters getCoinParameters() { unimplemented(); } ^ /root/JavaX-Caches/tmp_936233576/main.java:55: error: class, interface, or enum expected public swappable FutureCoinParameters getCoinParameters() { unimplemented(); } ^ /root/JavaX-Caches/tmp_936233576/main.java:56: error: class, interface, or enum expected public swappable bool anyOpenPositions() { unimplemented(); } ^ /root/JavaX-Caches/tmp_936233576/main.java:56: error: class, interface, or enum expected public swappable bool anyOpenPositions() { unimplemented(); } ^ /root/JavaX-Caches/tmp_936233576/main.java:62: error: class, interface, or enum expected FutureCoinParameters getCoinParameters(); ^ /root/JavaX-Caches/tmp_936233576/main.java:64: error: class, interface, or enum expected bool anyOpenPositions(); ^ /root/JavaX-Caches/tmp_936233576/main.java:65: error: class, interface, or enum expected } ^ 37 errors