@flock/wirespec 0.19.3-RC.1 → 0.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +167 -167
  3. package/clikt-clikt-mordant.mjs +81 -81
  4. package/clikt-clikt-mordant.mjs.map +1 -1
  5. package/clikt-clikt.mjs +1636 -1636
  6. package/clikt-clikt.mjs.map +1 -1
  7. package/colormath-root-colormath.mjs +448 -448
  8. package/kotlin-kotlin-stdlib.mjs +2428 -5210
  9. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  10. package/kotlin-openapi-bindings.mjs +10248 -10248
  11. package/kotlin-openapi-bindings.mjs.map +1 -1
  12. package/kotlin-rgxgen.mjs +1846 -1846
  13. package/kotlin-rgxgen.mjs.map +1 -1
  14. package/kotlinx-io-kotlinx-io-core.mjs +455 -455
  15. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2101 -2135
  17. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  18. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1579 -1579
  19. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  20. package/mordant-mordant.mjs +1435 -1435
  21. package/package.json +1 -5
  22. package/wirespec-src-compiler-core.mjs +1598 -1598
  23. package/wirespec-src-compiler-emitters-java.mjs +453 -451
  24. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  25. package/wirespec-src-compiler-emitters-kotlin.mjs +341 -339
  26. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  27. package/wirespec-src-compiler-emitters-python.mjs +430 -428
  28. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  29. package/wirespec-src-compiler-emitters-rust.mjs +483 -481
  30. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  31. package/wirespec-src-compiler-emitters-scala.mjs +195 -193
  32. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  33. package/wirespec-src-compiler-emitters-typescript.mjs +501 -499
  34. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  35. package/wirespec-src-compiler-emitters-wirespec.mjs +82 -82
  36. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  37. package/wirespec-src-compiler-ir.mjs +3901 -3909
  38. package/wirespec-src-compiler-ir.mjs.map +1 -1
  39. package/wirespec-src-compiler-lib.mjs +439 -439
  40. package/wirespec-src-compiler-lib.mjs.map +1 -1
  41. package/wirespec-src-converter-avro.mjs +521 -521
  42. package/wirespec-src-converter-avro.mjs.map +1 -1
  43. package/wirespec-src-converter-openapi.mjs +859 -859
  44. package/wirespec-src-converter-openapi.mjs.map +1 -1
  45. package/wirespec-src-ide-lsp.mjs +1387 -1387
  46. package/wirespec-src-ide-lsp.mjs.map +1 -1
  47. package/wirespec-src-plugin-arguments.mjs +192 -192
  48. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  49. package/wirespec-src-plugin-cli.mjs +109 -109
  50. package/wirespec-src-plugin-npm.d.mts +0 -21
  51. package/wirespec-src-plugin-npm.mjs +43 -43
  52. package/wirespec-src-plugin-npm.mjs.map +1 -1
  53. package/wirespec-src-tools-generator.mjs +35 -35
  54. package/wirespec-src-tools-generator.mjs.map +1 -1
  55. package/kotest-kotest-assertions-kotest-assertions-core.mjs +0 -4
  56. package/kotest-kotest-assertions-kotest-assertions-core.mjs.map +0 -1
  57. package/kotest-kotest-assertions-kotest-assertions-shared.mjs +0 -4
  58. package/kotest-kotest-assertions-kotest-assertions-shared.mjs.map +0 -1
  59. package/kotest-kotest-common.mjs +0 -56
  60. package/kotest-kotest-common.mjs.map +0 -1
  61. package/kotest-kotest-framework-kotest-framework-engine.mjs +0 -4
  62. package/kotest-kotest-framework-kotest-framework-engine.mjs.map +0 -1
  63. package/kotest-kotest-property.mjs +0 -2501
  64. package/kotest-kotest-property.mjs.map +0 -1
  65. package/kotlinx-coroutines-test.mjs +0 -4
  66. package/kotlinx-coroutines-test.mjs.map +0 -1
  67. package/wirespec-generator.d.ts +0 -51
  68. package/wirespec-generator.mjs +0 -9
  69. package/wirespec-src-integration-kotest.mjs +0 -1647
  70. package/wirespec-src-integration-kotest.mjs.map +0 -1
  71. package/xmlutil-core.mjs +0 -4
  72. package/xmlutil-core.mjs.map +0 -1
  73. package/xmlutil-serialization.mjs +0 -4
  74. package/xmlutil-serialization.mjs.map +0 -1
@@ -155,6 +155,7 @@ import {
155
155
  convert1cn4bolzoed8c as convert_4,
156
156
  emitEndpointClient1meajc90wf3el as emitEndpointClient,
157
157
  emitClient32kfwzg2hm5vj as emitClient,
158
+ get_extensions31c4or738wbxz as get_extensions,
158
159
  emit1oxjujel6f3jb as emit_1,
159
160
  emit3bzdcd0f6nwtj as emit_2,
160
161
  beforeGenerate3o8idb3hey1b0 as beforeGenerate,
@@ -187,10 +188,10 @@ import {
187
188
  //endregion
188
189
  //region block: pre-declaration
189
190
  function emit_3(type, module_0) {
190
- var tmp = this.yu(type.ws_1);
191
- var tmp_0 = this.wt(type.xs_1);
191
+ var tmp = this.nr(type.lp_1);
192
+ var tmp_0 = this.lq(type.mp_1);
192
193
  // Inline function 'kotlin.run' call
193
- var $this$run = type.ys_1;
194
+ var $this$run = type.np_1;
194
195
  var tmp_1;
195
196
  if ($this$run.r()) {
196
197
  tmp_1 = '';
@@ -201,23 +202,23 @@ function emit_3(type, module_0) {
201
202
  return trimMargin('\n |public record ' + tmp + ' (\n |' + tmp_0 + '\n |)' + tmp$ret$1 + ' {\n |};\n |\n ');
202
203
  }
203
204
  function emit_4(_this__u8e3s4) {
204
- return dropLast_0(joinToString(_this__u8e3s4.ts_1, '\n', VOID, VOID, VOID, VOID, JavaTypeDefinitionEmitter$emit$lambda_0(this)), 1);
205
+ return dropLast_0(joinToString(_this__u8e3s4.ip_1, '\n', VOID, VOID, VOID, VOID, JavaTypeDefinitionEmitter$emit$lambda_0(this)), 1);
205
206
  }
206
207
  function emit_5(_this__u8e3s4) {
207
- return this.yt(_this__u8e3s4.ct_1) + ' ' + this.yu(_this__u8e3s4.bt_1);
208
+ return this.nq(_this__u8e3s4.rp_1) + ' ' + this.nr(_this__u8e3s4.qp_1);
208
209
  }
209
210
  function emit_6(_this__u8e3s4) {
210
211
  // Inline function 'kotlin.let' call
211
212
  var it = emitType(this, _this__u8e3s4);
212
- return _this__u8e3s4.ey() ? 'java.util.Optional<' + it + '>' : it;
213
+ return _this__u8e3s4.tu() ? 'java.util.Optional<' + it + '>' : it;
213
214
  }
214
215
  function emitRoot(_this__u8e3s4, void_0) {
215
216
  var tmp;
216
217
  if (_this__u8e3s4 instanceof Dict) {
217
- tmp = this.e20(_this__u8e3s4.ds_1);
218
+ tmp = this.v1w(_this__u8e3s4.so_1);
218
219
  } else {
219
220
  if (_this__u8e3s4 instanceof Iterable) {
220
- tmp = this.e20(_this__u8e3s4.as_1);
221
+ tmp = this.v1w(_this__u8e3s4.po_1);
221
222
  } else {
222
223
  if (_this__u8e3s4 instanceof Unit) {
223
224
  tmp = void_0;
@@ -246,15 +247,15 @@ function emitRoot(_this__u8e3s4, void_0) {
246
247
  }
247
248
  function emitRoot$default(_this__u8e3s4, void_0, $super) {
248
249
  void_0 = void_0 === VOID ? 'void' : void_0;
249
- return $super === VOID ? this.f20(_this__u8e3s4, void_0) : emitRoot(_this__u8e3s4, void_0);
250
+ return $super === VOID ? this.w1w(_this__u8e3s4, void_0) : emitRoot(_this__u8e3s4, void_0);
250
251
  }
251
252
  function emit_7(_this__u8e3s4) {
252
253
  var tmp;
253
254
  if (_this__u8e3s4 instanceof RegExp_0) {
254
- tmp = 'return java.util.regex.Pattern.compile("' + replace(this.au(_this__u8e3s4.ax_1), '\\', '\\\\') + '").matcher(value).find();';
255
+ tmp = 'return java.util.regex.Pattern.compile("' + replace(this.pq(_this__u8e3s4.pt_1), '\\', '\\\\') + '").matcher(value).find();';
255
256
  } else {
256
257
  if (_this__u8e3s4 instanceof Bound) {
257
- var tmp1_safe_receiver = _this__u8e3s4.qx_1;
258
+ var tmp1_safe_receiver = _this__u8e3s4.fu_1;
258
259
  var tmp_0;
259
260
  if (tmp1_safe_receiver == null) {
260
261
  tmp_0 = null;
@@ -263,7 +264,7 @@ function emit_7(_this__u8e3s4) {
263
264
  tmp_0 = tmp1_safe_receiver + ' < value';
264
265
  }
265
266
  var minCheck = tmp_0;
266
- var tmp2_safe_receiver = _this__u8e3s4.rx_1;
267
+ var tmp2_safe_receiver = _this__u8e3s4.gu_1;
267
268
  var tmp_1;
268
269
  if (tmp2_safe_receiver == null) {
269
270
  tmp_1 = null;
@@ -289,59 +290,59 @@ function emit_7(_this__u8e3s4) {
289
290
  }
290
291
  initMetadataForInterface(JavaTypeDefinitionEmitter, 'JavaTypeDefinitionEmitter', VOID, VOID, [TypeDefinitionEmitter]);
291
292
  function emit_8(channel) {
292
- return trimMargin('\n |' + emitImports(this, channel) + '\n |\n |@FunctionalInterface\n |public interface ' + this.yu(channel.ns_1) + ' {\n | void invoke(' + emitFullyQualified(this, channel, channel.os_1) + this.e20(channel.os_1) + ' message);\n |}\n |\n ');
293
+ return trimMargin('\n |' + emitImports(this, channel) + '\n |\n |@FunctionalInterface\n |public interface ' + this.nr(channel.cp_1) + ' {\n | void invoke(' + emitFullyQualified(this, channel, channel.dp_1) + this.v1w(channel.dp_1) + ' message);\n |}\n |\n ');
293
294
  }
294
295
  initMetadataForInterface(JavaChannelDefinitionEmitter, 'JavaChannelDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
295
296
  function emit_9(endpoint) {
296
297
  var tmp = emitImports_0(this, endpoint);
297
- var tmp_0 = this.yu(endpoint.ft_1);
298
+ var tmp_0 = this.nr(endpoint.up_1);
298
299
  var tmp_1 = get_pathParams(endpoint);
299
300
  var tmp_2 = emitObject(this, tmp_1, 'Path', 'Wirespec.Path', JavaEndpointDefinitionEmitter$emit$lambda(this));
300
- var tmp_3 = emitObject(this, endpoint.it_1, 'Queries', 'Wirespec.Queries', JavaEndpointDefinitionEmitter$emit$lambda_0(this));
301
- var tmp_4 = emitObject(this, endpoint.jt_1, 'RequestHeaders', 'Wirespec.Request.Headers', JavaEndpointDefinitionEmitter$emit$lambda_1(this));
302
- var tmp_5 = this.q20(first_0(endpoint.kt_1), endpoint);
301
+ var tmp_3 = emitObject(this, endpoint.xp_1, 'Queries', 'Wirespec.Queries', JavaEndpointDefinitionEmitter$emit$lambda_0(this));
302
+ var tmp_4 = emitObject(this, endpoint.yp_1, 'RequestHeaders', 'Wirespec.Request.Headers', JavaEndpointDefinitionEmitter$emit$lambda_1(this));
303
+ var tmp_5 = this.h1x(first_0(endpoint.zp_1), endpoint);
303
304
  var tmp_6 = Spacer_instance.toString();
304
305
  var tmp_7 = emitStatusInterfaces(this, endpoint);
305
306
  var tmp_8 = emitResponseInterfaces(this, endpoint);
306
- var tmp_9 = distinctByStatus(endpoint.lt_1);
307
+ var tmp_9 = distinctByStatus(endpoint.aq_1);
307
308
  var tmp_10 = joinToString(tmp_9, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_2(this));
308
309
  var tmp_11 = Spacer_instance.toString();
309
- var tmp_12 = emitRequestFunctions(this, first_0(endpoint.kt_1), endpoint);
310
- var tmp_13 = Spacer_instance.sv(2);
311
- var tmp_14 = distinctByStatus(endpoint.lt_1);
310
+ var tmp_12 = emitRequestFunctions(this, first_0(endpoint.zp_1), endpoint);
311
+ var tmp_13 = Spacer_instance.hs(2);
312
+ var tmp_14 = distinctByStatus(endpoint.aq_1);
312
313
  var tmp_15 = joinToString(tmp_14, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_3(this));
313
- var tmp_16 = Spacer_instance.sv(3);
314
- var tmp_17 = Spacer_instance.sv(2);
315
- var tmp_18 = Spacer_instance.sv(2);
314
+ var tmp_16 = Spacer_instance.hs(3);
315
+ var tmp_17 = Spacer_instance.hs(2);
316
+ var tmp_18 = Spacer_instance.hs(2);
316
317
  var tmp_19 = emitFromResponse(this, endpoint);
317
- var tmp_20 = Spacer_instance.sv(2);
318
- var tmp_21 = Spacer_instance.sv(2);
319
- var tmp_22 = this.u20(endpoint);
320
- var tmp_23 = Spacer_instance.sv(2);
321
- var tmp_24 = Spacer_instance.sv(3);
322
- return trimMargin('\n |' + tmp + '\n |\n |public interface ' + tmp_0 + ' extends Wirespec.Endpoint {\n |' + tmp_2 + '\n |\n |' + tmp_3 + '\n |\n |' + tmp_4 + '\n |\n |' + tmp_5 + '\n |\n |' + tmp_6 + 'sealed interface Response<T> extends Wirespec.Response<T> {}\n |' + tmp_7 + '\n |' + tmp_8 + '\n |\n |' + tmp_10 + '\n |\n |' + tmp_11 + 'interface Handler extends Wirespec.Handler {\n |\n |' + tmp_12 + '\n |\n |' + tmp_13 + 'static Wirespec.RawResponse toResponse(Wirespec.Serializer serialization, Response<?> response) {\n |' + tmp_15 + '\n |' + tmp_16 + 'else { throw new IllegalStateException("Cannot match response with status: " + response.status());}\n |' + tmp_17 + '}\n |\n |' + tmp_18 + 'static Response<?> fromResponse(Wirespec.Deserializer serialization, Wirespec.RawResponse response) {\n |' + tmp_19 + '\n |' + tmp_20 + '}\n |\n |' + tmp_21 + tmp_22 + '\n |' + tmp_23 + 'class Handlers implements Wirespec.Server<Request, Response<?>>, Wirespec.Client<Request, Response<?>> {\n |' + tmp_24 + '@Override public String getPathTemplate() { return "/' + joinToString(endpoint.ht_1, '/', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_4) + '"; }\n |' + Spacer_instance.sv(3) + '@Override public String getMethod() { return "' + endpoint.gt_1.toString() + '"; }\n |' + Spacer_instance.sv(3) + '@Override public Wirespec.ServerEdge<Request, Response<?>> getServer(Wirespec.Serialization serialization) {\n |' + Spacer_instance.sv(4) + 'return new Wirespec.ServerEdge<>() {\n |' + Spacer_instance.sv(5) + '@Override public Request from(Wirespec.RawRequest request) { return fromRequest(serialization, request); }\n |' + Spacer_instance.sv(5) + '@Override public Wirespec.RawResponse to(Response<?> response) { return toResponse(serialization, response); }\n |' + Spacer_instance.sv(4) + '};\n |' + Spacer_instance.sv(3) + '}\n |' + Spacer_instance.sv(3) + '@Override public Wirespec.ClientEdge<Request, Response<?>> getClient(Wirespec.Serialization serialization) {\n |' + Spacer_instance.sv(4) + 'return new Wirespec.ClientEdge<>() {\n |' + Spacer_instance.sv(5) + '@Override public Wirespec.RawRequest to(Request request) { return toRequest(serialization, request); }\n |' + Spacer_instance.sv(5) + '@Override public Response<?> from(Wirespec.RawResponse response) { return fromResponse(serialization, response); }\n |' + Spacer_instance.sv(4) + '};\n |' + Spacer_instance.sv(3) + '}\n |' + Spacer_instance.sv(2) + '}\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
318
+ var tmp_20 = Spacer_instance.hs(2);
319
+ var tmp_21 = Spacer_instance.hs(2);
320
+ var tmp_22 = this.l1x(endpoint);
321
+ var tmp_23 = Spacer_instance.hs(2);
322
+ var tmp_24 = Spacer_instance.hs(3);
323
+ return trimMargin('\n |' + tmp + '\n |\n |public interface ' + tmp_0 + ' extends Wirespec.Endpoint {\n |' + tmp_2 + '\n |\n |' + tmp_3 + '\n |\n |' + tmp_4 + '\n |\n |' + tmp_5 + '\n |\n |' + tmp_6 + 'sealed interface Response<T> extends Wirespec.Response<T> {}\n |' + tmp_7 + '\n |' + tmp_8 + '\n |\n |' + tmp_10 + '\n |\n |' + tmp_11 + 'interface Handler extends Wirespec.Handler {\n |\n |' + tmp_12 + '\n |\n |' + tmp_13 + 'static Wirespec.RawResponse toResponse(Wirespec.Serializer serialization, Response<?> response) {\n |' + tmp_15 + '\n |' + tmp_16 + 'else { throw new IllegalStateException("Cannot match response with status: " + response.status());}\n |' + tmp_17 + '}\n |\n |' + tmp_18 + 'static Response<?> fromResponse(Wirespec.Deserializer serialization, Wirespec.RawResponse response) {\n |' + tmp_19 + '\n |' + tmp_20 + '}\n |\n |' + tmp_21 + tmp_22 + '\n |' + tmp_23 + 'class Handlers implements Wirespec.Server<Request, Response<?>>, Wirespec.Client<Request, Response<?>> {\n |' + tmp_24 + '@Override public String getPathTemplate() { return "/' + joinToString(endpoint.wp_1, '/', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_4) + '"; }\n |' + Spacer_instance.hs(3) + '@Override public String getMethod() { return "' + endpoint.vp_1.toString() + '"; }\n |' + Spacer_instance.hs(3) + '@Override public Wirespec.ServerEdge<Request, Response<?>> getServer(Wirespec.Serialization serialization) {\n |' + Spacer_instance.hs(4) + 'return new Wirespec.ServerEdge<>() {\n |' + Spacer_instance.hs(5) + '@Override public Request from(Wirespec.RawRequest request) { return fromRequest(serialization, request); }\n |' + Spacer_instance.hs(5) + '@Override public Wirespec.RawResponse to(Response<?> response) { return toResponse(serialization, response); }\n |' + Spacer_instance.hs(4) + '};\n |' + Spacer_instance.hs(3) + '}\n |' + Spacer_instance.hs(3) + '@Override public Wirespec.ClientEdge<Request, Response<?>> getClient(Wirespec.Serialization serialization) {\n |' + Spacer_instance.hs(4) + 'return new Wirespec.ClientEdge<>() {\n |' + Spacer_instance.hs(5) + '@Override public Wirespec.RawRequest to(Request request) { return toRequest(serialization, request); }\n |' + Spacer_instance.hs(5) + '@Override public Response<?> from(Wirespec.RawResponse response) { return fromResponse(serialization, response); }\n |' + Spacer_instance.hs(4) + '};\n |' + Spacer_instance.hs(3) + '}\n |' + Spacer_instance.hs(2) + '}\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
323
324
  }
324
325
  function emitHandleFunction(endpoint) {
325
- return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_instance_1.qu(this.yu(endpoint.ft_1)) + '(Request request);';
326
+ return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_instance_1.fr(this.nr(endpoint.up_1)) + '(Request request);';
326
327
  }
327
328
  function emit_10(_this__u8e3s4, endpoint) {
328
- return trimMargin('\n |' + Spacer_instance.toString() + 'record Request (\n |' + Spacer_instance.sv(2) + 'Path path,\n |' + Spacer_instance.sv(2) + 'Wirespec.Method method,\n |' + Spacer_instance.sv(2) + 'Queries queries,\n |' + Spacer_instance.sv(2) + 'RequestHeaders headers,\n |' + Spacer_instance.sv(2) + emit_16(this, _this__u8e3s4.ot_1) + ' body\n |' + Spacer_instance.toString() + ') implements Wirespec.Request<' + emit_16(this, _this__u8e3s4.ot_1) + '> {\n |' + Spacer_instance.sv(2) + emitConstructor(this, _this__u8e3s4, endpoint) + '\n |' + Spacer_instance.toString() + '}\n ');
329
+ return trimMargin('\n |' + Spacer_instance.toString() + 'record Request (\n |' + Spacer_instance.hs(2) + 'Path path,\n |' + Spacer_instance.hs(2) + 'Wirespec.Method method,\n |' + Spacer_instance.hs(2) + 'Queries queries,\n |' + Spacer_instance.hs(2) + 'RequestHeaders headers,\n |' + Spacer_instance.hs(2) + emit_16(this, _this__u8e3s4.dq_1) + ' body\n |' + Spacer_instance.toString() + ') implements Wirespec.Request<' + emit_16(this, _this__u8e3s4.dq_1) + '> {\n |' + Spacer_instance.hs(2) + emitConstructor(this, _this__u8e3s4, endpoint) + '\n |' + Spacer_instance.toString() + '}\n ');
329
330
  }
330
331
  function emit_11(_this__u8e3s4) {
331
332
  var tmp = Spacer_instance.toString();
332
- var tmp_0 = Companion_instance_1.pu(_this__u8e3s4.rt_1);
333
- var tmp_1 = Spacer_instance.sv(2);
334
- var tmp_2 = Spacer_instance.sv(2);
335
- var tmp_3 = Spacer_instance.sv(2);
336
- var tmp_4 = emit_16(this, _this__u8e3s4.tt_1);
333
+ var tmp_0 = Companion_instance_1.er(_this__u8e3s4.gq_1);
334
+ var tmp_1 = Spacer_instance.hs(2);
335
+ var tmp_2 = Spacer_instance.hs(2);
336
+ var tmp_3 = Spacer_instance.hs(2);
337
+ var tmp_4 = emit_16(this, _this__u8e3s4.iq_1);
337
338
  var tmp_5 = Spacer_instance.toString();
338
- var tmp_6 = toString_0(first(_this__u8e3s4.rt_1));
339
- var tmp_7 = emit_16(this, _this__u8e3s4.tt_1);
340
- var tmp_8 = concatGenerics(emit_16(this, _this__u8e3s4.tt_1));
341
- var tmp_9 = Spacer_instance.sv(2);
342
- var tmp_10 = Companion_instance_1.pu(_this__u8e3s4.rt_1);
343
- var tmp_11 = orNull(joinToString(_this__u8e3s4.st_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_5(this)));
344
- var tmp0_safe_receiver = _this__u8e3s4.tt_1;
339
+ var tmp_6 = toString_0(first(_this__u8e3s4.gq_1));
340
+ var tmp_7 = emit_16(this, _this__u8e3s4.iq_1);
341
+ var tmp_8 = concatGenerics(emit_16(this, _this__u8e3s4.iq_1));
342
+ var tmp_9 = Spacer_instance.hs(2);
343
+ var tmp_10 = Companion_instance_1.er(_this__u8e3s4.gq_1);
344
+ var tmp_11 = orNull(joinToString(_this__u8e3s4.hq_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_5(this)));
345
+ var tmp0_safe_receiver = _this__u8e3s4.iq_1;
345
346
  var tmp_12;
346
347
  if (tmp0_safe_receiver == null) {
347
348
  tmp_12 = null;
@@ -350,67 +351,23 @@ function emit_11(_this__u8e3s4) {
350
351
  tmp_12 = emit_16(this, tmp0_safe_receiver) + ' body';
351
352
  }
352
353
  var tmp_13 = joinToString(listOfNotNull([tmp_11, tmp_12]));
353
- var tmp_14 = Spacer_instance.sv(3);
354
- var tmp_15 = fixStatus(_this__u8e3s4.rt_1);
354
+ var tmp_14 = Spacer_instance.hs(3);
355
+ var tmp_15 = fixStatus(_this__u8e3s4.gq_1);
355
356
  // Inline function 'kotlin.let' call
356
- var tmp_16 = 'new Headers(' + joinToString(_this__u8e3s4.st_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_6(this)) + ')';
357
- var tmp_17 = _this__u8e3s4.tt_1 == null ? 'null' : 'body';
358
- var tmp_18 = Spacer_instance.sv(2);
359
- var tmp_19 = Spacer_instance.sv(1);
360
- return trimMargin('\n |' + tmp + 'record Response' + tmp_0 + '(\n |' + tmp_1 + 'Integer status,\n |' + tmp_2 + 'Headers headers,\n |' + tmp_3 + tmp_4 + ' body\n |' + tmp_5 + ') implements Response' + tmp_6 + 'XX<' + tmp_7 + '>, Response' + tmp_8 + ' {\n |' + tmp_9 + 'public Response' + tmp_10 + '(' + tmp_13 + ') {\n |' + tmp_14 + 'this(' + tmp_15 + ', ' + tmp_16 + ', ' + tmp_17 + ');\n |' + tmp_18 + '}\n |' + tmp_19 + emitObject(this, _this__u8e3s4.st_1, 'Headers', 'Wirespec.Response.Headers', JavaEndpointDefinitionEmitter$emit$lambda_7(this)) + '\n |' + Spacer_instance.toString() + '}\n ');
357
+ var tmp_16 = 'new Headers(' + joinToString(_this__u8e3s4.hq_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_6(this)) + ')';
358
+ var tmp_17 = _this__u8e3s4.iq_1 == null ? 'null' : 'body';
359
+ var tmp_18 = Spacer_instance.hs(2);
360
+ var tmp_19 = Spacer_instance.hs(1);
361
+ return trimMargin('\n |' + tmp + 'record Response' + tmp_0 + '(\n |' + tmp_1 + 'Integer status,\n |' + tmp_2 + 'Headers headers,\n |' + tmp_3 + tmp_4 + ' body\n |' + tmp_5 + ') implements Response' + tmp_6 + 'XX<' + tmp_7 + '>, Response' + tmp_8 + ' {\n |' + tmp_9 + 'public Response' + tmp_10 + '(' + tmp_13 + ') {\n |' + tmp_14 + 'this(' + tmp_15 + ', ' + tmp_16 + ', ' + tmp_17 + ');\n |' + tmp_18 + '}\n |' + tmp_19 + emitObject(this, _this__u8e3s4.hq_1, 'Headers', 'Wirespec.Response.Headers', JavaEndpointDefinitionEmitter$emit$lambda_7(this)) + '\n |' + Spacer_instance.toString() + '}\n ');
361
362
  }
362
363
  initMetadataForInterface(JavaEndpointDefinitionEmitter, 'JavaEndpointDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
363
- function emit_12(refined) {
364
- return trimMargin('\n |public record ' + this.yu(refined.dv_1) + ' (' + this.yt(refined.ev_1) + ' value) implements Wirespec.Refined<' + this.yt(refined.ev_1) + '> {\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() { return value.toString(); }\n |' + Spacer_instance.toString() + 'public Boolean validate() {\n |' + Spacer_instance.toString() + Spacer_instance.toString() + this.mv(refined) + '\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public ' + this.yt(refined.ev_1) + ' value() { return value; }\n |}\n |\n ');
365
- }
366
- function emitValidator(_this__u8e3s4) {
367
- var defaultReturn = 'return true;';
368
- var type = _this__u8e3s4.ev_1.qy_1;
369
- var tmp;
370
- if (type instanceof Integer) {
371
- var tmp0_safe_receiver = type.vx_1;
372
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.zt(tmp0_safe_receiver);
373
- tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
374
- } else {
375
- if (type instanceof Number_0) {
376
- var tmp2_safe_receiver = type.yx_1;
377
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.zt(tmp2_safe_receiver);
378
- tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
379
- } else {
380
- if (type instanceof String_0) {
381
- var tmp4_safe_receiver = type.sx_1;
382
- var tmp_0;
383
- var tmp_1 = tmp4_safe_receiver;
384
- if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
385
- tmp_0 = null;
386
- } else {
387
- tmp_0 = this.zt(new RegExp_0(tmp4_safe_receiver));
388
- }
389
- var tmp5_elvis_lhs = tmp_0;
390
- tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
391
- } else {
392
- if (equals(type, Boolean_instance)) {
393
- tmp = defaultReturn;
394
- } else {
395
- if (equals(type, Bytes_instance)) {
396
- tmp = defaultReturn;
397
- } else {
398
- noWhenBranchMatchedException();
399
- }
400
- }
401
- }
402
- }
403
- }
404
- return tmp;
405
- }
406
- initMetadataForInterface(JavaRefinedTypeDefinitionEmitter, 'JavaRefinedTypeDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
407
- function emit_13(identifier) {
364
+ function emit_12(identifier) {
408
365
  var tmp;
409
366
  if (identifier instanceof DefinitionIdentifier) {
410
- tmp = this.p20(identifier.m1());
367
+ tmp = this.g1x(identifier.l1());
411
368
  } else {
412
369
  if (identifier instanceof FieldIdentifier) {
413
- tmp = this.t20(this.p20(identifier.m1()));
370
+ tmp = this.k1x(this.g1x(identifier.l1()));
414
371
  } else {
415
372
  noWhenBranchMatchedException();
416
373
  }
@@ -428,11 +385,11 @@ function sanitizeSymbol(_this__u8e3s4) {
428
385
  var item = _iterator__ex2g4s.v();
429
386
  var _unary__edvuaz = index;
430
387
  index = _unary__edvuaz + 1 | 0;
431
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.pu(item) : item;
432
- destination.y(tmp$ret$0);
388
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.er(item) : item;
389
+ destination.x(tmp$ret$0);
433
390
  }
434
391
  var tmp = asSequence(joinToString(destination, ''));
435
- return this.s20(joinToString_0(filter(tmp, JavaIdentifierEmitter$sanitizeSymbol$lambda), ''));
392
+ return this.j1x(joinToString_0(filter(tmp, JavaIdentifierEmitter$sanitizeSymbol$lambda), ''));
436
393
  }
437
394
  function sanitizeFirstIsDigit(_this__u8e3s4) {
438
395
  var tmp;
@@ -452,20 +409,64 @@ function sanitizeFirstIsDigit(_this__u8e3s4) {
452
409
  return tmp;
453
410
  }
454
411
  function sanitizeKeywords(_this__u8e3s4) {
455
- return Companion_getInstance_0().v20_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
412
+ return Companion_getInstance_0().m1x_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
456
413
  }
457
414
  initMetadataForInterface(JavaIdentifierEmitter, 'JavaIdentifierEmitter');
458
- function emit_14(enum_0, module_0) {
459
- var tmp = this.yu(enum_0.iv_1);
460
- return trimMargin('\n |public enum ' + tmp + ' implements Wirespec.Enum {\n |' + spacer(joinToString(enum_0.jv_1, ',\n', VOID, VOID, VOID, VOID, JavaEnumDefinitionEmitter$emit$lambda(this))) + ';\n |' + Spacer_instance.toString() + 'public final String label;\n |' + Spacer_instance.toString() + this.yu(enum_0.iv_1) + '(String label) {\n |' + Spacer_instance.sv(2) + 'this.label = label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() {\n |' + Spacer_instance.sv(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String label() {\n |' + Spacer_instance.sv(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
461
- }
462
- initMetadataForInterface(JavaEnumDefinitionEmitter, 'JavaEnumDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
463
- function emit_15(union) {
464
- var tmp = this.yu(union.rs_1);
465
- return trimMargin('\n |public sealed interface ' + tmp + ' permits ' + joinToString(union.ss_1, VOID, VOID, VOID, VOID, VOID, JavaUnionDefinitionEmitter$emit$lambda) + ' {}\n |\n ');
415
+ function emit_13(union) {
416
+ var tmp = this.nr(union.gp_1);
417
+ return trimMargin('\n |public sealed interface ' + tmp + ' permits ' + joinToString(union.hp_1, VOID, VOID, VOID, VOID, VOID, JavaUnionDefinitionEmitter$emit$lambda) + ' {}\n |\n ');
466
418
  }
467
419
  initMetadataForInterface(JavaUnionDefinitionEmitter, 'JavaUnionDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
468
- initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, LanguageEmitter, [JavaTypeDefinitionEmitter, JavaEndpointDefinitionEmitter, JavaRefinedTypeDefinitionEmitter, JavaChannelDefinitionEmitter, JavaEnumDefinitionEmitter, JavaIdentifierEmitter, JavaUnionDefinitionEmitter, LanguageEmitter]);
420
+ function emit_14(refined) {
421
+ return trimMargin('\n |public record ' + this.nr(refined.sr_1) + ' (' + this.nq(refined.tr_1) + ' value) implements Wirespec.Refined<' + this.nq(refined.tr_1) + '> {\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() { return value.toString(); }\n |' + Spacer_instance.toString() + 'public Boolean validate() {\n |' + Spacer_instance.toString() + Spacer_instance.toString() + this.bs(refined) + '\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public ' + this.nq(refined.tr_1) + ' value() { return value; }\n |}\n |\n ');
422
+ }
423
+ function emitValidator(_this__u8e3s4) {
424
+ var defaultReturn = 'return true;';
425
+ var type = _this__u8e3s4.tr_1.fv_1;
426
+ var tmp;
427
+ if (type instanceof Integer) {
428
+ var tmp0_safe_receiver = type.ku_1;
429
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.oq(tmp0_safe_receiver);
430
+ tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
431
+ } else {
432
+ if (type instanceof Number_0) {
433
+ var tmp2_safe_receiver = type.nu_1;
434
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.oq(tmp2_safe_receiver);
435
+ tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
436
+ } else {
437
+ if (type instanceof String_0) {
438
+ var tmp4_safe_receiver = type.hu_1;
439
+ var tmp_0;
440
+ var tmp_1 = tmp4_safe_receiver;
441
+ if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
442
+ tmp_0 = null;
443
+ } else {
444
+ tmp_0 = this.oq(new RegExp_0(tmp4_safe_receiver));
445
+ }
446
+ var tmp5_elvis_lhs = tmp_0;
447
+ tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
448
+ } else {
449
+ if (equals(type, Boolean_instance)) {
450
+ tmp = defaultReturn;
451
+ } else {
452
+ if (equals(type, Bytes_instance)) {
453
+ tmp = defaultReturn;
454
+ } else {
455
+ noWhenBranchMatchedException();
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+ return tmp;
462
+ }
463
+ initMetadataForInterface(JavaRefinedTypeDefinitionEmitter, 'JavaRefinedTypeDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
464
+ function emit_15(enum_0, module_0) {
465
+ var tmp = this.nr(enum_0.xr_1);
466
+ return trimMargin('\n |public enum ' + tmp + ' implements Wirespec.Enum {\n |' + spacer(joinToString(enum_0.yr_1, ',\n', VOID, VOID, VOID, VOID, JavaEnumDefinitionEmitter$emit$lambda(this))) + ';\n |' + Spacer_instance.toString() + 'public final String label;\n |' + Spacer_instance.toString() + this.nr(enum_0.xr_1) + '(String label) {\n |' + Spacer_instance.hs(2) + 'this.label = label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() {\n |' + Spacer_instance.hs(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String label() {\n |' + Spacer_instance.hs(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
467
+ }
468
+ initMetadataForInterface(JavaEnumDefinitionEmitter, 'JavaEnumDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
469
+ initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, LanguageEmitter, [JavaEndpointDefinitionEmitter, JavaChannelDefinitionEmitter, JavaUnionDefinitionEmitter, JavaRefinedTypeDefinitionEmitter, JavaTypeDefinitionEmitter, JavaIdentifierEmitter, JavaEnumDefinitionEmitter, LanguageEmitter]);
469
470
  initMetadataForCompanion(Companion);
470
471
  initMetadataForCompanion(Companion_0);
471
472
  initMetadataForClass(JavaIrEmitter, 'JavaIrEmitter', JavaIrEmitter, VOID, [IrEmitter]);
@@ -479,8 +480,8 @@ function emitImports($this, _this__u8e3s4) {
479
480
  var _iterator__ex2g4s = tmp0.t();
480
481
  while (_iterator__ex2g4s.u()) {
481
482
  var element = _iterator__ex2g4s.v();
482
- if (!(_this__u8e3s4.xu().m1() === element.my_1)) {
483
- destination.y(element);
483
+ if (!(_this__u8e3s4.mr().l1() === element.bv_1)) {
484
+ destination.x(element);
484
485
  }
485
486
  }
486
487
  // Inline function 'kotlin.collections.map' call
@@ -489,16 +490,16 @@ function emitImports($this, _this__u8e3s4) {
489
490
  var _iterator__ex2g4s_0 = destination.t();
490
491
  while (_iterator__ex2g4s_0.u()) {
491
492
  var item = _iterator__ex2g4s_0.v();
492
- var tmp$ret$3 = 'import ' + $this.d20().ov_1 + '.model.' + item.my_1 + ';';
493
- destination_0.y(tmp$ret$3);
493
+ var tmp$ret$3 = 'import ' + $this.u1w().ds_1 + '.model.' + item.bv_1 + ';';
494
+ destination_0.x(tmp$ret$3);
494
495
  }
495
496
  var tmp = destination_0;
496
497
  return joinToString(tmp, '\n', VOID, VOID, VOID, VOID, JavaChannelDefinitionEmitter$emitImports$lambda);
497
498
  }
498
499
  function emitFullyQualified($this, _this__u8e3s4, reference) {
499
500
  var tmp;
500
- if (_this__u8e3s4.xu().m1() === reference.m1()) {
501
- tmp = $this.d20().ov_1 + '.model.';
501
+ if (_this__u8e3s4.mr().l1() === reference.l1()) {
502
+ tmp = $this.u1w().ds_1 + '.model.';
502
503
  } else {
503
504
  tmp = '';
504
505
  }
@@ -511,49 +512,49 @@ function JavaChannelDefinitionEmitter$emitImports$lambda(it) {
511
512
  function JavaChannelDefinitionEmitter() {
512
513
  }
513
514
  function JavaEmitter(packageName, emitShared) {
514
- packageName = packageName === VOID ? Companion_instance.nv('community.flock.wirespec.generated') : packageName;
515
- emitShared = emitShared === VOID ? Companion_instance_0.hs() : emitShared;
515
+ packageName = packageName === VOID ? Companion_instance.cs('community.flock.wirespec.generated') : packageName;
516
+ emitShared = emitShared === VOID ? Companion_instance_0.wo() : emitShared;
516
517
  LanguageEmitter.call(this);
517
- this.g20_1 = packageName;
518
- this.h20_1 = emitShared;
519
- this.i20_1 = '\nimport community.flock.wirespec.java.Wirespec;\n';
520
- this.j20_1 = FileExtension_Java_getInstance();
521
- this.k20_1 = JavaShared_getInstance();
522
- this.l20_1 = '//';
523
- }
524
- protoOf(JavaEmitter).d20 = function () {
525
- return this.g20_1;
518
+ this.x1w_1 = packageName;
519
+ this.y1w_1 = emitShared;
520
+ this.z1w_1 = '\nimport community.flock.wirespec.java.Wirespec;\n';
521
+ this.a1x_1 = FileExtension_Java_getInstance();
522
+ this.b1x_1 = JavaShared_getInstance();
523
+ this.c1x_1 = '//';
524
+ }
525
+ protoOf(JavaEmitter).u1w = function () {
526
+ return this.x1w_1;
526
527
  };
527
- protoOf(JavaEmitter).fu = function () {
528
- return this.j20_1;
528
+ protoOf(JavaEmitter).uq = function () {
529
+ return this.a1x_1;
529
530
  };
530
- protoOf(JavaEmitter).m20 = function () {
531
- return this.k20_1;
531
+ protoOf(JavaEmitter).d1x = function () {
532
+ return this.b1x_1;
532
533
  };
533
- protoOf(JavaEmitter).gu = function () {
534
- return this.l20_1;
534
+ protoOf(JavaEmitter).vq = function () {
535
+ return this.c1x_1;
535
536
  };
536
- protoOf(JavaEmitter).vu = function (module_0, logger) {
537
+ protoOf(JavaEmitter).kr = function (module_0, logger) {
537
538
  // Inline function 'kotlin.let' call
538
- var it = protoOf(LanguageEmitter).vu.call(this, module_0, logger);
539
- return this.h20_1.is_1 ? NonEmptyList__plus_impl_xqmb9(it, new Emitted(Companion_instance.nv('community.flock.wirespec.java').qv() + 'Wirespec', this.m20().o20_1)) : it;
539
+ var it = protoOf(LanguageEmitter).kr.call(this, module_0, logger);
540
+ return this.y1w_1.xo_1 ? NonEmptyList__plus_impl_xqmb9(it, new Emitted(Companion_instance.cs('community.flock.wirespec.java').fs() + 'Wirespec', this.d1x().f1x_1)) : it;
540
541
  };
541
- protoOf(JavaEmitter).wu = function (definition, module_0, logger) {
542
+ protoOf(JavaEmitter).lr = function (definition, module_0, logger) {
542
543
  // Inline function 'kotlin.let' call
543
- var it = protoOf(LanguageEmitter).wu.call(this, definition, module_0, logger);
544
- var subPackageName = plus(this.d20(), definition);
545
- var tmp = subPackageName.qv() + this.p20(it.js_1);
544
+ var it = protoOf(LanguageEmitter).lr.call(this, definition, module_0, logger);
545
+ var subPackageName = plus(this.u1w(), definition);
546
+ var tmp = subPackageName.fs() + this.g1x(it.yo_1);
546
547
  // Inline function 'kotlin.text.trimStart' call
547
- var this_0 = trimMargin('\n |package ' + subPackageName.toString() + ';\n |' + (Companion_instance_1.ru(module_0) ? this.i20_1 : '') + '\n |' + it.ks_1 + '\n ');
548
+ var this_0 = trimMargin('\n |package ' + subPackageName.toString() + ';\n |' + (Companion_instance_1.gr(module_0) ? this.z1w_1 : '') + '\n |' + it.zo_1 + '\n ');
548
549
  var tmp$ret$0 = toString(trimStart(isCharSequence(this_0) ? this_0 : THROW_CCE()));
549
550
  return new Emitted(tmp, tmp$ret$0);
550
551
  };
551
552
  function emitGetType($this, _this__u8e3s4) {
552
- return 'Wirespec.getType(' + $this.f20(_this__u8e3s4, 'Void') + '.class, ' + emitGetTypeRaw($this, _this__u8e3s4) + ')';
553
+ return 'Wirespec.getType(' + $this.w1w(_this__u8e3s4, 'Void') + '.class, ' + emitGetTypeRaw($this, _this__u8e3s4) + ')';
553
554
  }
554
555
  function emitGetTypeRaw($this, _this__u8e3s4) {
555
556
  var tmp;
556
- var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.ey();
557
+ var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.tu();
557
558
  if (tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs) {
558
559
  tmp = 'java.util.Optional.class';
559
560
  } else {
@@ -568,9 +569,9 @@ function emitGetTypeRaw($this, _this__u8e3s4) {
568
569
  function emitConstructor($this, _this__u8e3s4, endpoint) {
569
570
  var tmp = get_pathParams(endpoint);
570
571
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda($this)));
571
- var tmp_1 = orNull(joinToString(endpoint.it_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_0($this)));
572
- var tmp_2 = orNull(joinToString(endpoint.jt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_1($this)));
573
- var tmp0_safe_receiver = _this__u8e3s4.ot_1;
572
+ var tmp_1 = orNull(joinToString(endpoint.xp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_0($this)));
573
+ var tmp_2 = orNull(joinToString(endpoint.yp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_1($this)));
574
+ var tmp0_safe_receiver = _this__u8e3s4.dq_1;
574
575
  var tmp_3;
575
576
  if (tmp0_safe_receiver == null) {
576
577
  tmp_3 = null;
@@ -579,112 +580,112 @@ function emitConstructor($this, _this__u8e3s4, endpoint) {
579
580
  tmp_3 = emit_16($this, tmp0_safe_receiver) + ' body';
580
581
  }
581
582
  var tmp_4 = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]));
582
- var tmp_5 = Spacer_instance.sv(3);
583
+ var tmp_5 = Spacer_instance.hs(3);
583
584
  var tmp_6 = get_pathParams(endpoint);
584
585
  // Inline function 'kotlin.let' call
585
586
  var tmp$ret$3 = 'new Path(' + joinToString(tmp_6, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_2($this)) + ')';
586
587
  var tmp1_elvis_lhs = orNull(tmp$ret$3);
587
588
  var tmp_7 = tmp1_elvis_lhs == null ? 'new Path()' : tmp1_elvis_lhs;
588
- var tmp_8 = 'Wirespec.Method.' + endpoint.gt_1.b3_1;
589
+ var tmp_8 = 'Wirespec.Method.' + endpoint.vp_1.a3_1;
589
590
  // Inline function 'kotlin.let' call
590
- var tmp$ret$5 = 'new Queries(' + joinToString(endpoint.it_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_3($this)) + ')';
591
+ var tmp$ret$5 = 'new Queries(' + joinToString(endpoint.xp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_3($this)) + ')';
591
592
  var tmp2_elvis_lhs = orNull(tmp$ret$5);
592
593
  var tmp_9 = tmp2_elvis_lhs == null ? 'new Queries()' : tmp2_elvis_lhs;
593
594
  // Inline function 'kotlin.let' call
594
- var tmp$ret$7 = 'new RequestHeaders(' + joinToString(endpoint.jt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_4($this)) + ')';
595
+ var tmp$ret$7 = 'new RequestHeaders(' + joinToString(endpoint.yp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_4($this)) + ')';
595
596
  var tmp3_elvis_lhs = orNull(tmp$ret$7);
596
597
  var tmp_10 = tmp3_elvis_lhs == null ? 'new RequestHeaders()' : tmp3_elvis_lhs;
597
598
  var tmp_11;
598
- if (_this__u8e3s4.ot_1 == null) {
599
+ if (_this__u8e3s4.dq_1 == null) {
599
600
  tmp_11 = null;
600
601
  } else {
601
602
  // Inline function 'kotlin.let' call
602
603
  tmp_11 = 'body';
603
604
  }
604
605
  var tmp5_elvis_lhs = tmp_11;
605
- return 'public Request(' + tmp_4 + ') {\n' + tmp_5 + 'this(' + joinToString(listOfNotNull([tmp_7, tmp_8, tmp_9, tmp_10, tmp5_elvis_lhs == null ? 'null' : tmp5_elvis_lhs])) + ');\n' + Spacer_instance.sv(2) + '}';
606
+ return 'public Request(' + tmp_4 + ') {\n' + tmp_5 + 'this(' + joinToString(listOfNotNull([tmp_7, tmp_8, tmp_9, tmp_10, tmp5_elvis_lhs == null ? 'null' : tmp5_elvis_lhs])) + ');\n' + Spacer_instance.hs(2) + '}';
606
607
  }
607
608
  function emitDeserializedParams($this, _this__u8e3s4, endpoint) {
608
609
  var tmp = get_indexedPathParams(endpoint);
609
610
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda($this)));
610
- var tmp_1 = orNull(joinToString(endpoint.it_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
611
- var tmp_2 = orNull(joinToString(endpoint.jt_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
612
- var tmp0_safe_receiver = _this__u8e3s4.ot_1;
611
+ var tmp_1 = orNull(joinToString(endpoint.xp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
612
+ var tmp_2 = orNull(joinToString(endpoint.yp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
613
+ var tmp0_safe_receiver = _this__u8e3s4.dq_1;
613
614
  var tmp_3;
614
615
  if (tmp0_safe_receiver == null) {
615
616
  tmp_3 = null;
616
617
  } else {
617
618
  // Inline function 'kotlin.let' call
618
- tmp_3 = Spacer_instance.sv(4) + 'request.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.qt_1) + ')).orElse(null)';
619
+ tmp_3 = Spacer_instance.hs(4) + 'request.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.fq_1) + ')).orElse(null)';
619
620
  }
620
621
  // Inline function 'kotlin.let' call
621
622
  var it = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]), ',\n');
622
- return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.sv(3);
623
+ return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.hs(3);
623
624
  }
624
625
  function emitDeserializedParams_0($this, _this__u8e3s4) {
625
- var tmp = orNull(joinToString(_this__u8e3s4.st_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2($this)));
626
- var tmp0_safe_receiver = _this__u8e3s4.tt_1;
626
+ var tmp = orNull(joinToString(_this__u8e3s4.hq_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2($this)));
627
+ var tmp0_safe_receiver = _this__u8e3s4.iq_1;
627
628
  var tmp_0;
628
629
  if (tmp0_safe_receiver == null) {
629
630
  tmp_0 = null;
630
631
  } else {
631
632
  // Inline function 'kotlin.let' call
632
- tmp_0 = Spacer_instance.sv(5) + 'response.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.qt_1) + ')).orElse(null)';
633
+ tmp_0 = Spacer_instance.hs(5) + 'response.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.fq_1) + ')).orElse(null)';
633
634
  }
634
635
  // Inline function 'kotlin.let' call
635
636
  var it = joinToString(listOfNotNull([tmp, tmp_0]), ',\n');
636
- return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.sv(4);
637
+ return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.hs(4);
637
638
  }
638
639
  function emitSerialized($this, _this__u8e3s4) {
639
640
  var tmp;
640
- if (!(_this__u8e3s4.tt_1 == null)) {
641
- tmp = 'java.util.Optional.ofNullable(serialization.serializeBody(r.body, ' + emitGetType($this, ensureNotNull(_this__u8e3s4.tt_1).qt_1) + '))';
641
+ if (!(_this__u8e3s4.iq_1 == null)) {
642
+ tmp = 'java.util.Optional.ofNullable(serialization.serializeBody(r.body, ' + emitGetType($this, ensureNotNull(_this__u8e3s4.iq_1).fq_1) + '))';
642
643
  } else {
643
644
  tmp = 'java.util.Optional.empty()';
644
645
  }
645
646
  var body = tmp;
646
647
  var tmp_0;
647
648
  // Inline function 'kotlin.collections.isNotEmpty' call
648
- if (!_this__u8e3s4.st_1.r()) {
649
- tmp_0 = 'java.util.Map.ofEntries(' + joinToString(_this__u8e3s4.st_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitSerialized$lambda($this)) + ')';
649
+ if (!_this__u8e3s4.hq_1.r()) {
650
+ tmp_0 = 'java.util.Map.ofEntries(' + joinToString(_this__u8e3s4.hq_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitSerialized$lambda($this)) + ')';
650
651
  } else {
651
652
  tmp_0 = 'java.util.Collections.emptyMap()';
652
653
  }
653
654
  var headers = tmp_0;
654
- return Spacer_instance.sv(3) + 'if (response instanceof Response' + Companion_instance_1.pu(_this__u8e3s4.rt_1) + ' r) { return new Wirespec.RawResponse(r.status(), ' + headers + ', ' + body + '); }';
655
+ return Spacer_instance.hs(3) + 'if (response instanceof Response' + Companion_instance_1.er(_this__u8e3s4.gq_1) + ' r) { return new Wirespec.RawResponse(r.status(), ' + headers + ', ' + body + '); }';
655
656
  }
656
657
  function emitDeserialized($this, _this__u8e3s4) {
657
- return Spacer_instance.sv(4) + 'case ' + _this__u8e3s4.rt_1 + ' -> new Response' + Companion_instance_1.pu(_this__u8e3s4.rt_1) + '(' + emitDeserializedParams_0($this, _this__u8e3s4) + ');';
658
+ return Spacer_instance.hs(4) + 'case ' + _this__u8e3s4.gq_1 + ' -> new Response' + Companion_instance_1.er(_this__u8e3s4.gq_1) + '(' + emitDeserializedParams_0($this, _this__u8e3s4) + ');';
658
659
  }
659
660
  function emitSerializedParams($this, _this__u8e3s4, fields) {
660
- return 'java.util.Map.entry("' + _this__u8e3s4.bt_1.m1() + '", serialization.serializeParam(request.' + (fields === 'queries' ? 'queries' : 'headers') + '().' + $this.yu(_this__u8e3s4.bt_1) + '(), ' + emitGetType($this, _this__u8e3s4.ct_1) + '))';
661
+ return 'java.util.Map.entry("' + _this__u8e3s4.qp_1.l1() + '", serialization.serializeParam(request.' + (fields === 'queries' ? 'queries' : 'headers') + '().' + $this.nr(_this__u8e3s4.qp_1) + '(), ' + emitGetType($this, _this__u8e3s4.rp_1) + '))';
661
662
  }
662
663
  function emitDeserialized_0($this, _this__u8e3s4) {
663
- return Spacer_instance.sv(4) + 'serialization.deserializePath(request.path().get(' + _this__u8e3s4.kf_1 + '), ' + emitGetType($this, _this__u8e3s4.lf_1.nt_1) + ')';
664
+ return Spacer_instance.hs(4) + 'serialization.deserializePath(request.path().get(' + _this__u8e3s4.te_1 + '), ' + emitGetType($this, _this__u8e3s4.ue_1.cq_1) + ')';
664
665
  }
665
666
  function emitDeserializedParams_1($this, _this__u8e3s4, fields, caseSensitive) {
666
667
  var tmp;
667
668
  if (caseSensitive) {
668
- tmp = 'request.' + fields + '().getOrDefault("' + _this__u8e3s4.bt_1.m1() + '", java.util.Collections.emptyList())';
669
+ tmp = 'request.' + fields + '().getOrDefault("' + _this__u8e3s4.qp_1.l1() + '", java.util.Collections.emptyList())';
669
670
  } else {
670
- tmp = 'request.' + fields + '().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + _this__u8e3s4.bt_1.m1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList())';
671
+ tmp = 'request.' + fields + '().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + _this__u8e3s4.qp_1.l1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList())';
671
672
  }
672
673
  var valuesFromField = tmp;
673
- return Spacer_instance.sv(4) + 'serialization.<' + $this.yt(_this__u8e3s4.ct_1) + '>deserializeParam(' + valuesFromField + ', ' + emitGetType($this, _this__u8e3s4.ct_1) + ')';
674
+ return Spacer_instance.hs(4) + 'serialization.<' + $this.nq(_this__u8e3s4.rp_1) + '>deserializeParam(' + valuesFromField + ', ' + emitGetType($this, _this__u8e3s4.rp_1) + ')';
674
675
  }
675
676
  function emitSerializedHeader($this, _this__u8e3s4) {
676
- return 'java.util.Map.entry("' + _this__u8e3s4.bt_1.m1() + '", serialization.<' + $this.yt(_this__u8e3s4.ct_1) + '>serializeParam(r.headers().' + $this.yu(_this__u8e3s4.bt_1) + '(), ' + emitGetType($this, _this__u8e3s4.ct_1) + '))';
677
+ return 'java.util.Map.entry("' + _this__u8e3s4.qp_1.l1() + '", serialization.<' + $this.nq(_this__u8e3s4.rp_1) + '>serializeParam(r.headers().' + $this.nr(_this__u8e3s4.qp_1) + '(), ' + emitGetType($this, _this__u8e3s4.rp_1) + '))';
677
678
  }
678
679
  function emitIdentifier($this, _this__u8e3s4) {
679
- return 'serialization.serializePath(request.path().' + Companion_instance_1.qu($this.yu(_this__u8e3s4.mt_1)) + '(), ' + emitGetType($this, _this__u8e3s4.nt_1) + ')';
680
+ return 'serialization.serializePath(request.path().' + Companion_instance_1.fr($this.nr(_this__u8e3s4.bq_1)) + '(), ' + emitGetType($this, _this__u8e3s4.cq_1) + ')';
680
681
  }
681
682
  function emit_16($this, _this__u8e3s4) {
682
- var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.qt_1;
683
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.yt(tmp1_safe_receiver);
683
+ var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.fq_1;
684
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.nq(tmp1_safe_receiver);
684
685
  return tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
685
686
  }
686
687
  function emit_17($this, _this__u8e3s4) {
687
- return $this.yt(_this__u8e3s4.nt_1) + ' ' + $this.yu(_this__u8e3s4.mt_1);
688
+ return $this.nq(_this__u8e3s4.cq_1) + ' ' + $this.nr(_this__u8e3s4.bq_1);
688
689
  }
689
690
  function emitImports_0($this, _this__u8e3s4) {
690
691
  // Inline function 'kotlin.collections.filter' call
@@ -694,8 +695,8 @@ function emitImports_0($this, _this__u8e3s4) {
694
695
  var _iterator__ex2g4s = tmp0.t();
695
696
  while (_iterator__ex2g4s.u()) {
696
697
  var element = _iterator__ex2g4s.v();
697
- if (!(_this__u8e3s4.xu().m1() === element.my_1)) {
698
- destination.y(element);
698
+ if (!(_this__u8e3s4.mr().l1() === element.bv_1)) {
699
+ destination.x(element);
699
700
  }
700
701
  }
701
702
  // Inline function 'kotlin.collections.map' call
@@ -704,46 +705,46 @@ function emitImports_0($this, _this__u8e3s4) {
704
705
  var _iterator__ex2g4s_0 = destination.t();
705
706
  while (_iterator__ex2g4s_0.u()) {
706
707
  var item = _iterator__ex2g4s_0.v();
707
- var tmp$ret$3 = 'import ' + $this.d20().ov_1 + '.model.' + item.my_1 + ';';
708
- destination_0.y(tmp$ret$3);
708
+ var tmp$ret$3 = 'import ' + $this.u1w().ds_1 + '.model.' + item.bv_1 + ';';
709
+ destination_0.x(tmp$ret$3);
709
710
  }
710
711
  var tmp = destination_0;
711
712
  return joinToString(tmp, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitImports$lambda);
712
713
  }
713
714
  function emitRequestFunctions($this, _this__u8e3s4, endpoint) {
714
- var tmp = Spacer_instance.sv(2);
715
- var tmp_0 = Spacer_instance.sv(3);
716
- var tmp_1 = Spacer_instance.sv(4);
717
- var tmp_2 = Spacer_instance.sv(4);
718
- var tmp_3 = joinToString(endpoint.ht_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda($this));
719
- var tmp_4 = Spacer_instance.sv(4);
715
+ var tmp = Spacer_instance.hs(2);
716
+ var tmp_0 = Spacer_instance.hs(3);
717
+ var tmp_1 = Spacer_instance.hs(4);
718
+ var tmp_2 = Spacer_instance.hs(4);
719
+ var tmp_3 = joinToString(endpoint.wp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda($this));
720
+ var tmp_4 = Spacer_instance.hs(4);
720
721
  var tmp_5;
721
722
  // Inline function 'kotlin.collections.isNotEmpty' call
722
- if (!endpoint.it_1.r()) {
723
- tmp_5 = 'java.util.Map.ofEntries(' + joinToString(endpoint.it_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_0($this)) + ')';
723
+ if (!endpoint.xp_1.r()) {
724
+ tmp_5 = 'java.util.Map.ofEntries(' + joinToString(endpoint.xp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_0($this)) + ')';
724
725
  } else {
725
726
  tmp_5 = 'java.util.Collections.emptyMap()';
726
727
  }
727
728
  var tmp_6 = tmp_5;
728
- var tmp_7 = Spacer_instance.sv(4);
729
+ var tmp_7 = Spacer_instance.hs(4);
729
730
  var tmp_8;
730
731
  // Inline function 'kotlin.collections.isNotEmpty' call
731
- if (!endpoint.jt_1.r()) {
732
- tmp_8 = 'java.util.Map.ofEntries(' + joinToString(endpoint.jt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1($this)) + ')';
732
+ if (!endpoint.yp_1.r()) {
733
+ tmp_8 = 'java.util.Map.ofEntries(' + joinToString(endpoint.yp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1($this)) + ')';
733
734
  } else {
734
735
  tmp_8 = 'java.util.Collections.emptyMap()';
735
736
  }
736
737
  var tmp_9 = tmp_8;
737
- var tmp_10 = Spacer_instance.sv(4);
738
+ var tmp_10 = Spacer_instance.hs(4);
738
739
  var tmp_11;
739
- if (!(_this__u8e3s4.ot_1 == null)) {
740
- var tmp0_safe_receiver = _this__u8e3s4.ot_1;
741
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qt_1;
740
+ if (!(_this__u8e3s4.dq_1 == null)) {
741
+ var tmp0_safe_receiver = _this__u8e3s4.dq_1;
742
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fq_1;
742
743
  tmp_11 = 'java.util.Optional.ofNullable(serialization.serializeBody(request.body(), ' + (tmp1_safe_receiver == null ? null : emitGetType($this, tmp1_safe_receiver)) + '))';
743
744
  } else {
744
745
  tmp_11 = 'java.util.Optional.empty()';
745
746
  }
746
- return trimMargin('\n |' + tmp + 'static Wirespec.RawRequest toRequest(Wirespec.Serializer serialization, Request request) {\n |' + tmp_0 + 'return new Wirespec.RawRequest(\n |' + tmp_1 + 'request.method().name(),\n |' + tmp_2 + 'java.util.List.of(' + tmp_3 + '),\n |' + tmp_4 + tmp_6 + ',\n |' + tmp_7 + tmp_9 + ',\n |' + tmp_10 + tmp_11 + '\n |' + Spacer_instance.sv(3) + ');\n |' + Spacer_instance.sv(2) + '}\n |\n |' + Spacer_instance.sv(2) + 'static Request fromRequest(Wirespec.Deserializer serialization, Wirespec.RawRequest request) {\n |' + Spacer_instance.sv(3) + 'return new Request(' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + ');\n |' + Spacer_instance.sv(2) + '}\n ');
747
+ return trimMargin('\n |' + tmp + 'static Wirespec.RawRequest toRequest(Wirespec.Serializer serialization, Request request) {\n |' + tmp_0 + 'return new Wirespec.RawRequest(\n |' + tmp_1 + 'request.method().name(),\n |' + tmp_2 + 'java.util.List.of(' + tmp_3 + '),\n |' + tmp_4 + tmp_6 + ',\n |' + tmp_7 + tmp_9 + ',\n |' + tmp_10 + tmp_11 + '\n |' + Spacer_instance.hs(3) + ');\n |' + Spacer_instance.hs(2) + '}\n |\n |' + Spacer_instance.hs(2) + 'static Request fromRequest(Wirespec.Deserializer serialization, Wirespec.RawRequest request) {\n |' + Spacer_instance.hs(3) + 'return new Request(' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + ');\n |' + Spacer_instance.hs(2) + '}\n ');
747
748
  }
748
749
  function emitObject($this, _this__u8e3s4, name, extends_0, block) {
749
750
  var tmp;
@@ -757,54 +758,54 @@ function emitObject($this, _this__u8e3s4, name, extends_0, block) {
757
758
  }
758
759
  function emitResponseInterfaces($this, _this__u8e3s4) {
759
760
  // Inline function 'kotlin.collections.map' call
760
- var this_0 = distinctByStatus(_this__u8e3s4.lt_1);
761
+ var this_0 = distinctByStatus(_this__u8e3s4.aq_1);
761
762
  // Inline function 'kotlin.collections.mapTo' call
762
763
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
763
764
  var _iterator__ex2g4s = this_0.t();
764
765
  while (_iterator__ex2g4s.u()) {
765
766
  var item = _iterator__ex2g4s.v();
766
- var tmp$ret$0 = emit_16($this, item.tt_1);
767
- destination.y(tmp$ret$0);
767
+ var tmp$ret$0 = emit_16($this, item.iq_1);
768
+ destination.x(tmp$ret$0);
768
769
  }
769
770
  var tmp = distinct(destination);
770
771
  return joinToString(tmp, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitResponseInterfaces$lambda);
771
772
  }
772
773
  function emitStatusInterfaces($this, _this__u8e3s4) {
773
774
  // Inline function 'kotlin.collections.map' call
774
- var this_0 = _this__u8e3s4.lt_1;
775
+ var this_0 = _this__u8e3s4.aq_1;
775
776
  // Inline function 'kotlin.collections.mapTo' call
776
777
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
777
778
  var _iterator__ex2g4s = this_0.t();
778
779
  while (_iterator__ex2g4s.u()) {
779
780
  var item = _iterator__ex2g4s.v();
780
- var tmp$ret$0 = new Char(first(item.rt_1));
781
- destination.y(tmp$ret$0);
781
+ var tmp$ret$0 = new Char(first(item.gq_1));
782
+ destination.x(tmp$ret$0);
782
783
  }
783
784
  var tmp = distinct(destination);
784
785
  return joinToString(tmp, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitStatusInterfaces$lambda);
785
786
  }
786
787
  function emitFromResponse($this, _this__u8e3s4) {
787
788
  // Inline function 'kotlin.collections.filter' call
788
- var tmp0 = distinctByStatus(_this__u8e3s4.lt_1);
789
+ var tmp0 = distinctByStatus(_this__u8e3s4.aq_1);
789
790
  // Inline function 'kotlin.collections.filterTo' call
790
791
  var destination = ArrayList_init_$Create$();
791
792
  var _iterator__ex2g4s = tmp0.t();
792
793
  while (_iterator__ex2g4s.u()) {
793
794
  var element = _iterator__ex2g4s.v();
794
- if (Companion_instance_1.tu(element.rt_1)) {
795
- destination.y(element);
795
+ if (Companion_instance_1.ir(element.gq_1)) {
796
+ destination.x(element);
796
797
  }
797
798
  }
798
799
  var statusResponses = destination;
799
800
  var tmp;
800
801
  if (statusResponses.r()) {
801
- tmp = trimMargin('\n |' + Spacer_instance.sv(3) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n ');
802
- } else if (statusResponses.b1() === 1) {
802
+ tmp = trimMargin('\n |' + Spacer_instance.hs(3) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n ');
803
+ } else if (statusResponses.a1() === 1) {
803
804
  var response = first_0(statusResponses);
804
- tmp = trimMargin('\n |' + Spacer_instance.sv(3) + 'if (response.statusCode() == ' + response.rt_1 + ') {\n |' + Spacer_instance.sv(4) + 'return new Response' + Companion_instance_1.pu(response.rt_1) + '(' + emitDeserializedParams_0($this, response) + ');\n |' + Spacer_instance.sv(3) + '} else {\n |' + Spacer_instance.sv(4) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.sv(3) + '}\n ');
805
+ tmp = trimMargin('\n |' + Spacer_instance.hs(3) + 'if (response.statusCode() == ' + response.gq_1 + ') {\n |' + Spacer_instance.hs(4) + 'return new Response' + Companion_instance_1.er(response.gq_1) + '(' + emitDeserializedParams_0($this, response) + ');\n |' + Spacer_instance.hs(3) + '} else {\n |' + Spacer_instance.hs(4) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.hs(3) + '}\n ');
805
806
  } else {
806
- var tmp_0 = Spacer_instance.sv(3);
807
- tmp = trimMargin('\n |' + tmp_0 + 'return switch (response.statusCode()) {\n |' + joinToString(statusResponses, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitFromResponse$lambda($this)) + '\n |' + Spacer_instance.sv(4) + 'default -> throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.sv(3) + '};\n ');
807
+ var tmp_0 = Spacer_instance.hs(3);
808
+ tmp = trimMargin('\n |' + tmp_0 + 'return switch (response.statusCode()) {\n |' + joinToString(statusResponses, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitFromResponse$lambda($this)) + '\n |' + Spacer_instance.hs(4) + 'default -> throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.hs(3) + '};\n ');
808
809
  }
809
810
  return tmp;
810
811
  }
@@ -815,17 +816,17 @@ function JavaEndpointDefinitionEmitter$emit$lambda(this$0) {
815
816
  }
816
817
  function JavaEndpointDefinitionEmitter$emit$lambda_0(this$0) {
817
818
  return function (it) {
818
- return this$0.xt(it);
819
+ return this$0.mq(it);
819
820
  };
820
821
  }
821
822
  function JavaEndpointDefinitionEmitter$emit$lambda_1(this$0) {
822
823
  return function (it) {
823
- return this$0.xt(it);
824
+ return this$0.mq(it);
824
825
  };
825
826
  }
826
827
  function JavaEndpointDefinitionEmitter$emit$lambda_2(this$0) {
827
828
  return function (it) {
828
- return this$0.r20(it);
829
+ return this$0.i1x(it);
829
830
  };
830
831
  }
831
832
  function JavaEndpointDefinitionEmitter$emit$lambda_3(this$0) {
@@ -843,27 +844,27 @@ function JavaEndpointDefinitionEmitter$emitConstructor$lambda(this$0) {
843
844
  }
844
845
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_0(this$0) {
845
846
  return function (it) {
846
- return this$0.xt(it);
847
+ return this$0.mq(it);
847
848
  };
848
849
  }
849
850
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_1(this$0) {
850
851
  return function (it) {
851
- return this$0.xt(it);
852
+ return this$0.mq(it);
852
853
  };
853
854
  }
854
855
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_2(this$0) {
855
856
  return function (it) {
856
- return this$0.yu(it.mt_1);
857
+ return this$0.nr(it.bq_1);
857
858
  };
858
859
  }
859
860
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_3(this$0) {
860
861
  return function (it) {
861
- return this$0.yu(it.bt_1);
862
+ return this$0.nr(it.qp_1);
862
863
  };
863
864
  }
864
865
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_4(this$0) {
865
866
  return function (it) {
866
- return this$0.yu(it.bt_1);
867
+ return this$0.nr(it.qp_1);
867
868
  };
868
869
  }
869
870
  function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda(this$0) {
@@ -883,22 +884,22 @@ function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1(this$0) {
883
884
  }
884
885
  function JavaEndpointDefinitionEmitter$emit$lambda_5(this$0) {
885
886
  return function (it) {
886
- return this$0.xt(it);
887
+ return this$0.mq(it);
887
888
  };
888
889
  }
889
890
  function JavaEndpointDefinitionEmitter$emit$lambda_6(this$0) {
890
891
  return function (it) {
891
- return this$0.yu(it.bt_1);
892
+ return this$0.nr(it.qp_1);
892
893
  };
893
894
  }
894
895
  function JavaEndpointDefinitionEmitter$emit$lambda_7(this$0) {
895
896
  return function (it) {
896
- return this$0.xt(it);
897
+ return this$0.mq(it);
897
898
  };
898
899
  }
899
900
  function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2(this$0) {
900
901
  return function (it) {
901
- return Spacer_instance.sv(5) + 'serialization.<' + this$0.yt(it.ct_1) + '>deserializeParam(response.headers().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + it.bt_1.m1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList()), ' + emitGetType(this$0, it.ct_1) + ')';
902
+ return Spacer_instance.hs(5) + 'serialization.<' + this$0.nq(it.rp_1) + '>deserializeParam(response.headers().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + it.qp_1.l1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList()), ' + emitGetType(this$0, it.rp_1) + ')';
902
903
  };
903
904
  }
904
905
  function JavaEndpointDefinitionEmitter$emitSerialized$lambda(this$0) {
@@ -914,7 +915,7 @@ function JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda(this$0) {
914
915
  return function (it) {
915
916
  var tmp;
916
917
  if (it instanceof Literal) {
917
- tmp = '"' + it.iu_1 + '"';
918
+ tmp = '"' + it.xq_1 + '"';
918
919
  } else {
919
920
  if (it instanceof Param) {
920
921
  tmp = emitIdentifier(this$0, it);
@@ -937,14 +938,14 @@ function JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1(this$0) {
937
938
  }
938
939
  function JavaEndpointDefinitionEmitter$emitObject$lambda($block) {
939
940
  return function (it) {
940
- return Spacer_instance.sv(2) + $block(it);
941
+ return Spacer_instance.hs(2) + $block(it);
941
942
  };
942
943
  }
943
944
  function JavaEndpointDefinitionEmitter$emitResponseInterfaces$lambda(it) {
944
945
  return Spacer_instance.toString() + 'sealed interface Response' + concatGenerics(it) + ' extends Response<' + it + '> {}';
945
946
  }
946
947
  function JavaEndpointDefinitionEmitter$emitStatusInterfaces$lambda(it) {
947
- return Spacer_instance.toString() + 'sealed interface Response' + toString_0(it.i1_1) + 'XX<T> extends Response<T> {}';
948
+ return Spacer_instance.toString() + 'sealed interface Response' + toString_0(it.h1_1) + 'XX<T> extends Response<T> {}';
948
949
  }
949
950
  function JavaEndpointDefinitionEmitter$emitFromResponse$lambda(this$0) {
950
951
  return function (it) {
@@ -957,7 +958,7 @@ function sanitizeNegative($this, _this__u8e3s4) {
957
958
  return startsWith(_this__u8e3s4, '-') ? '__' + substring(_this__u8e3s4, 1) : _this__u8e3s4;
958
959
  }
959
960
  function sanitizeEnum($this, _this__u8e3s4) {
960
- return $this.t20($this.s20(joinToString(split(sanitizeNegative($this, _this__u8e3s4), ['-', ', ', '.', ' ', '//']), '_')));
961
+ return $this.k1x($this.j1x(joinToString(split(sanitizeNegative($this, _this__u8e3s4), ['-', ', ', '.', ' ', '//']), '_')));
961
962
  }
962
963
  function JavaEnumDefinitionEmitter$emit$lambda(this$0) {
963
964
  return function (it) {
@@ -968,7 +969,7 @@ function JavaEnumDefinitionEmitter() {
968
969
  }
969
970
  function Companion() {
970
971
  Companion_instance_2 = this;
971
- this.v20_1 = setOf(['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false']);
972
+ this.m1x_1 = setOf(['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false']);
972
973
  }
973
974
  var Companion_instance_2;
974
975
  function Companion_getInstance_0() {
@@ -977,7 +978,7 @@ function Companion_getInstance_0() {
977
978
  return Companion_instance_2;
978
979
  }
979
980
  function JavaIdentifierEmitter$sanitizeSymbol$lambda(it) {
980
- return isLetterOrDigit(it.i1_1) || listOf(new Char(_Char___init__impl__6a9atx(95))).v1(it);
981
+ return isLetterOrDigit(it.h1_1) || listOf(new Char(_Char___init__impl__6a9atx(95))).u1(it);
981
982
  }
982
983
  function JavaIdentifierEmitter() {
983
984
  }
@@ -992,8 +993,8 @@ function sanitizeSymbol_0($this, _this__u8e3s4) {
992
993
  var item = _iterator__ex2g4s.v();
993
994
  var _unary__edvuaz = index;
994
995
  index = _unary__edvuaz + 1 | 0;
995
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.pu(item) : item;
996
- destination.y(tmp$ret$0);
996
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.er(item) : item;
997
+ destination.x(tmp$ret$0);
997
998
  }
998
999
  // Inline function 'kotlin.text.filter' call
999
1000
  var tmp0 = joinToString(destination, '');
@@ -1032,14 +1033,14 @@ function sanitizeFirstIsDigit_0($this, _this__u8e3s4) {
1032
1033
  return tmp;
1033
1034
  }
1034
1035
  function sanitizeKeywords_0($this, _this__u8e3s4) {
1035
- return Companion_getInstance_1().w20_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1036
+ return Companion_getInstance_1().n1x_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1036
1037
  }
1037
1038
  function sanitizeEnum_0($this, _this__u8e3s4) {
1038
1039
  return sanitizeKeywords_0($this, sanitizeFirstIsDigit_0($this, joinToString(split(_this__u8e3s4, ['-', ', ', '.', ' ', '//']), '_')));
1039
1040
  }
1040
1041
  function Companion_0() {
1041
1042
  Companion_instance_3 = this;
1042
- this.w20_1 = setOf(['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false']);
1043
+ this.n1x_1 = setOf(['abstract', 'continue', 'for', 'new', 'switch', 'assert', 'default', 'goto', 'package', 'synchronized', 'boolean', 'do', 'if', 'private', 'this', 'break', 'double', 'implements', 'protected', 'throw', 'byte', 'else', 'import', 'public', 'throws', 'case', 'enum', 'instanceof', 'return', 'transient', 'catch', 'extends', 'int', 'short', 'try', 'char', 'final', 'interface', 'static', 'void', 'class', 'finally', 'long', 'strictfp', 'volatile', 'const', 'float', 'native', 'super', 'while', 'true', 'false']);
1043
1044
  }
1044
1045
  var Companion_instance_3;
1045
1046
  function Companion_getInstance_1() {
@@ -1051,10 +1052,10 @@ function JavaIrEmitter$sanitizationConfig$lambda(it) {
1051
1052
  return '_' + it;
1052
1053
  }
1053
1054
  function JavaIrEmitter$sanitizationConfig$lambda_0(name) {
1054
- return name.w1k_1.b1() > 1 ? new Name(listOf(name.b1q())) : name;
1055
+ return name.l1h_1.a1() > 1 ? new Name(listOf(name.q1m())) : name;
1055
1056
  }
1056
1057
  function JavaIrEmitter$sanitizationConfig$lambda_1(name) {
1057
- return new Name(listOf(name.b1q()));
1058
+ return new Name(listOf(name.q1m()));
1058
1059
  }
1059
1060
  function JavaIrEmitter$sanitizationConfig$lambda_2(this$0) {
1060
1061
  return function (it) {
@@ -1065,23 +1066,23 @@ function JavaIrEmitter$sanitizationConfig$lambda_3(stmt, tr) {
1065
1066
  var tmp;
1066
1067
  var tmp_0;
1067
1068
  if (stmt instanceof FunctionCall) {
1068
- tmp_0 = stmt.l1q_1.u1m() === 'validate';
1069
+ tmp_0 = stmt.a1n_1.j1j() === 'validate';
1069
1070
  } else {
1070
1071
  tmp_0 = false;
1071
1072
  }
1072
1073
  if (tmp_0) {
1073
- tmp = transformChildren(stmt.p1q(VOID, emptyList()), tr);
1074
+ tmp = transformChildren(stmt.e1n(VOID, emptyList()), tr);
1074
1075
  } else {
1075
1076
  tmp = transformChildren(stmt, tr);
1076
1077
  }
1077
1078
  return tmp;
1078
1079
  }
1079
1080
  function JavaIrEmitter$emitShared$lambda(name) {
1080
- switch (name.u1m()) {
1081
+ switch (name.j1j()) {
1081
1082
  case 'client':
1082
- return Companion_getInstance().y1k('getClient');
1083
+ return Companion_getInstance().n1h('getClient');
1083
1084
  case 'server':
1084
- return Companion_getInstance().y1k('getServer');
1085
+ return Companion_getInstance().n1h('getServer');
1085
1086
  default:
1086
1087
  return null;
1087
1088
  }
@@ -1091,22 +1092,22 @@ function JavaIrEmitter$emitShared$lambda_0($imports) {
1091
1092
  var tmp;
1092
1093
  if (element instanceof File) {
1093
1094
  // Inline function 'kotlin.collections.partition' call
1094
- var this_0 = element.h1r_1;
1095
+ var this_0 = element.w1n_1;
1095
1096
  var first = ArrayList_init_$Create$();
1096
1097
  var second = ArrayList_init_$Create$();
1097
1098
  var _iterator__ex2g4s = this_0.t();
1098
1099
  while (_iterator__ex2g4s.u()) {
1099
1100
  var element_0 = _iterator__ex2g4s.v();
1100
1101
  if (element_0 instanceof Package) {
1101
- first.y(element_0);
1102
+ first.x(element_0);
1102
1103
  } else {
1103
- second.y(element_0);
1104
+ second.x(element_0);
1104
1105
  }
1105
1106
  }
1106
1107
  var _destruct__k2r9zo = new Pair(first, second);
1107
- var packageElements = _destruct__k2r9zo.mf();
1108
- var rest = _destruct__k2r9zo.nf();
1109
- tmp = element.k1r(VOID, plus_1(plus_1(packageElements, $imports), rest));
1108
+ var packageElements = _destruct__k2r9zo.ve();
1109
+ var rest = _destruct__k2r9zo.we();
1110
+ tmp = element.z1n(VOID, plus_1(plus_1(packageElements, $imports), rest));
1110
1111
  } else {
1111
1112
  tmp = element;
1112
1113
  }
@@ -1118,11 +1119,11 @@ function JavaIrEmitter$emitShared$lambda_1($clientServer) {
1118
1119
  return function (element, transformer) {
1119
1120
  var tmp;
1120
1121
  if (element instanceof Namespace) {
1121
- var injected = element.m1r_1.equals(Companion_getInstance().y1k('Wirespec')) ? $clientServer : emptyList();
1122
+ var injected = element.b1o_1.equals(Companion_getInstance().n1h('Wirespec')) ? $clientServer : emptyList();
1122
1123
  var tmp_0;
1123
1124
  // Inline function 'kotlin.collections.isNotEmpty' call
1124
1125
  if (!injected.r()) {
1125
- tmp_0 = withElements(element, plus_1(element.i1r(), injected));
1126
+ tmp_0 = withElements(element, plus_1(element.x1n(), injected));
1126
1127
  } else {
1127
1128
  tmp_0 = element;
1128
1129
  }
@@ -1147,7 +1148,7 @@ function JavaIrEmitter$emitGenerator$lambda_1(it) {
1147
1148
  }
1148
1149
  function JavaIrEmitter$emitGenerator$lambda_2(this$0) {
1149
1150
  return function (it) {
1150
- return import_0(this$0.d20().ov_1 + '.model', it);
1151
+ return import_0(this$0.u1w().ds_1 + '.model', it);
1151
1152
  };
1152
1153
  }
1153
1154
  function JavaIrEmitter$emit$lambda(this$0) {
@@ -1159,38 +1160,38 @@ function JavaIrEmitter$emit$lambda_0(it) {
1159
1160
  return listOf(function_0('label', VOID, VOID, JavaIrEmitter$emit$lambda$lambda));
1160
1161
  }
1161
1162
  function JavaIrEmitter$emit$lambda$lambda($this$function) {
1162
- $this$function.m1l(String_instance);
1163
- $this$function.n1l(new VariableReference(Companion_getInstance().y1k('label')));
1163
+ $this$function.b1i(String_instance);
1164
+ $this$function.c1i(new VariableReference(Companion_getInstance().n1h('label')));
1164
1165
  return Unit_instance;
1165
1166
  }
1166
1167
  function JavaIrEmitter(packageName, emitShared) {
1167
1168
  Companion_getInstance_1();
1168
- packageName = packageName === VOID ? Companion_instance.nv('community.flock.wirespec.generated') : packageName;
1169
- emitShared = emitShared === VOID ? Companion_instance_0.hs() : emitShared;
1170
- this.x20_1 = packageName;
1171
- this.y20_1 = emitShared;
1172
- this.z20_1 = JavaGenerator_getInstance();
1173
- this.a21_1 = FileExtension_Java_getInstance();
1174
- this.b21_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
1169
+ packageName = packageName === VOID ? Companion_instance.cs('community.flock.wirespec.generated') : packageName;
1170
+ emitShared = emitShared === VOID ? Companion_instance_0.wo() : emitShared;
1171
+ this.o1x_1 = packageName;
1172
+ this.p1x_1 = emitShared;
1173
+ this.q1x_1 = JavaGenerator_getInstance();
1174
+ this.r1x_1 = FileExtension_Java_getInstance();
1175
+ this.s1x_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
1175
1176
  var tmp = this;
1176
- var tmp_0 = Companion_getInstance_1().w20_1;
1177
+ var tmp_0 = Companion_getInstance_1().n1x_1;
1177
1178
  var tmp_1 = JavaIrEmitter$sanitizationConfig$lambda;
1178
1179
  var tmp_2 = JavaIrEmitter$sanitizationConfig$lambda_0;
1179
1180
  var tmp_3 = JavaIrEmitter$sanitizationConfig$lambda_1;
1180
1181
  var tmp_4 = JavaIrEmitter$sanitizationConfig$lambda_2(this);
1181
- tmp.c21_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaIrEmitter$sanitizationConfig$lambda_3);
1182
+ tmp.t1x_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaIrEmitter$sanitizationConfig$lambda_3);
1182
1183
  }
1183
- protoOf(JavaIrEmitter).d20 = function () {
1184
- return this.x20_1;
1184
+ protoOf(JavaIrEmitter).u1w = function () {
1185
+ return this.o1x_1;
1185
1186
  };
1186
- protoOf(JavaIrEmitter).e1z = function () {
1187
- return this.z20_1;
1187
+ protoOf(JavaIrEmitter).t1v = function () {
1188
+ return this.q1x_1;
1188
1189
  };
1189
- protoOf(JavaIrEmitter).fu = function () {
1190
- return this.a21_1;
1190
+ protoOf(JavaIrEmitter).uq = function () {
1191
+ return this.r1x_1;
1191
1192
  };
1192
- protoOf(JavaIrEmitter).h1z = function () {
1193
- var packageName = Companion_instance.nv('community.flock.wirespec.java');
1193
+ protoOf(JavaIrEmitter).x1v = function () {
1194
+ var packageName = Companion_instance.cs('community.flock.wirespec.java');
1194
1195
  var imports = listOf_0([import_0('java.lang.reflect', 'Type'), import_0('java.lang.reflect', 'ParameterizedType'), import_0('java.util', 'List'), import_0('java.util', 'Map')]);
1195
1196
  // Inline function 'kotlin.collections.map' call
1196
1197
  var this_0 = convertClientServer(packageName);
@@ -1200,7 +1201,7 @@ protoOf(JavaIrEmitter).h1z = function () {
1200
1201
  while (_iterator__ex2g4s.u()) {
1201
1202
  var item = _iterator__ex2g4s.v();
1202
1203
  var tmp$ret$0 = toGetterAccessors(item, JavaIrEmitter$emitShared$lambda);
1203
- destination.y(tmp$ret$0);
1204
+ destination.x(tmp$ret$0);
1204
1205
  }
1205
1206
  var clientServer = plus_2(destination, raw('public static Type getType(final Class<?> actualTypeArguments, final Class<?> rawType) {\n if(rawType != null) {\n return new ParameterizedType() {\n public Type getRawType() { return rawType; }\n public Type[] getActualTypeArguments() { return new Class<?>[]{actualTypeArguments}; }\n public Type getOwnerType() { return null; }\n };\n }\n else { return actualTypeArguments; }\n}'));
1206
1207
  // Inline function 'community.flock.wirespec.ir.core.transform' call
@@ -1209,49 +1210,49 @@ protoOf(JavaIrEmitter).h1z = function () {
1209
1210
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1210
1211
  var tmp = scope;
1211
1212
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1212
- var this_2 = scope.r1y_1;
1213
+ var this_2 = scope.g1v_1;
1213
1214
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1214
1215
  // Inline function 'kotlin.apply' call
1215
1216
  var this_3 = new TransformerBuilder();
1216
- this_3.i1m(JavaIrEmitter$emitShared$lambda_0(imports));
1217
- var tmp$ret$5 = this_3.j1m();
1218
- tmp.r1y_1 = transform(this_2, tmp$ret$5);
1217
+ this_3.x1i(JavaIrEmitter$emitShared$lambda_0(imports));
1218
+ var tmp$ret$5 = this_3.y1i();
1219
+ tmp.g1v_1 = transform(this_2, tmp$ret$5);
1219
1220
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1220
1221
  var tmp_0 = scope;
1221
1222
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1222
1223
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1223
- var this_4 = scope.r1y_1;
1224
+ var this_4 = scope.g1v_1;
1224
1225
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1225
1226
  // Inline function 'kotlin.apply' call
1226
1227
  var this_5 = new TransformerBuilder();
1227
- this_5.i1m(JavaIrEmitter$emitShared$lambda_1(clientServer));
1228
- var tmp$ret$10 = this_5.j1m();
1229
- tmp_0.r1y_1 = transform(this_4, tmp$ret$10);
1230
- var tmp_1 = scope.r1y_1;
1228
+ this_5.x1i(JavaIrEmitter$emitShared$lambda_1(clientServer));
1229
+ var tmp$ret$10 = this_5.y1i();
1230
+ tmp_0.g1v_1 = transform(this_4, tmp$ret$10);
1231
+ var tmp_1 = scope.g1v_1;
1231
1232
  var wirespecShared = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1232
1233
  var tmp_2;
1233
- if (this.y20_1.is_1) {
1234
+ if (this.p1x_1.xo_1) {
1234
1235
  tmp_2 = wirespecShared;
1235
1236
  } else {
1236
1237
  tmp_2 = null;
1237
1238
  }
1238
1239
  return tmp_2;
1239
1240
  };
1240
- protoOf(JavaIrEmitter).wu = function (definition, module_0, logger) {
1241
+ protoOf(JavaIrEmitter).lr = function (definition, module_0, logger) {
1241
1242
  var file = emit_0.call(this, definition, module_0, logger);
1242
- var tmp = file.k1r(Companion_getInstance().y1k(sanitizeSymbol_0(this, file.g1r_1.z1k())));
1243
+ var tmp = file.z1n(Companion_getInstance().n1h(sanitizeSymbol_0(this, file.v1n_1.o1h())));
1243
1244
  // Inline function 'kotlin.takeIf' call
1244
- var this_0 = this.b21_1;
1245
+ var this_0 = this.s1x_1;
1245
1246
  var tmp_0;
1246
- if (Companion_instance_1.su(module_0)) {
1247
+ if (Companion_instance_1.hr(module_0)) {
1247
1248
  tmp_0 = this_0;
1248
1249
  } else {
1249
1250
  tmp_0 = null;
1250
1251
  }
1251
1252
  var tmp$ret$1 = tmp_0;
1252
- return placeInPackage(prependImports(tmp, tmp$ret$1), this.d20(), definition);
1253
+ return placeInPackage(prependImports(tmp, tmp$ret$1), this.u1w(), definition);
1253
1254
  };
1254
- protoOf(JavaIrEmitter).l1z = function (definition, module_0) {
1255
+ protoOf(JavaIrEmitter).c1w = function (definition, module_0) {
1255
1256
  var tmp;
1256
1257
  if (definition instanceof Type) {
1257
1258
  tmp = convertToGenerator_2(definition, module_0);
@@ -1271,33 +1272,33 @@ protoOf(JavaIrEmitter).l1z = function (definition, module_0) {
1271
1272
  }
1272
1273
  }
1273
1274
  var generatorFile = tmp;
1274
- var sanitized = sanitizeNames(generatorFile, this.c21_1);
1275
- var generatorOwnName = definition.xu().m1() + 'Generator';
1275
+ var sanitized = sanitizeNames(generatorFile, this.t1x_1);
1276
+ var generatorOwnName = definition.mr().l1() + 'Generator';
1276
1277
  var tmp_0 = asSequence_0(collectCustomTypeNames(sanitized));
1277
1278
  var tmp_1 = filterNot(tmp_0, JavaIrEmitter$emitGenerator$lambda);
1278
1279
  var tmp_2 = filterNot(tmp_1, JavaIrEmitter$emitGenerator$lambda_0(generatorOwnName));
1279
1280
  var tmp_3 = distinct_0(map(tmp_2, JavaIrEmitter$emitGenerator$lambda_1));
1280
1281
  var modelImports = toList(map(tmp_3, JavaIrEmitter$emitGenerator$lambda_2(this)));
1281
- return placeInPackage_0(prependImports(sanitized, plus_1(this.b21_1, modelImports)), this.d20(), 'generator');
1282
+ return placeInPackage_0(prependImports(sanitized, plus_1(this.s1x_1, modelImports)), this.u1w(), 'generator');
1282
1283
  };
1283
- protoOf(JavaIrEmitter).vt = function (type, module_0) {
1284
- return sanitizeNames(convertWithValidation(type, module_0), this.c21_1);
1284
+ protoOf(JavaIrEmitter).kq = function (type, module_0) {
1285
+ return sanitizeNames(convertWithValidation(type, module_0), this.t1x_1);
1285
1286
  };
1286
- protoOf(JavaIrEmitter).kv = function (enum_0, module_0) {
1287
+ protoOf(JavaIrEmitter).zr = function (enum_0, module_0) {
1287
1288
  var tmp = convert_0(enum_0);
1288
1289
  var tmp_0 = JavaIrEmitter$emit$lambda(this);
1289
- return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaIrEmitter$emit$lambda_0), this.c21_1);
1290
+ return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaIrEmitter$emit$lambda_0), this.t1x_1);
1290
1291
  };
1291
- protoOf(JavaIrEmitter).av = function (union) {
1292
- return sanitizeNames(convert_1(union), this.c21_1);
1292
+ protoOf(JavaIrEmitter).pr = function (union) {
1293
+ return sanitizeNames(convert_1(union), this.t1x_1);
1293
1294
  };
1294
- protoOf(JavaIrEmitter).fv = function (refined) {
1295
- return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.c21_1);
1295
+ protoOf(JavaIrEmitter).ur = function (refined) {
1296
+ return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.t1x_1);
1296
1297
  };
1297
- protoOf(JavaIrEmitter).lv = function (endpoint) {
1298
- var tmp = sanitizeNames(transformTypeDescriptors(injectApiField(injectHandleFunction(convert_3(endpoint), endpoint))), this.c21_1);
1298
+ protoOf(JavaIrEmitter).as = function (endpoint) {
1299
+ var tmp = sanitizeNames(transformTypeDescriptors(injectApiField(injectHandleFunction(convert_3(endpoint), endpoint))), this.t1x_1);
1299
1300
  // Inline function 'kotlin.takeIf' call
1300
- var this_0 = buildModelImports(endpoint, this.d20());
1301
+ var this_0 = buildModelImports(endpoint, this.u1w());
1301
1302
  var tmp_0;
1302
1303
  // Inline function 'kotlin.collections.isNotEmpty' call
1303
1304
  if (!this_0.r()) {
@@ -1308,25 +1309,25 @@ protoOf(JavaIrEmitter).lv = function (endpoint) {
1308
1309
  var tmp$ret$2 = tmp_0;
1309
1310
  return prependImports(tmp, tmp$ret$2);
1310
1311
  };
1311
- protoOf(JavaIrEmitter).zu = function (channel) {
1312
+ protoOf(JavaIrEmitter).or = function (channel) {
1312
1313
  var tmp;
1313
- if (channel.ns_1.m1() === channel.os_1.m1()) {
1314
- tmp = this.d20().ov_1 + '.model.';
1314
+ if (channel.cp_1.l1() === channel.dp_1.l1()) {
1315
+ tmp = this.u1w().ds_1 + '.model.';
1315
1316
  } else {
1316
1317
  tmp = '';
1317
1318
  }
1318
1319
  var fullyQualifiedPrefix = tmp;
1319
- return applyFunctionalInterface(sanitizeNames(convert_4(channel), this.c21_1), fullyQualifiedPrefix);
1320
+ return applyFunctionalInterface(sanitizeNames(convert_4(channel), this.t1x_1), fullyQualifiedPrefix);
1320
1321
  };
1321
- protoOf(JavaIrEmitter).k1z = function (endpoint) {
1322
- var imports = buildModelImports(endpoint, this.d20());
1323
- var endpointImport = import_0(this.d20().ov_1 + '.endpoint', endpoint.ft_1.m1());
1324
- var endpointName = endpoint.ft_1.m1();
1325
- var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.c21_1)), endpointName);
1326
- var subPackageName = plus_0(this.d20(), 'client');
1327
- return new File(Companion_getInstance().y1k(subPackageName.qv() + sanitizeSymbol_0(this, file.g1r_1.z1k())), plus_1(plus_1(plus_1(plus_1(listOf(new Package(subPackageName.ov_1)), this.b21_1), imports), listOf(endpointImport)), file.h1r_1));
1322
+ protoOf(JavaIrEmitter).b1w = function (endpoint) {
1323
+ var imports = buildModelImports(endpoint, this.u1w());
1324
+ var endpointImport = import_0(this.u1w().ds_1 + '.endpoint', endpoint.up_1.l1());
1325
+ var endpointName = endpoint.up_1.l1();
1326
+ var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.t1x_1)), endpointName);
1327
+ var subPackageName = plus_0(this.u1w(), 'client');
1328
+ return new File(Companion_getInstance().n1h(subPackageName.fs() + sanitizeSymbol_0(this, file.v1n_1.o1h())), plus_1(plus_1(plus_1(plus_1(listOf(new Package(subPackageName.ds_1)), this.s1x_1), imports), listOf(endpointImport)), file.w1n_1));
1328
1329
  };
1329
- protoOf(JavaIrEmitter).i1z = function (endpoints, logger) {
1330
+ protoOf(JavaIrEmitter).y1v = function (endpoints, logger) {
1330
1331
  // Inline function 'kotlin.collections.flatMap' call
1331
1332
  // Inline function 'kotlin.collections.flatMapTo' call
1332
1333
  var destination = ArrayList_init_$Create$();
@@ -1342,9 +1343,9 @@ protoOf(JavaIrEmitter).i1z = function (endpoints, logger) {
1342
1343
  var _iterator__ex2g4s_0 = destination.t();
1343
1344
  while (_iterator__ex2g4s_0.u()) {
1344
1345
  var e = _iterator__ex2g4s_0.v();
1345
- var key = e.my_1;
1346
- if (set.y(key)) {
1347
- list_0.y(e);
1346
+ var key = e.bv_1;
1347
+ if (set.x(key)) {
1348
+ list_0.x(e);
1348
1349
  }
1349
1350
  }
1350
1351
  // Inline function 'kotlin.collections.filter' call
@@ -1369,7 +1370,7 @@ protoOf(JavaIrEmitter).i1z = function (endpoints, logger) {
1369
1370
  var _iterator__ex2g4s_2 = endpoints.t();
1370
1371
  while (_iterator__ex2g4s_2.u()) {
1371
1372
  var element_1 = _iterator__ex2g4s_2.v();
1372
- if (element_1.ft_1.m1() === element_0.my_1) {
1373
+ if (element_1.up_1.l1() === element_0.bv_1) {
1373
1374
  tmp$ret$5 = false;
1374
1375
  break $l$block_0;
1375
1376
  }
@@ -1377,7 +1378,7 @@ protoOf(JavaIrEmitter).i1z = function (endpoints, logger) {
1377
1378
  tmp$ret$5 = true;
1378
1379
  }
1379
1380
  if (tmp$ret$5) {
1380
- destination_0.y(element_0);
1381
+ destination_0.x(element_0);
1381
1382
  }
1382
1383
  }
1383
1384
  // Inline function 'kotlin.collections.map' call
@@ -1386,8 +1387,8 @@ protoOf(JavaIrEmitter).i1z = function (endpoints, logger) {
1386
1387
  var _iterator__ex2g4s_3 = destination_0.t();
1387
1388
  while (_iterator__ex2g4s_3.u()) {
1388
1389
  var item = _iterator__ex2g4s_3.v();
1389
- var tmp$ret$10 = import_0(this.d20().ov_1 + '.model', item.my_1);
1390
- destination_1.y(tmp$ret$10);
1390
+ var tmp$ret$10 = import_0(this.u1w().ds_1 + '.model', item.bv_1);
1391
+ destination_1.x(tmp$ret$10);
1391
1392
  }
1392
1393
  var imports = destination_1;
1393
1394
  // Inline function 'kotlin.collections.map' call
@@ -1396,8 +1397,8 @@ protoOf(JavaIrEmitter).i1z = function (endpoints, logger) {
1396
1397
  var _iterator__ex2g4s_4 = endpoints.t();
1397
1398
  while (_iterator__ex2g4s_4.u()) {
1398
1399
  var item_0 = _iterator__ex2g4s_4.v();
1399
- var tmp$ret$13 = import_0(this.d20().ov_1 + '.endpoint', item_0.ft_1.m1());
1400
- destination_2.y(tmp$ret$13);
1400
+ var tmp$ret$13 = import_0(this.u1w().ds_1 + '.endpoint', item_0.up_1.l1());
1401
+ destination_2.x(tmp$ret$13);
1401
1402
  }
1402
1403
  var endpointImports = destination_2;
1403
1404
  // Inline function 'kotlin.collections.map' call
@@ -1406,19 +1407,19 @@ protoOf(JavaIrEmitter).i1z = function (endpoints, logger) {
1406
1407
  var _iterator__ex2g4s_5 = endpoints.t();
1407
1408
  while (_iterator__ex2g4s_5.u()) {
1408
1409
  var item_1 = _iterator__ex2g4s_5.v();
1409
- var tmp$ret$16 = import_0(this.d20().ov_1 + '.client', item_1.ft_1.m1() + 'Client');
1410
- destination_3.y(tmp$ret$16);
1410
+ var tmp$ret$16 = import_0(this.u1w().ds_1 + '.client', item_1.up_1.l1() + 'Client');
1411
+ destination_3.x(tmp$ret$16);
1411
1412
  }
1412
1413
  var clientImports = destination_3;
1413
1414
  var allImports = plus_1(plus_1(imports, endpointImports), clientImports);
1414
- var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.c21_1);
1415
- return new File(Companion_getInstance().y1k(this.d20().qv() + sanitizeSymbol_0(this, file.g1r_1.z1k())), plus_1(plus_1(plus_1(listOf(new Package(this.d20().ov_1)), this.b21_1), allImports), file.h1r_1));
1415
+ var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.t1x_1);
1416
+ return new File(Companion_getInstance().n1h(this.u1w().fs() + sanitizeSymbol_0(this, file.v1n_1.o1h())), plus_1(plus_1(plus_1(listOf(new Package(this.u1w().ds_1)), this.s1x_1), allImports), file.w1n_1));
1416
1417
  };
1417
1418
  function transformTypeDescriptors(_this__u8e3s4) {
1418
1419
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1419
1420
  var scope = new TransformScope(_this__u8e3s4);
1420
- scope.a1z(transformTypeDescriptors$lambda);
1421
- var tmp = scope.r1y_1;
1421
+ scope.p1v(transformTypeDescriptors$lambda);
1422
+ var tmp = scope.g1v_1;
1422
1423
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
1423
1424
  }
1424
1425
  function applyRefinedStructShape(_this__u8e3s4, refined) {
@@ -1427,14 +1428,14 @@ function applyRefinedStructShape(_this__u8e3s4, refined) {
1427
1428
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1428
1429
  var tmp = scope;
1429
1430
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1430
- var this_0 = scope.r1y_1;
1431
+ var this_0 = scope.g1v_1;
1431
1432
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1432
1433
  // Inline function 'kotlin.apply' call
1433
1434
  var this_1 = new TransformerBuilder();
1434
- this_1.i1m(applyRefinedStructShape$lambda(refined));
1435
- var tmp$ret$2 = this_1.j1m();
1436
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1437
- var tmp_0 = scope.r1y_1;
1435
+ this_1.x1i(applyRefinedStructShape$lambda(refined));
1436
+ var tmp$ret$2 = this_1.y1i();
1437
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1438
+ var tmp_0 = scope.g1v_1;
1438
1439
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1439
1440
  }
1440
1441
  function injectApiField(_this__u8e3s4) {
@@ -1444,14 +1445,14 @@ function injectApiField(_this__u8e3s4) {
1444
1445
  var tmp = scope;
1445
1446
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1446
1447
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1447
- var this_0 = scope.r1y_1;
1448
+ var this_0 = scope.g1v_1;
1448
1449
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1449
1450
  // Inline function 'kotlin.apply' call
1450
1451
  var this_1 = new TransformerBuilder();
1451
- this_1.i1m(injectApiField$lambda);
1452
- var tmp$ret$2 = this_1.j1m();
1453
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1454
- var tmp_0 = scope.r1y_1;
1452
+ this_1.x1i(injectApiField$lambda);
1453
+ var tmp$ret$2 = this_1.y1i();
1454
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1455
+ var tmp_0 = scope.g1v_1;
1455
1456
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1456
1457
  }
1457
1458
  function injectHandleFunction(_this__u8e3s4, endpoint) {
@@ -1461,14 +1462,14 @@ function injectHandleFunction(_this__u8e3s4, endpoint) {
1461
1462
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1462
1463
  var tmp = scope;
1463
1464
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1464
- var this_0 = scope.r1y_1;
1465
+ var this_0 = scope.g1v_1;
1465
1466
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1466
1467
  // Inline function 'kotlin.apply' call
1467
1468
  var this_1 = new TransformerBuilder();
1468
- this_1.i1m(injectHandleFunction$lambda(handlersStruct));
1469
- var tmp$ret$2 = this_1.j1m();
1470
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1471
- var tmp_0 = scope.r1y_1;
1469
+ this_1.x1i(injectHandleFunction$lambda(handlersStruct));
1470
+ var tmp$ret$2 = this_1.y1i();
1471
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1472
+ var tmp_0 = scope.g1v_1;
1472
1473
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1473
1474
  }
1474
1475
  function buildModelImports(_this__u8e3s4, packageName) {
@@ -1479,8 +1480,8 @@ function buildModelImports(_this__u8e3s4, packageName) {
1479
1480
  var _iterator__ex2g4s = tmp0.t();
1480
1481
  while (_iterator__ex2g4s.u()) {
1481
1482
  var element = _iterator__ex2g4s.v();
1482
- if (!(_this__u8e3s4.xu().m1() === element.my_1)) {
1483
- destination.y(element);
1483
+ if (!(_this__u8e3s4.mr().l1() === element.bv_1)) {
1484
+ destination.x(element);
1484
1485
  }
1485
1486
  }
1486
1487
  // Inline function 'kotlin.collections.map' call
@@ -1489,8 +1490,8 @@ function buildModelImports(_this__u8e3s4, packageName) {
1489
1490
  var _iterator__ex2g4s_0 = destination.t();
1490
1491
  while (_iterator__ex2g4s_0.u()) {
1491
1492
  var item = _iterator__ex2g4s_0.v();
1492
- var tmp$ret$3 = import_0(packageName.ov_1 + '.model', Companion_getInstance().y1k(item.my_1).z1k());
1493
- destination_0.y(tmp$ret$3);
1493
+ var tmp$ret$3 = import_0(packageName.ds_1 + '.model', Companion_getInstance().n1h(item.bv_1).o1h());
1494
+ destination_0.x(tmp$ret$3);
1494
1495
  }
1495
1496
  return destination_0;
1496
1497
  }
@@ -1500,24 +1501,24 @@ function applyFunctionalInterface(_this__u8e3s4, fullyQualifiedPrefix) {
1500
1501
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1501
1502
  var tmp = scope;
1502
1503
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1503
- var this_0 = scope.r1y_1;
1504
+ var this_0 = scope.g1v_1;
1504
1505
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1505
1506
  // Inline function 'kotlin.apply' call
1506
1507
  var this_1 = new TransformerBuilder();
1507
- this_1.i1m(applyFunctionalInterface$lambda(fullyQualifiedPrefix));
1508
- var tmp$ret$2 = this_1.j1m();
1509
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1508
+ this_1.x1i(applyFunctionalInterface$lambda(fullyQualifiedPrefix));
1509
+ var tmp$ret$2 = this_1.y1i();
1510
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1510
1511
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1511
1512
  var tmp_0 = scope;
1512
1513
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1513
- var this_2 = scope.r1y_1;
1514
+ var this_2 = scope.g1v_1;
1514
1515
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1515
1516
  // Inline function 'kotlin.apply' call
1516
1517
  var this_3 = new TransformerBuilder();
1517
- this_3.i1m(applyFunctionalInterface$lambda_0);
1518
- var tmp$ret$7 = this_3.j1m();
1519
- tmp_0.r1y_1 = transform(this_2, tmp$ret$7);
1520
- var tmp_1 = scope.r1y_1;
1518
+ this_3.x1i(applyFunctionalInterface$lambda_0);
1519
+ var tmp$ret$7 = this_3.y1i();
1520
+ tmp_0.g1v_1 = transform(this_2, tmp$ret$7);
1521
+ var tmp_1 = scope.g1v_1;
1521
1522
  return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1522
1523
  }
1523
1524
  function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
@@ -1526,26 +1527,26 @@ function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
1526
1527
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1527
1528
  var tmp = scope;
1528
1529
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1529
- var this_0 = scope.r1y_1;
1530
+ var this_0 = scope.g1v_1;
1530
1531
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1531
1532
  // Inline function 'kotlin.apply' call
1532
1533
  var this_1 = new TransformerBuilder();
1533
- this_1.i1m(wrapAsyncReturnInThenApply$lambda(endpointName));
1534
- var tmp$ret$2 = this_1.j1m();
1535
- tmp.r1y_1 = transform(this_0, tmp$ret$2);
1536
- var tmp_0 = scope.r1y_1;
1534
+ this_1.x1i(wrapAsyncReturnInThenApply$lambda(endpointName));
1535
+ var tmp$ret$2 = this_1.y1i();
1536
+ tmp.g1v_1 = transform(this_0, tmp$ret$2);
1537
+ var tmp_0 = scope.g1v_1;
1537
1538
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1538
1539
  }
1539
1540
  function findRoot(_this__u8e3s4) {
1540
1541
  var tmp;
1541
1542
  if (_this__u8e3s4 instanceof Nullable) {
1542
- tmp = findRoot(_this__u8e3s4.q1m_1);
1543
+ tmp = findRoot(_this__u8e3s4.f1j_1);
1543
1544
  } else {
1544
1545
  if (_this__u8e3s4 instanceof Array_0) {
1545
- tmp = findRoot(_this__u8e3s4.r1m_1);
1546
+ tmp = findRoot(_this__u8e3s4.g1j_1);
1546
1547
  } else {
1547
1548
  if (_this__u8e3s4 instanceof Dict_0) {
1548
- tmp = findRoot(_this__u8e3s4.u1q_1);
1549
+ tmp = findRoot(_this__u8e3s4.j1n_1);
1549
1550
  } else {
1550
1551
  tmp = _this__u8e3s4;
1551
1552
  }
@@ -1574,7 +1575,7 @@ function toJavaName(_this__u8e3s4) {
1574
1575
  var tmp;
1575
1576
  if (_this__u8e3s4 instanceof Integer_0) {
1576
1577
  var tmp_0;
1577
- switch (_this__u8e3s4.q1q_1.c3_1) {
1578
+ switch (_this__u8e3s4.f1n_1.b3_1) {
1578
1579
  case 0:
1579
1580
  tmp_0 = 'Integer';
1580
1581
  break;
@@ -1589,7 +1590,7 @@ function toJavaName(_this__u8e3s4) {
1589
1590
  } else {
1590
1591
  if (_this__u8e3s4 instanceof Number_1) {
1591
1592
  var tmp_1;
1592
- switch (_this__u8e3s4.r1q_1.c3_1) {
1593
+ switch (_this__u8e3s4.g1n_1.b3_1) {
1593
1594
  case 0:
1594
1595
  tmp_1 = 'Float';
1595
1596
  break;
@@ -1618,7 +1619,7 @@ function toJavaName(_this__u8e3s4) {
1618
1619
  tmp = 'Void';
1619
1620
  } else {
1620
1621
  if (_this__u8e3s4 instanceof Custom_0) {
1621
- tmp = _this__u8e3s4.s1m_1.z1k();
1622
+ tmp = _this__u8e3s4.h1j_1.o1h();
1622
1623
  } else {
1623
1624
  tmp = 'Object';
1624
1625
  }
@@ -1632,7 +1633,7 @@ function toJavaName(_this__u8e3s4) {
1632
1633
  return tmp;
1633
1634
  }
1634
1635
  function buildHandlersStruct(_this__u8e3s4) {
1635
- var pathTemplate = '/' + joinToString(_this__u8e3s4.ht_1, '/', VOID, VOID, VOID, VOID, buildHandlersStruct$lambda);
1636
+ var pathTemplate = '/' + joinToString(_this__u8e3s4.wp_1, '/', VOID, VOID, VOID, VOID, buildHandlersStruct$lambda);
1636
1637
  return struct('Handlers', buildHandlersStruct$lambda_0(pathTemplate, _this__u8e3s4));
1637
1638
  }
1638
1639
  function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
@@ -1642,8 +1643,8 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
1642
1643
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1643
1644
  var scope = new TransformScope(_this__u8e3s4);
1644
1645
  var tmp_0 = withFullyQualifiedPrefix$lambda;
1645
- scope.u1y(tmp_0, withFullyQualifiedPrefix$lambda_0(prefix));
1646
- var tmp_1 = scope.r1y_1;
1646
+ scope.j1v(tmp_0, withFullyQualifiedPrefix$lambda_0(prefix));
1647
+ var tmp_1 = scope.g1v_1;
1647
1648
  tmp = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1648
1649
  } else {
1649
1650
  tmp = _this__u8e3s4;
@@ -1653,8 +1654,8 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
1653
1654
  function transformTypeDescriptors$lambda(stmt, tr) {
1654
1655
  var tmp;
1655
1656
  if (stmt instanceof TypeDescriptor) {
1656
- var rootType = findRoot(stmt.w1s_1);
1657
- var containerStr = rawContainerClass(stmt.w1s_1);
1657
+ var rootType = findRoot(stmt.l1p_1);
1658
+ var containerStr = rawContainerClass(stmt.l1p_1);
1658
1659
  var rootStr = toJavaName(rootType) + '.class';
1659
1660
  var tmp_0;
1660
1661
  if (containerStr == null) {
@@ -1673,8 +1674,8 @@ function transformTypeDescriptors$lambda(stmt, tr) {
1673
1674
  }
1674
1675
  function applyRefinedStructShape$lambda$lambda($refined) {
1675
1676
  return function ($this$function) {
1676
- $this$function.m1l(convert_5($refined.ev_1));
1677
- $this$function.n1l(new VariableReference(Companion_getInstance().y1k('value')));
1677
+ $this$function.b1i(convert_5($refined.tr_1));
1678
+ $this$function.c1i(new VariableReference(Companion_getInstance().n1h('value')));
1678
1679
  return Unit_instance;
1679
1680
  };
1680
1681
  }
@@ -1684,18 +1685,18 @@ function applyRefinedStructShape$lambda($refined) {
1684
1685
  if (element instanceof Struct) {
1685
1686
  var tmp_0 = listOf(Custom_init_$Create$('Wirespec.Refined'));
1686
1687
  // Inline function 'kotlin.collections.map' call
1687
- var this_0 = element.v1r_1;
1688
+ var this_0 = element.k1o_1;
1688
1689
  // Inline function 'kotlin.collections.mapTo' call
1689
1690
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1690
1691
  var _iterator__ex2g4s = this_0.t();
1691
1692
  while (_iterator__ex2g4s.u()) {
1692
1693
  var item = _iterator__ex2g4s.v();
1693
1694
  var tmp0_safe_receiver = item instanceof Function ? item : null;
1694
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w1o(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true);
1695
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l1l(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true);
1695
1696
  var tmp$ret$0 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
1696
- destination.y(tmp$ret$0);
1697
+ destination.x(tmp$ret$0);
1697
1698
  }
1698
- var tmp_1 = element.y1r(VOID, VOID, VOID, tmp_0, destination);
1699
+ var tmp_1 = element.n1o(VOID, VOID, VOID, tmp_0, destination);
1699
1700
  tmp = plus_3(tmp_1, function_0('value', VOID, true, applyRefinedStructShape$lambda$lambda($refined)));
1700
1701
  } else {
1701
1702
  tmp = element;
@@ -1711,7 +1712,7 @@ function injectApiField$lambda(element, transformer) {
1711
1712
  var tmp_0;
1712
1713
  // Inline function 'kotlin.collections.isNotEmpty' call
1713
1714
  if (!injected.r()) {
1714
- tmp_0 = withElements(element, plus_1(element.i1r(), injected));
1715
+ tmp_0 = withElements(element, plus_1(element.x1n(), injected));
1715
1716
  } else {
1716
1717
  tmp_0 = element;
1717
1718
  }
@@ -1730,7 +1731,7 @@ function injectHandleFunction$lambda$lambda($handlersStruct) {
1730
1731
  var tmp_0;
1731
1732
  // Inline function 'kotlin.collections.isNotEmpty' call
1732
1733
  if (!injected.r()) {
1733
- tmp_0 = withElements(element, plus_1(element.i1r(), injected));
1734
+ tmp_0 = withElements(element, plus_1(element.x1n(), injected));
1734
1735
  } else {
1735
1736
  tmp_0 = element;
1736
1737
  }
@@ -1747,21 +1748,21 @@ function injectHandleFunction$lambda($handlersStruct) {
1747
1748
  var tmp;
1748
1749
  if (element instanceof Interface) {
1749
1750
  var tmp_0;
1750
- if (element.a1s_1.equals(Companion_getInstance().y1k('Handler'))) {
1751
+ if (element.p1o_1.equals(Companion_getInstance().n1h('Handler'))) {
1751
1752
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1752
1753
  var scope = new TransformScope(element);
1753
1754
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1754
1755
  var tmp_1 = scope;
1755
1756
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1756
1757
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1757
- var this_0 = scope.r1y_1;
1758
+ var this_0 = scope.g1v_1;
1758
1759
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1759
1760
  // Inline function 'kotlin.apply' call
1760
1761
  var this_1 = new TransformerBuilder();
1761
- this_1.i1m(injectHandleFunction$lambda$lambda($handlersStruct));
1762
- var tmp$ret$2 = this_1.j1m();
1763
- tmp_1.r1y_1 = transform(this_0, tmp$ret$2);
1764
- var tmp_2 = scope.r1y_1;
1762
+ this_1.x1i(injectHandleFunction$lambda$lambda($handlersStruct));
1763
+ var tmp$ret$2 = this_1.y1i();
1764
+ tmp_1.g1v_1 = transform(this_0, tmp$ret$2);
1765
+ var tmp_2 = scope.g1v_1;
1765
1766
  tmp_0 = isInterface(tmp_2, Element) ? tmp_2 : THROW_CCE();
1766
1767
  } else {
1767
1768
  tmp_0 = element;
@@ -1791,19 +1792,19 @@ function applyFunctionalInterface$lambda_0(element, transformer) {
1791
1792
  if (element instanceof File) {
1792
1793
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1793
1794
  // Inline function 'kotlin.collections.filterIsInstance' call
1794
- var tmp0 = element.i1r();
1795
+ var tmp0 = element.x1n();
1795
1796
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1796
1797
  var destination = ArrayList_init_$Create$();
1797
1798
  var _iterator__ex2g4s = tmp0.t();
1798
1799
  while (_iterator__ex2g4s.u()) {
1799
1800
  var element_0 = _iterator__ex2g4s.v();
1800
1801
  if (element_0 instanceof Interface) {
1801
- destination.y(element_0);
1802
+ destination.x(element_0);
1802
1803
  }
1803
1804
  }
1804
1805
  var tmp$ret$2 = firstOrNull_0(destination);
1805
1806
  var interfaceElement = ensureNotNull(tmp$ret$2);
1806
- tmp = element.k1r(VOID, listOf_0([new RawElement('@FunctionalInterface\n'), interfaceElement]));
1807
+ tmp = element.z1n(VOID, listOf_0([new RawElement('@FunctionalInterface\n'), interfaceElement]));
1807
1808
  } else {
1808
1809
  tmp = element;
1809
1810
  }
@@ -1816,11 +1817,11 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1816
1817
  if (element instanceof Function) {
1817
1818
  var tmp$ret$0;
1818
1819
  $l$block_1: {
1819
- if (!element.t1o_1 || element.s1o_1.b1() < 2) {
1820
+ if (!element.i1l_1 || element.h1l_1.a1() < 2) {
1820
1821
  tmp$ret$0 = element;
1821
1822
  break $l$block_1;
1822
1823
  }
1823
- var tmp_0 = element.s1o_1.c1(element.s1o_1.b1() - 2 | 0);
1824
+ var tmp_0 = element.h1l_1.b1(element.h1l_1.a1() - 2 | 0);
1824
1825
  var tmp0_elvis_lhs = tmp_0 instanceof Assignment ? tmp_0 : null;
1825
1826
  var tmp_1;
1826
1827
  if (tmp0_elvis_lhs == null) {
@@ -1830,16 +1831,16 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1830
1831
  tmp_1 = tmp0_elvis_lhs;
1831
1832
  }
1832
1833
  var transportAssign = tmp_1;
1833
- var tmp_2 = last(element.s1o_1);
1834
+ var tmp_2 = last(element.h1l_1);
1834
1835
  if (!(tmp_2 instanceof ReturnStatement)) {
1835
1836
  tmp$ret$0 = element;
1836
1837
  break $l$block_1;
1837
1838
  }
1838
- var tmp_3 = dropLast(element.s1o_1, 2);
1839
- var tmp1_name = Companion_getInstance().y1k('thenApply');
1840
- var tmp2_receiver = transportAssign.z1s_1;
1841
- var tmp3_arguments = mapOf(to(Companion_getInstance().y1k('mapper'), new RawExpression('rawResponse -> ' + $endpointName + '.fromRawResponse(serialization(), rawResponse)')));
1842
- tmp$ret$0 = element.w1o(VOID, VOID, VOID, VOID, plus_2(tmp_3, new ReturnStatement(new FunctionCall(tmp2_receiver, VOID, tmp1_name, tmp3_arguments))));
1839
+ var tmp_3 = dropLast(element.h1l_1, 2);
1840
+ var tmp1_name = Companion_getInstance().n1h('thenApply');
1841
+ var tmp2_receiver = transportAssign.o1p_1;
1842
+ var tmp3_arguments = mapOf(to(Companion_getInstance().n1h('mapper'), new RawExpression('rawResponse -> ' + $endpointName + '.fromRawResponse(serialization(), rawResponse)')));
1843
+ tmp$ret$0 = element.l1l(VOID, VOID, VOID, VOID, plus_2(tmp_3, new ReturnStatement(new FunctionCall(tmp2_receiver, VOID, tmp1_name, tmp3_arguments))));
1843
1844
  }
1844
1845
  tmp = tmp$ret$0;
1845
1846
  } else {
@@ -1852,10 +1853,10 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1852
1853
  function buildHandlersStruct$lambda(it) {
1853
1854
  var tmp;
1854
1855
  if (it instanceof Literal) {
1855
- tmp = it.iu_1;
1856
+ tmp = it.xq_1;
1856
1857
  } else {
1857
1858
  if (it instanceof Param) {
1858
- tmp = '{' + it.mt_1.m1() + '}';
1859
+ tmp = '{' + it.bq_1.l1() + '}';
1859
1860
  } else {
1860
1861
  noWhenBranchMatchedException();
1861
1862
  }
@@ -1864,50 +1865,50 @@ function buildHandlersStruct$lambda(it) {
1864
1865
  }
1865
1866
  function buildHandlersStruct$lambda$lambda($pathTemplate) {
1866
1867
  return function ($this$function) {
1867
- $this$function.m1l(String_instance);
1868
- $this$function.n1l($this$function.w1x($pathTemplate));
1868
+ $this$function.b1i(String_instance);
1869
+ $this$function.c1i($this$function.l1u($pathTemplate));
1869
1870
  return Unit_instance;
1870
1871
  };
1871
1872
  }
1872
1873
  function buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct) {
1873
1874
  return function ($this$function) {
1874
- $this$function.m1l(String_instance);
1875
- $this$function.n1l($this$function.w1x($this_buildHandlersStruct.gt_1.b3_1));
1875
+ $this$function.b1i(String_instance);
1876
+ $this$function.c1i($this$function.l1u($this_buildHandlersStruct.vp_1.a3_1));
1876
1877
  return Unit_instance;
1877
1878
  };
1878
1879
  }
1879
1880
  function buildHandlersStruct$lambda$lambda_1($this$function) {
1880
- $this$function.m1l($this$function.a1l('Wirespec.ServerEdge', [$this$function.a1l('Request', []), $this$function.a1l('Response', [Wildcard_instance])]));
1881
- $this$function.j1l('serialization', $this$function.a1l('Wirespec.Serialization', []));
1882
- $this$function.n1l(new RawExpression('new Wirespec.ServerEdge<>() {\n@Override public Request from(Wirespec.RawRequest request) {\n return fromRawRequest(serialization, request);\n}\n@Override public Wirespec.RawResponse to(Response<?> response) {\n return toRawResponse(serialization, response);\n}\n}'));
1881
+ $this$function.b1i($this$function.p1h('Wirespec.ServerEdge', [$this$function.p1h('Request', []), $this$function.p1h('Response', [Wildcard_instance])]));
1882
+ $this$function.y1h('serialization', $this$function.p1h('Wirespec.Serialization', []));
1883
+ $this$function.c1i(new RawExpression('new Wirespec.ServerEdge<>() {\n@Override public Request from(Wirespec.RawRequest request) {\n return fromRawRequest(serialization, request);\n}\n@Override public Wirespec.RawResponse to(Response<?> response) {\n return toRawResponse(serialization, response);\n}\n}'));
1883
1884
  return Unit_instance;
1884
1885
  }
1885
1886
  function buildHandlersStruct$lambda$lambda_2($this$function) {
1886
- $this$function.m1l($this$function.a1l('Wirespec.ClientEdge', [$this$function.a1l('Request', []), $this$function.a1l('Response', [Wildcard_instance])]));
1887
- $this$function.j1l('serialization', $this$function.a1l('Wirespec.Serialization', []));
1888
- $this$function.n1l(new RawExpression('new Wirespec.ClientEdge<>() {\n@Override public Wirespec.RawRequest to(Request request) {\n return toRawRequest(serialization, request);\n}\n@Override public Response<?> from(Wirespec.RawResponse response) {\n return fromRawResponse(serialization, response);\n}\n}'));
1887
+ $this$function.b1i($this$function.p1h('Wirespec.ClientEdge', [$this$function.p1h('Request', []), $this$function.p1h('Response', [Wildcard_instance])]));
1888
+ $this$function.y1h('serialization', $this$function.p1h('Wirespec.Serialization', []));
1889
+ $this$function.c1i(new RawExpression('new Wirespec.ClientEdge<>() {\n@Override public Wirespec.RawRequest to(Request request) {\n return toRawRequest(serialization, request);\n}\n@Override public Response<?> from(Wirespec.RawResponse response) {\n return fromRawResponse(serialization, response);\n}\n}'));
1889
1890
  return Unit_instance;
1890
1891
  }
1891
1892
  function buildHandlersStruct$lambda_0($pathTemplate, $this_buildHandlersStruct) {
1892
1893
  return function ($this$struct) {
1893
- $this$struct.f1o($this$struct.a1l('Wirespec.Server', [$this$struct.a1l('Request', []), $this$struct.a1l('Response', [Wildcard_instance])]));
1894
- $this$struct.f1o($this$struct.a1l('Wirespec.Client', [$this$struct.a1l('Request', []), $this$struct.a1l('Response', [Wildcard_instance])]));
1895
- $this$struct.o1l('getPathTemplate', VOID, true, buildHandlersStruct$lambda$lambda($pathTemplate));
1896
- $this$struct.o1l('getMethod', VOID, true, buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct));
1897
- $this$struct.o1l('getServer', VOID, true, buildHandlersStruct$lambda$lambda_1);
1898
- $this$struct.o1l('getClient', VOID, true, buildHandlersStruct$lambda$lambda_2);
1894
+ $this$struct.u1k($this$struct.p1h('Wirespec.Server', [$this$struct.p1h('Request', []), $this$struct.p1h('Response', [Wildcard_instance])]));
1895
+ $this$struct.u1k($this$struct.p1h('Wirespec.Client', [$this$struct.p1h('Request', []), $this$struct.p1h('Response', [Wildcard_instance])]));
1896
+ $this$struct.d1i('getPathTemplate', VOID, true, buildHandlersStruct$lambda$lambda($pathTemplate));
1897
+ $this$struct.d1i('getMethod', VOID, true, buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct));
1898
+ $this$struct.d1i('getServer', VOID, true, buildHandlersStruct$lambda$lambda_1);
1899
+ $this$struct.d1i('getClient', VOID, true, buildHandlersStruct$lambda$lambda_2);
1899
1900
  return Unit_instance;
1900
1901
  };
1901
1902
  }
1902
1903
  function withFullyQualifiedPrefix$lambda(it) {
1903
- return it.j1t_1.equals(Companion_getInstance().y1k('message'));
1904
+ return it.y1p_1.equals(Companion_getInstance().n1h('message'));
1904
1905
  }
1905
1906
  function withFullyQualifiedPrefix$lambda_0($prefix) {
1906
1907
  return function (param) {
1907
- var t = param.k1t_1;
1908
+ var t = param.z1p_1;
1908
1909
  var tmp;
1909
1910
  if (t instanceof Custom_0) {
1910
- tmp = param.m1t(VOID, t.x1q(Companion_getInstance().y1k($prefix + t.s1m_1.z1k())));
1911
+ tmp = param.b1q(VOID, t.m1n(Companion_getInstance().n1h($prefix + t.h1j_1.o1h())));
1911
1912
  } else {
1912
1913
  tmp = param;
1913
1914
  }
@@ -1918,8 +1919,8 @@ function JavaRefinedTypeDefinitionEmitter() {
1918
1919
  }
1919
1920
  function JavaShared() {
1920
1921
  JavaShared_instance = this;
1921
- this.n20_1 = 'community.flock.wirespec.java';
1922
- this.o20_1 = trimMargin('\n |package ' + this.n20_1 + ';\n |\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |import java.util.List;\n |import java.util.Map;\n |import java.util.Optional;\n |\n |public interface Wirespec {\n |' + Spacer_instance.toString() + 'interface Enum { String label(); }\n |' + Spacer_instance.toString() + 'interface Endpoint {}\n |' + Spacer_instance.toString() + 'interface Refined<T> { T value(); }\n |' + Spacer_instance.toString() + 'interface Path {}\n |' + Spacer_instance.toString() + 'interface Queries {}\n |' + Spacer_instance.toString() + 'interface Headers {}\n |' + Spacer_instance.toString() + 'interface Handler {}\n |' + Spacer_instance.toString() + 'interface ServerEdge<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.sv(2) + 'Req from(RawRequest request);\n |' + Spacer_instance.sv(2) + 'RawResponse to(Res response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface ClientEdge<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.sv(2) + 'RawRequest to(Req request);\n |' + Spacer_instance.sv(2) + 'Res from(RawResponse response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface Client<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.sv(2) + 'String getPathTemplate();\n |' + Spacer_instance.sv(2) + 'String getMethod();\n |' + Spacer_instance.sv(2) + 'ClientEdge<Req, Res> getClient(Serialization serialization);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface Server<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.sv(2) + 'String getPathTemplate();\n |' + Spacer_instance.sv(2) + 'String getMethod();\n |' + Spacer_instance.sv(2) + 'ServerEdge<Req, Res> getServer(Serialization serialization);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'enum Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + Spacer_instance.toString() + 'interface Request<T> { Path path(); Method method(); Queries queries(); Headers headers(); T body(); interface Headers extends Wirespec.Headers {} }\n |' + Spacer_instance.toString() + 'interface Response<T> { Integer status(); Headers headers(); T body(); interface Headers extends Wirespec.Headers {} }\n |' + Spacer_instance.toString() + 'interface Serialization extends Serializer, Deserializer {}\n |' + Spacer_instance.toString() + 'interface Serializer extends BodySerializer, PathSerializer, ParamSerializer {}\n |' + Spacer_instance.toString() + 'interface Deserializer extends BodyDeserializer, PathDeserializer, ParamDeserializer {}\n |' + Spacer_instance.toString() + 'interface BodySerialization extends BodySerializer, BodyDeserializer {}\n |' + Spacer_instance.toString() + 'interface BodySerializer { <T> byte[] serializeBody(T t, Type type); }\n |' + Spacer_instance.toString() + 'interface BodyDeserializer { <T> T deserializeBody(byte[] raw, Type type); }\n |' + Spacer_instance.toString() + 'interface PathSerialization extends PathSerializer, PathDeserializer {}\n |' + Spacer_instance.toString() + 'interface PathSerializer { <T> String serializePath(T t, Type type); }\n |' + Spacer_instance.toString() + 'interface PathDeserializer { <T> T deserializePath(String raw, Type type); }\n |' + Spacer_instance.toString() + 'interface ParamSerialization extends ParamSerializer, ParamDeserializer {}\n |' + Spacer_instance.toString() + 'interface ParamSerializer { <T> List<String> serializeParam(T value, Type type); }\n |' + Spacer_instance.toString() + 'interface ParamDeserializer { <T> T deserializeParam(List<String> values, Type type); }\n |' + Spacer_instance.toString() + 'record RawRequest(String method, List<String> path, Map<String, List<String>> queries, Map<String, List<String>> headers, Optional<byte[]> body) {}\n |' + Spacer_instance.toString() + 'record RawResponse(int statusCode, Map<String, List<String>> headers, Optional<byte[]> body) {}\n |' + Spacer_instance.toString() + 'static Type getType(final Class<?> actualTypeArguments, final Class<?> rawType) {\n |' + Spacer_instance.sv(2) + 'if(rawType != null) {\n |' + Spacer_instance.sv(3) + 'return new ParameterizedType() {\n |' + Spacer_instance.sv(4) + 'public Type getRawType() { return rawType; }\n |' + Spacer_instance.sv(4) + 'public Type[] getActualTypeArguments() { return new Class<?>[]{actualTypeArguments}; }\n |' + Spacer_instance.sv(4) + 'public Type getOwnerType() { return null; }\n |' + Spacer_instance.sv(3) + '};\n |' + Spacer_instance.sv(2) + '}\n |' + Spacer_instance.sv(2) + 'else { return actualTypeArguments; }\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1922
+ this.e1x_1 = 'community.flock.wirespec.java';
1923
+ this.f1x_1 = trimMargin('\n |package ' + this.e1x_1 + ';\n |\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |import java.util.List;\n |import java.util.Map;\n |import java.util.Optional;\n |\n |public interface Wirespec {\n |' + Spacer_instance.toString() + 'interface Enum { String label(); }\n |' + Spacer_instance.toString() + 'interface Endpoint {}\n |' + Spacer_instance.toString() + 'interface Refined<T> { T value(); }\n |' + Spacer_instance.toString() + 'interface Path {}\n |' + Spacer_instance.toString() + 'interface Queries {}\n |' + Spacer_instance.toString() + 'interface Headers {}\n |' + Spacer_instance.toString() + 'interface Handler {}\n |' + Spacer_instance.toString() + 'interface ServerEdge<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.hs(2) + 'Req from(RawRequest request);\n |' + Spacer_instance.hs(2) + 'RawResponse to(Res response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface ClientEdge<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.hs(2) + 'RawRequest to(Req request);\n |' + Spacer_instance.hs(2) + 'Res from(RawResponse response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface Client<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.hs(2) + 'String getPathTemplate();\n |' + Spacer_instance.hs(2) + 'String getMethod();\n |' + Spacer_instance.hs(2) + 'ClientEdge<Req, Res> getClient(Serialization serialization);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface Server<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.hs(2) + 'String getPathTemplate();\n |' + Spacer_instance.hs(2) + 'String getMethod();\n |' + Spacer_instance.hs(2) + 'ServerEdge<Req, Res> getServer(Serialization serialization);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'enum Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + Spacer_instance.toString() + 'interface Request<T> { Path path(); Method method(); Queries queries(); Headers headers(); T body(); interface Headers extends Wirespec.Headers {} }\n |' + Spacer_instance.toString() + 'interface Response<T> { Integer status(); Headers headers(); T body(); interface Headers extends Wirespec.Headers {} }\n |' + Spacer_instance.toString() + 'interface Serialization extends Serializer, Deserializer {}\n |' + Spacer_instance.toString() + 'interface Serializer extends BodySerializer, PathSerializer, ParamSerializer {}\n |' + Spacer_instance.toString() + 'interface Deserializer extends BodyDeserializer, PathDeserializer, ParamDeserializer {}\n |' + Spacer_instance.toString() + 'interface BodySerialization extends BodySerializer, BodyDeserializer {}\n |' + Spacer_instance.toString() + 'interface BodySerializer { <T> byte[] serializeBody(T t, Type type); }\n |' + Spacer_instance.toString() + 'interface BodyDeserializer { <T> T deserializeBody(byte[] raw, Type type); }\n |' + Spacer_instance.toString() + 'interface PathSerialization extends PathSerializer, PathDeserializer {}\n |' + Spacer_instance.toString() + 'interface PathSerializer { <T> String serializePath(T t, Type type); }\n |' + Spacer_instance.toString() + 'interface PathDeserializer { <T> T deserializePath(String raw, Type type); }\n |' + Spacer_instance.toString() + 'interface ParamSerialization extends ParamSerializer, ParamDeserializer {}\n |' + Spacer_instance.toString() + 'interface ParamSerializer { <T> List<String> serializeParam(T value, Type type); }\n |' + Spacer_instance.toString() + 'interface ParamDeserializer { <T> T deserializeParam(List<String> values, Type type); }\n |' + Spacer_instance.toString() + 'record RawRequest(String method, List<String> path, Map<String, List<String>> queries, Map<String, List<String>> headers, Optional<byte[]> body) {}\n |' + Spacer_instance.toString() + 'record RawResponse(int statusCode, Map<String, List<String>> headers, Optional<byte[]> body) {}\n |' + Spacer_instance.toString() + 'static Type getType(final Class<?> actualTypeArguments, final Class<?> rawType) {\n |' + Spacer_instance.hs(2) + 'if(rawType != null) {\n |' + Spacer_instance.hs(3) + 'return new ParameterizedType() {\n |' + Spacer_instance.hs(4) + 'public Type getRawType() { return rawType; }\n |' + Spacer_instance.hs(4) + 'public Type[] getActualTypeArguments() { return new Class<?>[]{actualTypeArguments}; }\n |' + Spacer_instance.hs(4) + 'public Type getOwnerType() { return null; }\n |' + Spacer_instance.hs(3) + '};\n |' + Spacer_instance.hs(2) + '}\n |' + Spacer_instance.hs(2) + 'else { return actualTypeArguments; }\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1923
1924
  }
1924
1925
  protoOf(JavaShared).toString = function () {
1925
1926
  return 'JavaShared';
@@ -1943,10 +1944,10 @@ function JavaShared_getInstance() {
1943
1944
  function emitType($this, _this__u8e3s4) {
1944
1945
  var tmp;
1945
1946
  if (_this__u8e3s4 instanceof Dict) {
1946
- tmp = 'java.util.Map<String, ' + $this.yt(_this__u8e3s4.ds_1) + '>';
1947
+ tmp = 'java.util.Map<String, ' + $this.nq(_this__u8e3s4.so_1) + '>';
1947
1948
  } else {
1948
1949
  if (_this__u8e3s4 instanceof Iterable) {
1949
- tmp = 'java.util.List<' + $this.yt(_this__u8e3s4.as_1) + '>';
1950
+ tmp = 'java.util.List<' + $this.nq(_this__u8e3s4.po_1) + '>';
1950
1951
  } else {
1951
1952
  if (_this__u8e3s4 instanceof Unit) {
1952
1953
  tmp = 'void';
@@ -1955,7 +1956,7 @@ function emitType($this, _this__u8e3s4) {
1955
1956
  tmp = 'Object';
1956
1957
  } else {
1957
1958
  if (_this__u8e3s4 instanceof Custom) {
1958
- tmp = _this__u8e3s4.my_1;
1959
+ tmp = _this__u8e3s4.bv_1;
1959
1960
  } else {
1960
1961
  if (_this__u8e3s4 instanceof Primitive) {
1961
1962
  tmp = emit_18($this, _this__u8e3s4);
@@ -1970,14 +1971,14 @@ function emitType($this, _this__u8e3s4) {
1970
1971
  return tmp;
1971
1972
  }
1972
1973
  function emit_18($this, _this__u8e3s4) {
1973
- var t = _this__u8e3s4.qy_1;
1974
+ var t = _this__u8e3s4.fv_1;
1974
1975
  var tmp;
1975
1976
  if (t instanceof String_0) {
1976
1977
  tmp = 'String';
1977
1978
  } else {
1978
1979
  if (t instanceof Integer) {
1979
1980
  var tmp_0;
1980
- switch (t.ux_1.c3_1) {
1981
+ switch (t.ju_1.b3_1) {
1981
1982
  case 0:
1982
1983
  tmp_0 = 'Integer';
1983
1984
  break;
@@ -1992,7 +1993,7 @@ function emit_18($this, _this__u8e3s4) {
1992
1993
  } else {
1993
1994
  if (t instanceof Number_0) {
1994
1995
  var tmp_1;
1995
- switch (t.xx_1.c3_1) {
1996
+ switch (t.mu_1.b3_1) {
1996
1997
  case 0:
1997
1998
  tmp_1 = 'Float';
1998
1999
  break;
@@ -2021,45 +2022,46 @@ function emit_18($this, _this__u8e3s4) {
2021
2022
  }
2022
2023
  function JavaTypeDefinitionEmitter$emit$lambda(this$0) {
2023
2024
  return function (it) {
2024
- return this$0.yt(it);
2025
+ return this$0.nq(it);
2025
2026
  };
2026
2027
  }
2027
2028
  function JavaTypeDefinitionEmitter$emit$lambda_0(this$0) {
2028
2029
  return function (it) {
2029
- return Spacer_instance.toString() + this$0.xt(it) + ',';
2030
+ return Spacer_instance.toString() + this$0.mq(it) + ',';
2030
2031
  };
2031
2032
  }
2032
2033
  function JavaTypeDefinitionEmitter() {
2033
2034
  }
2034
2035
  function JavaUnionDefinitionEmitter$emit$lambda(it) {
2035
- return it.m1();
2036
+ return it.l1();
2036
2037
  }
2037
2038
  function JavaUnionDefinitionEmitter() {
2038
2039
  }
2039
2040
  //region block: post-declaration
2040
- protoOf(JavaEmitter).yu = emit_13;
2041
- protoOf(JavaEmitter).vt = emit_3;
2042
- protoOf(JavaEmitter).wt = emit_4;
2043
- protoOf(JavaEmitter).xt = emit_5;
2044
- protoOf(JavaEmitter).yt = emit_6;
2045
- protoOf(JavaEmitter).zt = emit_7;
2046
- protoOf(JavaEmitter).lv = emit_9;
2047
- protoOf(JavaEmitter).q20 = emit_10;
2048
- protoOf(JavaEmitter).r20 = emit_11;
2049
- protoOf(JavaEmitter).zu = emit_8;
2050
- protoOf(JavaEmitter).kv = emit_14;
2051
- protoOf(JavaEmitter).av = emit_15;
2052
- protoOf(JavaEmitter).fv = emit_12;
2053
- protoOf(JavaEmitter).p20 = sanitizeSymbol;
2054
- protoOf(JavaEmitter).s20 = sanitizeFirstIsDigit;
2055
- protoOf(JavaEmitter).t20 = sanitizeKeywords;
2056
- protoOf(JavaEmitter).f20 = emitRoot;
2057
- protoOf(JavaEmitter).e20 = emitRoot$default;
2058
- protoOf(JavaEmitter).u20 = emitHandleFunction;
2059
- protoOf(JavaEmitter).mv = emitValidator;
2060
- protoOf(JavaIrEmitter).pr = emit_1;
2061
- protoOf(JavaIrEmitter).g1z = emit_2;
2062
- protoOf(JavaIrEmitter).j1z = beforeGenerate;
2041
+ protoOf(JavaEmitter).nr = emit_12;
2042
+ protoOf(JavaEmitter).kq = emit_3;
2043
+ protoOf(JavaEmitter).lq = emit_4;
2044
+ protoOf(JavaEmitter).mq = emit_5;
2045
+ protoOf(JavaEmitter).nq = emit_6;
2046
+ protoOf(JavaEmitter).oq = emit_7;
2047
+ protoOf(JavaEmitter).as = emit_9;
2048
+ protoOf(JavaEmitter).h1x = emit_10;
2049
+ protoOf(JavaEmitter).i1x = emit_11;
2050
+ protoOf(JavaEmitter).or = emit_8;
2051
+ protoOf(JavaEmitter).zr = emit_15;
2052
+ protoOf(JavaEmitter).pr = emit_13;
2053
+ protoOf(JavaEmitter).ur = emit_14;
2054
+ protoOf(JavaEmitter).g1x = sanitizeSymbol;
2055
+ protoOf(JavaEmitter).j1x = sanitizeFirstIsDigit;
2056
+ protoOf(JavaEmitter).k1x = sanitizeKeywords;
2057
+ protoOf(JavaEmitter).w1w = emitRoot;
2058
+ protoOf(JavaEmitter).v1w = emitRoot$default;
2059
+ protoOf(JavaEmitter).l1x = emitHandleFunction;
2060
+ protoOf(JavaEmitter).bs = emitValidator;
2061
+ protoOf(JavaIrEmitter).v1v = get_extensions;
2062
+ protoOf(JavaIrEmitter).eo = emit_1;
2063
+ protoOf(JavaIrEmitter).w1v = emit_2;
2064
+ protoOf(JavaIrEmitter).a1w = beforeGenerate;
2063
2065
  //endregion
2064
2066
  //region block: exports
2065
2067
  export {