CompletableFuture<JdkOptionsData> (@NotNull String javaHome) { assertEquals("/my/jre", javaHome); return CompletableFuture.completedFuture(new JdkOptionsData(List.of( new VMOption("Flag", "bool", "true", VMOptionKind.Product, null, VMOptionVariant.XX, null), new VMOption("MinusFlag", "bool", "false", VMOptionKind.Product, null, VMOptionVariant.XX, null), new VMOption("Value", "uint", "10", VMOptionKind.Product, null, VMOptionVariant.XX, null), new VMOption("Experimental", "uint", "10", VMOptionKind.Experimental, null, VMOptionVariant.XX, null), new VMOption("Diagnostic", "uint", "20", VMOptionKind.Diagnostic, null, VMOptionVariant.XX, null), new VMOption("mx", null, null, VMOptionKind.Product, null, VMOptionVariant.X, null), new VMOption("add-exports", null, null, VMOptionKind.Product, null, VMOptionVariant.DASH_DASH, null), new VMOption("add-opens", null, null, VMOptionKind.Product, null, VMOptionVariant.DASH_DASH, null) ))); }