@flock/wirespec 0.19.0-RC.3 → 0.19.0

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 (83) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +156 -156
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt-mordant.mjs.map +1 -1
  5. package/clikt-clikt.mjs +1547 -1547
  6. package/clikt-clikt.mjs.map +1 -1
  7. package/colormath-root-colormath.mjs +444 -444
  8. package/kotlin-kotlin-stdlib.mjs +2347 -5055
  9. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  10. package/kotlin-openapi-bindings.mjs +20865 -6871
  11. package/kotlin-openapi-bindings.mjs.map +1 -1
  12. package/kotlin-rgxgen.mjs +1806 -1806
  13. package/kotlinx-io-kotlinx-io-core.mjs +432 -432
  14. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  15. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2213 -2050
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  17. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1947 -1472
  18. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  19. package/mordant-mordant.mjs +1333 -1333
  20. package/package.json +14 -9
  21. package/wirespec-lsp.mjs +7 -0
  22. package/wirespec-msw.d.ts +53 -0
  23. package/wirespec-msw.mjs +83 -0
  24. package/wirespec-src-compiler-core.mjs +1752 -1688
  25. package/wirespec-src-compiler-core.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-java.mjs +457 -421
  27. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-kotlin.mjs +440 -341
  29. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-python.mjs +381 -382
  31. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  32. package/wirespec-src-compiler-emitters-rust.mjs +447 -424
  33. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  34. package/wirespec-src-compiler-emitters-scala.mjs +172 -173
  35. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  36. package/wirespec-src-compiler-emitters-typescript.mjs +475 -444
  37. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  38. package/wirespec-src-compiler-emitters-wirespec.mjs +83 -83
  39. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  40. package/wirespec-src-compiler-ir.mjs +3833 -3883
  41. package/wirespec-src-compiler-ir.mjs.map +1 -1
  42. package/wirespec-src-compiler-lib.mjs +418 -418
  43. package/wirespec-src-compiler-lib.mjs.map +1 -1
  44. package/wirespec-src-converter-avro.mjs +510 -510
  45. package/wirespec-src-converter-avro.mjs.map +1 -1
  46. package/wirespec-src-converter-openapi.mjs +1584 -1510
  47. package/wirespec-src-converter-openapi.mjs.map +1 -1
  48. package/wirespec-src-ide-lsp.mjs +4928 -0
  49. package/wirespec-src-ide-lsp.mjs.map +1 -0
  50. package/wirespec-src-plugin-arguments.mjs +183 -183
  51. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  52. package/wirespec-src-plugin-cli.mjs +106 -106
  53. package/wirespec-src-plugin-npm.d.mts +2 -11
  54. package/wirespec-src-plugin-npm.mjs +47 -42
  55. package/wirespec-src-plugin-npm.mjs.map +1 -1
  56. package/wirespec-src-tools-generator.mjs +53 -53
  57. package/wirespec-src-tools-generator.mjs.map +1 -1
  58. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +0 -4
  59. package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +0 -1
  60. package/kotest-kotest-assertions-kotest-assertions-core.mjs +0 -4
  61. package/kotest-kotest-assertions-kotest-assertions-core.mjs.map +0 -1
  62. package/kotest-kotest-assertions-kotest-assertions-shared.mjs +0 -4
  63. package/kotest-kotest-assertions-kotest-assertions-shared.mjs.map +0 -1
  64. package/kotest-kotest-common.mjs +0 -56
  65. package/kotest-kotest-common.mjs.map +0 -1
  66. package/kotest-kotest-framework-kotest-framework-engine.mjs +0 -4
  67. package/kotest-kotest-framework-kotest-framework-engine.mjs.map +0 -1
  68. package/kotest-kotest-property-kotest-property-datetime.mjs +0 -4
  69. package/kotest-kotest-property-kotest-property-datetime.mjs.map +0 -1
  70. package/kotest-kotest-property.mjs +0 -2400
  71. package/kotest-kotest-property.mjs.map +0 -1
  72. package/kotest-property-arbs.mjs +0 -4
  73. package/kotest-property-arbs.mjs.map +0 -1
  74. package/kotlinx-coroutines-test.mjs +0 -4
  75. package/kotlinx-coroutines-test.mjs.map +0 -1
  76. package/wirespec-generator.d.ts +0 -52
  77. package/wirespec-generator.mjs +0 -9
  78. package/wirespec-src-integration-kotest.mjs +0 -1455
  79. package/wirespec-src-integration-kotest.mjs.map +0 -1
  80. package/xmlutil-core.mjs +0 -4
  81. package/xmlutil-core.mjs.map +0 -1
  82. package/xmlutil-serialization.mjs +0 -4
  83. package/xmlutil-serialization.mjs.map +0 -1
@@ -173,11 +173,12 @@ import {
173
173
  RawExpression2bo7ldfrptjia as RawExpression,
174
174
  TypeDescriptor1hvcpxrtxcqsx as TypeDescriptor,
175
175
  convert2loxpwk8n2r8c as convert_5,
176
+ Custom_init_$Create$2enn7oyj71j1t as Custom_init_$Create$,
176
177
  Function21cuq8qizkin7 as Function,
177
178
  plusd54zq6f7l8fy as plus_3,
178
179
  Struct39wf79cwtn4ty as Struct,
179
- Interface3pn84xq686t2r as Interface,
180
180
  RawElement2yts1x2rbem1g as RawElement,
181
+ Interface3pn84xq686t2r as Interface,
181
182
  Assignment3kcxc8wlcbmkn as Assignment,
182
183
  ReturnStatement29qlfkn9kpy10 as ReturnStatement,
183
184
  Wildcard_instance2ga1ytfwj78ra as Wildcard_instance,
@@ -186,10 +187,10 @@ import {
186
187
  //endregion
187
188
  //region block: pre-declaration
188
189
  function emit_3(type, module_0) {
189
- var tmp = this.uu(type.ts_1);
190
- var tmp_0 = this.tt(type.us_1);
190
+ var tmp = this.nr(type.lp_1);
191
+ var tmp_0 = this.lq(type.mp_1);
191
192
  // Inline function 'kotlin.run' call
192
- var $this$run = type.vs_1;
193
+ var $this$run = type.np_1;
193
194
  var tmp_1;
194
195
  if ($this$run.r()) {
195
196
  tmp_1 = '';
@@ -200,23 +201,23 @@ function emit_3(type, module_0) {
200
201
  return trimMargin('\n |public record ' + tmp + ' (\n |' + tmp_0 + '\n |)' + tmp$ret$1 + ' {\n |};\n |\n ');
201
202
  }
202
203
  function emit_4(_this__u8e3s4) {
203
- return dropLast_0(joinToString(_this__u8e3s4.qs_1, '\n', VOID, VOID, VOID, VOID, JavaTypeDefinitionEmitter$emit$lambda_0(this)), 1);
204
+ return dropLast_0(joinToString(_this__u8e3s4.ip_1, '\n', VOID, VOID, VOID, VOID, JavaTypeDefinitionEmitter$emit$lambda_0(this)), 1);
204
205
  }
205
206
  function emit_5(_this__u8e3s4) {
206
- return this.vt(_this__u8e3s4.zs_1) + ' ' + this.uu(_this__u8e3s4.ys_1);
207
+ return this.nq(_this__u8e3s4.rp_1) + ' ' + this.nr(_this__u8e3s4.qp_1);
207
208
  }
208
209
  function emit_6(_this__u8e3s4) {
209
210
  // Inline function 'kotlin.let' call
210
211
  var it = emitType(this, _this__u8e3s4);
211
- return _this__u8e3s4.ay() ? 'java.util.Optional<' + it + '>' : it;
212
+ return _this__u8e3s4.tu() ? 'java.util.Optional<' + it + '>' : it;
212
213
  }
213
214
  function emitRoot(_this__u8e3s4, void_0) {
214
215
  var tmp;
215
216
  if (_this__u8e3s4 instanceof Dict) {
216
- tmp = this.w1z(_this__u8e3s4.as_1);
217
+ tmp = this.s1w(_this__u8e3s4.so_1);
217
218
  } else {
218
219
  if (_this__u8e3s4 instanceof Iterable) {
219
- tmp = this.w1z(_this__u8e3s4.xr_1);
220
+ tmp = this.s1w(_this__u8e3s4.po_1);
220
221
  } else {
221
222
  if (_this__u8e3s4 instanceof Unit) {
222
223
  tmp = void_0;
@@ -245,15 +246,15 @@ function emitRoot(_this__u8e3s4, void_0) {
245
246
  }
246
247
  function emitRoot$default(_this__u8e3s4, void_0, $super) {
247
248
  void_0 = void_0 === VOID ? 'void' : void_0;
248
- return $super === VOID ? this.x1z(_this__u8e3s4, void_0) : emitRoot(_this__u8e3s4, void_0);
249
+ return $super === VOID ? this.t1w(_this__u8e3s4, void_0) : emitRoot(_this__u8e3s4, void_0);
249
250
  }
250
251
  function emit_7(_this__u8e3s4) {
251
252
  var tmp;
252
253
  if (_this__u8e3s4 instanceof RegExp_0) {
253
- tmp = 'return java.util.regex.Pattern.compile("' + replace(this.xt(_this__u8e3s4.ww_1), '\\', '\\\\') + '").matcher(value).find();';
254
+ tmp = 'return java.util.regex.Pattern.compile("' + replace(this.pq(_this__u8e3s4.pt_1), '\\', '\\\\') + '").matcher(value).find();';
254
255
  } else {
255
256
  if (_this__u8e3s4 instanceof Bound) {
256
- var tmp1_safe_receiver = _this__u8e3s4.mx_1;
257
+ var tmp1_safe_receiver = _this__u8e3s4.fu_1;
257
258
  var tmp_0;
258
259
  if (tmp1_safe_receiver == null) {
259
260
  tmp_0 = null;
@@ -262,7 +263,7 @@ function emit_7(_this__u8e3s4) {
262
263
  tmp_0 = tmp1_safe_receiver + ' < value';
263
264
  }
264
265
  var minCheck = tmp_0;
265
- var tmp2_safe_receiver = _this__u8e3s4.nx_1;
266
+ var tmp2_safe_receiver = _this__u8e3s4.gu_1;
266
267
  var tmp_1;
267
268
  if (tmp2_safe_receiver == null) {
268
269
  tmp_1 = null;
@@ -288,16 +289,60 @@ function emit_7(_this__u8e3s4) {
288
289
  }
289
290
  initMetadataForInterface(JavaTypeDefinitionEmitter, 'JavaTypeDefinitionEmitter', VOID, VOID, [TypeDefinitionEmitter]);
290
291
  function emit_8(channel) {
291
- return trimMargin('\n |' + emitImports(this, channel) + '\n |\n |@FunctionalInterface\n |public interface ' + this.uu(channel.ks_1) + ' {\n | void invoke(' + emitFullyQualified(this, channel, channel.ls_1) + this.w1z(channel.ls_1) + ' message);\n |}\n |\n ');
292
+ 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.s1w(channel.dp_1) + ' message);\n |}\n |\n ');
292
293
  }
293
294
  initMetadataForInterface(JavaChannelDefinitionEmitter, 'JavaChannelDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
294
- function emit_9(identifier) {
295
+ function emit_9(refined) {
296
+ 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 ');
297
+ }
298
+ function emitValidator(_this__u8e3s4) {
299
+ var defaultReturn = 'return true;';
300
+ var type = _this__u8e3s4.tr_1.fv_1;
301
+ var tmp;
302
+ if (type instanceof Integer) {
303
+ var tmp0_safe_receiver = type.ku_1;
304
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.oq(tmp0_safe_receiver);
305
+ tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
306
+ } else {
307
+ if (type instanceof Number_0) {
308
+ var tmp2_safe_receiver = type.nu_1;
309
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.oq(tmp2_safe_receiver);
310
+ tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
311
+ } else {
312
+ if (type instanceof String_0) {
313
+ var tmp4_safe_receiver = type.hu_1;
314
+ var tmp_0;
315
+ var tmp_1 = tmp4_safe_receiver;
316
+ if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
317
+ tmp_0 = null;
318
+ } else {
319
+ tmp_0 = this.oq(new RegExp_0(tmp4_safe_receiver));
320
+ }
321
+ var tmp5_elvis_lhs = tmp_0;
322
+ tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
323
+ } else {
324
+ if (equals(type, Boolean_instance)) {
325
+ tmp = defaultReturn;
326
+ } else {
327
+ if (equals(type, Bytes_instance)) {
328
+ tmp = defaultReturn;
329
+ } else {
330
+ noWhenBranchMatchedException();
331
+ }
332
+ }
333
+ }
334
+ }
335
+ }
336
+ return tmp;
337
+ }
338
+ initMetadataForInterface(JavaRefinedTypeDefinitionEmitter, 'JavaRefinedTypeDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
339
+ function emit_10(identifier) {
295
340
  var tmp;
296
341
  if (identifier instanceof DefinitionIdentifier) {
297
- tmp = this.h20(identifier.m1());
342
+ tmp = this.d1x(identifier.l1());
298
343
  } else {
299
344
  if (identifier instanceof FieldIdentifier) {
300
- tmp = this.l20(this.h20(identifier.m1()));
345
+ tmp = this.h1x(this.d1x(identifier.l1()));
301
346
  } else {
302
347
  noWhenBranchMatchedException();
303
348
  }
@@ -315,11 +360,11 @@ function sanitizeSymbol(_this__u8e3s4) {
315
360
  var item = _iterator__ex2g4s.v();
316
361
  var _unary__edvuaz = index;
317
362
  index = _unary__edvuaz + 1 | 0;
318
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.mu(item) : item;
363
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.er(item) : item;
319
364
  destination.x(tmp$ret$0);
320
365
  }
321
366
  var tmp = asSequence(joinToString(destination, ''));
322
- return this.k20(joinToString_0(filter(tmp, JavaIdentifierEmitter$sanitizeSymbol$lambda), ''));
367
+ return this.g1x(joinToString_0(filter(tmp, JavaIdentifierEmitter$sanitizeSymbol$lambda), ''));
323
368
  }
324
369
  function sanitizeFirstIsDigit(_this__u8e3s4) {
325
370
  var tmp;
@@ -339,113 +384,69 @@ function sanitizeFirstIsDigit(_this__u8e3s4) {
339
384
  return tmp;
340
385
  }
341
386
  function sanitizeKeywords(_this__u8e3s4) {
342
- return Companion_getInstance_0().n20_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
387
+ return Companion_getInstance_0().j1x_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
343
388
  }
344
389
  initMetadataForInterface(JavaIdentifierEmitter, 'JavaIdentifierEmitter');
345
- function emit_10(enum_0, module_0) {
346
- var tmp = this.uu(enum_0.ev_1);
347
- return trimMargin('\n |public enum ' + tmp + ' implements Wirespec.Enum {\n |' + spacer(joinToString(enum_0.fv_1, ',\n', VOID, VOID, VOID, VOID, JavaEnumDefinitionEmitter$emit$lambda(this))) + ';\n |' + Spacer_instance.toString() + 'public final String label;\n |' + Spacer_instance.toString() + this.uu(enum_0.ev_1) + '(String label) {\n |' + Spacer_instance.ov(2) + 'this.label = label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() {\n |' + Spacer_instance.ov(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String label() {\n |' + Spacer_instance.ov(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
390
+ function emit_11(enum_0, module_0) {
391
+ var tmp = this.nr(enum_0.xr_1);
392
+ 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 ');
348
393
  }
349
394
  initMetadataForInterface(JavaEnumDefinitionEmitter, 'JavaEnumDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
350
- function emit_11(union) {
351
- var tmp = this.uu(union.os_1);
352
- return trimMargin('\n |public sealed interface ' + tmp + ' permits ' + joinToString(union.ps_1, VOID, VOID, VOID, VOID, VOID, JavaUnionDefinitionEmitter$emit$lambda) + ' {}\n |\n ');
395
+ function emit_12(union) {
396
+ var tmp = this.nr(union.gp_1);
397
+ return trimMargin('\n |public sealed interface ' + tmp + ' permits ' + joinToString(union.hp_1, VOID, VOID, VOID, VOID, VOID, JavaUnionDefinitionEmitter$emit$lambda) + ' {}\n |\n ');
353
398
  }
354
399
  initMetadataForInterface(JavaUnionDefinitionEmitter, 'JavaUnionDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
355
- function emit_12(refined) {
356
- return trimMargin('\n |public record ' + this.uu(refined.zu_1) + ' (' + this.vt(refined.av_1) + ' value) implements Wirespec.Refined<' + this.vt(refined.av_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.iv(refined) + '\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public ' + this.vt(refined.av_1) + ' value() { return value; }\n |}\n |\n ');
357
- }
358
- function emitValidator(_this__u8e3s4) {
359
- var defaultReturn = 'return true;';
360
- var type = _this__u8e3s4.av_1.my_1;
361
- var tmp;
362
- if (type instanceof Integer) {
363
- var tmp0_safe_receiver = type.rx_1;
364
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.wt(tmp0_safe_receiver);
365
- tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
366
- } else {
367
- if (type instanceof Number_0) {
368
- var tmp2_safe_receiver = type.ux_1;
369
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.wt(tmp2_safe_receiver);
370
- tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
371
- } else {
372
- if (type instanceof String_0) {
373
- var tmp4_safe_receiver = type.ox_1;
374
- var tmp_0;
375
- var tmp_1 = tmp4_safe_receiver;
376
- if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
377
- tmp_0 = null;
378
- } else {
379
- tmp_0 = this.wt(new RegExp_0(tmp4_safe_receiver));
380
- }
381
- var tmp5_elvis_lhs = tmp_0;
382
- tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
383
- } else {
384
- if (equals(type, Boolean_instance)) {
385
- tmp = defaultReturn;
386
- } else {
387
- if (equals(type, Bytes_instance)) {
388
- tmp = defaultReturn;
389
- } else {
390
- noWhenBranchMatchedException();
391
- }
392
- }
393
- }
394
- }
395
- }
396
- return tmp;
397
- }
398
- initMetadataForInterface(JavaRefinedTypeDefinitionEmitter, 'JavaRefinedTypeDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
399
400
  function emit_13(endpoint) {
400
401
  var tmp = emitImports_0(this, endpoint);
401
- var tmp_0 = this.uu(endpoint.ct_1);
402
+ var tmp_0 = this.nr(endpoint.up_1);
402
403
  var tmp_1 = get_pathParams(endpoint);
403
404
  var tmp_2 = emitObject(this, tmp_1, 'Path', 'Wirespec.Path', JavaEndpointDefinitionEmitter$emit$lambda(this));
404
- var tmp_3 = emitObject(this, endpoint.ft_1, 'Queries', 'Wirespec.Queries', JavaEndpointDefinitionEmitter$emit$lambda_0(this));
405
- var tmp_4 = emitObject(this, endpoint.gt_1, 'RequestHeaders', 'Wirespec.Request.Headers', JavaEndpointDefinitionEmitter$emit$lambda_1(this));
406
- var tmp_5 = this.i20(first_0(endpoint.ht_1), endpoint);
405
+ var tmp_3 = emitObject(this, endpoint.xp_1, 'Queries', 'Wirespec.Queries', JavaEndpointDefinitionEmitter$emit$lambda_0(this));
406
+ var tmp_4 = emitObject(this, endpoint.yp_1, 'RequestHeaders', 'Wirespec.Request.Headers', JavaEndpointDefinitionEmitter$emit$lambda_1(this));
407
+ var tmp_5 = this.e1x(first_0(endpoint.zp_1), endpoint);
407
408
  var tmp_6 = Spacer_instance.toString();
408
409
  var tmp_7 = emitStatusInterfaces(this, endpoint);
409
410
  var tmp_8 = emitResponseInterfaces(this, endpoint);
410
- var tmp_9 = distinctByStatus(endpoint.it_1);
411
+ var tmp_9 = distinctByStatus(endpoint.aq_1);
411
412
  var tmp_10 = joinToString(tmp_9, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_2(this));
412
413
  var tmp_11 = Spacer_instance.toString();
413
- var tmp_12 = emitRequestFunctions(this, first_0(endpoint.ht_1), endpoint);
414
- var tmp_13 = Spacer_instance.ov(2);
415
- var tmp_14 = distinctByStatus(endpoint.it_1);
414
+ var tmp_12 = emitRequestFunctions(this, first_0(endpoint.zp_1), endpoint);
415
+ var tmp_13 = Spacer_instance.hs(2);
416
+ var tmp_14 = distinctByStatus(endpoint.aq_1);
416
417
  var tmp_15 = joinToString(tmp_14, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_3(this));
417
- var tmp_16 = Spacer_instance.ov(3);
418
- var tmp_17 = Spacer_instance.ov(2);
419
- var tmp_18 = Spacer_instance.ov(2);
418
+ var tmp_16 = Spacer_instance.hs(3);
419
+ var tmp_17 = Spacer_instance.hs(2);
420
+ var tmp_18 = Spacer_instance.hs(2);
420
421
  var tmp_19 = emitFromResponse(this, endpoint);
421
- var tmp_20 = Spacer_instance.ov(2);
422
- var tmp_21 = Spacer_instance.ov(2);
423
- var tmp_22 = this.m20(endpoint);
424
- var tmp_23 = Spacer_instance.ov(2);
425
- var tmp_24 = Spacer_instance.ov(3);
426
- 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.et_1, '/', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_4) + '"; }\n |' + Spacer_instance.ov(3) + '@Override public String getMethod() { return "' + endpoint.dt_1.toString() + '"; }\n |' + Spacer_instance.ov(3) + '@Override public Wirespec.ServerEdge<Request, Response<?>> getServer(Wirespec.Serialization serialization) {\n |' + Spacer_instance.ov(4) + 'return new Wirespec.ServerEdge<>() {\n |' + Spacer_instance.ov(5) + '@Override public Request from(Wirespec.RawRequest request) { return fromRequest(serialization, request); }\n |' + Spacer_instance.ov(5) + '@Override public Wirespec.RawResponse to(Response<?> response) { return toResponse(serialization, response); }\n |' + Spacer_instance.ov(4) + '};\n |' + Spacer_instance.ov(3) + '}\n |' + Spacer_instance.ov(3) + '@Override public Wirespec.ClientEdge<Request, Response<?>> getClient(Wirespec.Serialization serialization) {\n |' + Spacer_instance.ov(4) + 'return new Wirespec.ClientEdge<>() {\n |' + Spacer_instance.ov(5) + '@Override public Wirespec.RawRequest to(Request request) { return toRequest(serialization, request); }\n |' + Spacer_instance.ov(5) + '@Override public Response<?> from(Wirespec.RawResponse response) { return fromResponse(serialization, response); }\n |' + Spacer_instance.ov(4) + '};\n |' + Spacer_instance.ov(3) + '}\n |' + Spacer_instance.ov(2) + '}\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
422
+ var tmp_20 = Spacer_instance.hs(2);
423
+ var tmp_21 = Spacer_instance.hs(2);
424
+ var tmp_22 = this.i1x(endpoint);
425
+ var tmp_23 = Spacer_instance.hs(2);
426
+ var tmp_24 = Spacer_instance.hs(3);
427
+ 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 ');
427
428
  }
428
429
  function emitHandleFunction(endpoint) {
429
- return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_instance_1.nu(this.uu(endpoint.ct_1)) + '(Request request);';
430
+ return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_instance_1.fr(this.nr(endpoint.up_1)) + '(Request request);';
430
431
  }
431
432
  function emit_14(_this__u8e3s4, endpoint) {
432
- return trimMargin('\n |' + Spacer_instance.toString() + 'record Request (\n |' + Spacer_instance.ov(2) + 'Path path,\n |' + Spacer_instance.ov(2) + 'Wirespec.Method method,\n |' + Spacer_instance.ov(2) + 'Queries queries,\n |' + Spacer_instance.ov(2) + 'RequestHeaders headers,\n |' + Spacer_instance.ov(2) + emit_16(this, _this__u8e3s4.lt_1) + ' body\n |' + Spacer_instance.toString() + ') implements Wirespec.Request<' + emit_16(this, _this__u8e3s4.lt_1) + '> {\n |' + Spacer_instance.ov(2) + emitConstructor(this, _this__u8e3s4, endpoint) + '\n |' + Spacer_instance.toString() + '}\n ');
433
+ 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 ');
433
434
  }
434
435
  function emit_15(_this__u8e3s4) {
435
436
  var tmp = Spacer_instance.toString();
436
- var tmp_0 = Companion_instance_1.mu(_this__u8e3s4.ot_1);
437
- var tmp_1 = Spacer_instance.ov(2);
438
- var tmp_2 = Spacer_instance.ov(2);
439
- var tmp_3 = Spacer_instance.ov(2);
440
- var tmp_4 = emit_16(this, _this__u8e3s4.qt_1);
437
+ var tmp_0 = Companion_instance_1.er(_this__u8e3s4.gq_1);
438
+ var tmp_1 = Spacer_instance.hs(2);
439
+ var tmp_2 = Spacer_instance.hs(2);
440
+ var tmp_3 = Spacer_instance.hs(2);
441
+ var tmp_4 = emit_16(this, _this__u8e3s4.iq_1);
441
442
  var tmp_5 = Spacer_instance.toString();
442
- var tmp_6 = toString_0(first(_this__u8e3s4.ot_1));
443
- var tmp_7 = emit_16(this, _this__u8e3s4.qt_1);
444
- var tmp_8 = concatGenerics(emit_16(this, _this__u8e3s4.qt_1));
445
- var tmp_9 = Spacer_instance.ov(2);
446
- var tmp_10 = Companion_instance_1.mu(_this__u8e3s4.ot_1);
447
- var tmp_11 = orNull(joinToString(_this__u8e3s4.pt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_5(this)));
448
- var tmp0_safe_receiver = _this__u8e3s4.qt_1;
443
+ var tmp_6 = toString_0(first(_this__u8e3s4.gq_1));
444
+ var tmp_7 = emit_16(this, _this__u8e3s4.iq_1);
445
+ var tmp_8 = concatGenerics(emit_16(this, _this__u8e3s4.iq_1));
446
+ var tmp_9 = Spacer_instance.hs(2);
447
+ var tmp_10 = Companion_instance_1.er(_this__u8e3s4.gq_1);
448
+ var tmp_11 = orNull(joinToString(_this__u8e3s4.hq_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_5(this)));
449
+ var tmp0_safe_receiver = _this__u8e3s4.iq_1;
449
450
  var tmp_12;
450
451
  if (tmp0_safe_receiver == null) {
451
452
  tmp_12 = null;
@@ -454,17 +455,17 @@ function emit_15(_this__u8e3s4) {
454
455
  tmp_12 = emit_16(this, tmp0_safe_receiver) + ' body';
455
456
  }
456
457
  var tmp_13 = joinToString(listOfNotNull([tmp_11, tmp_12]));
457
- var tmp_14 = Spacer_instance.ov(3);
458
- var tmp_15 = fixStatus(_this__u8e3s4.ot_1);
458
+ var tmp_14 = Spacer_instance.hs(3);
459
+ var tmp_15 = fixStatus(_this__u8e3s4.gq_1);
459
460
  // Inline function 'kotlin.let' call
460
- var tmp_16 = 'new Headers(' + joinToString(_this__u8e3s4.pt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_6(this)) + ')';
461
- var tmp_17 = _this__u8e3s4.qt_1 == null ? 'null' : 'body';
462
- var tmp_18 = Spacer_instance.ov(2);
463
- var tmp_19 = Spacer_instance.ov(1);
464
- 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.pt_1, 'Headers', 'Wirespec.Response.Headers', JavaEndpointDefinitionEmitter$emit$lambda_7(this)) + '\n |' + Spacer_instance.toString() + '}\n ');
461
+ var tmp_16 = 'new Headers(' + joinToString(_this__u8e3s4.hq_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_6(this)) + ')';
462
+ var tmp_17 = _this__u8e3s4.iq_1 == null ? 'null' : 'body';
463
+ var tmp_18 = Spacer_instance.hs(2);
464
+ var tmp_19 = Spacer_instance.hs(1);
465
+ 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 ');
465
466
  }
466
467
  initMetadataForInterface(JavaEndpointDefinitionEmitter, 'JavaEndpointDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
467
- initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, LanguageEmitter, [JavaEnumDefinitionEmitter, JavaUnionDefinitionEmitter, JavaRefinedTypeDefinitionEmitter, JavaIdentifierEmitter, JavaTypeDefinitionEmitter, JavaEndpointDefinitionEmitter, JavaChannelDefinitionEmitter, LanguageEmitter]);
468
+ initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, LanguageEmitter, [JavaRefinedTypeDefinitionEmitter, JavaEnumDefinitionEmitter, JavaChannelDefinitionEmitter, JavaUnionDefinitionEmitter, JavaIdentifierEmitter, JavaEndpointDefinitionEmitter, JavaTypeDefinitionEmitter, LanguageEmitter]);
468
469
  initMetadataForCompanion(Companion);
469
470
  initMetadataForCompanion(Companion_0);
470
471
  initMetadataForClass(JavaIrEmitter, 'JavaIrEmitter', JavaIrEmitter, VOID, [IrEmitter]);
@@ -478,7 +479,7 @@ function emitImports($this, _this__u8e3s4) {
478
479
  var _iterator__ex2g4s = tmp0.t();
479
480
  while (_iterator__ex2g4s.u()) {
480
481
  var element = _iterator__ex2g4s.v();
481
- if (!(_this__u8e3s4.tu().m1() === element.iy_1)) {
482
+ if (!(_this__u8e3s4.mr().l1() === element.bv_1)) {
482
483
  destination.x(element);
483
484
  }
484
485
  }
@@ -488,7 +489,7 @@ function emitImports($this, _this__u8e3s4) {
488
489
  var _iterator__ex2g4s_0 = destination.t();
489
490
  while (_iterator__ex2g4s_0.u()) {
490
491
  var item = _iterator__ex2g4s_0.v();
491
- var tmp$ret$3 = 'import ' + $this.v1z().kv_1 + '.model.' + item.iy_1 + ';';
492
+ var tmp$ret$3 = 'import ' + $this.r1w().ds_1 + '.model.' + item.bv_1 + ';';
492
493
  destination_0.x(tmp$ret$3);
493
494
  }
494
495
  var tmp = destination_0;
@@ -496,8 +497,8 @@ function emitImports($this, _this__u8e3s4) {
496
497
  }
497
498
  function emitFullyQualified($this, _this__u8e3s4, reference) {
498
499
  var tmp;
499
- if (_this__u8e3s4.tu().m1() === reference.m1()) {
500
- tmp = $this.v1z().kv_1 + '.model.';
500
+ if (_this__u8e3s4.mr().l1() === reference.l1()) {
501
+ tmp = $this.r1w().ds_1 + '.model.';
501
502
  } else {
502
503
  tmp = '';
503
504
  }
@@ -510,49 +511,49 @@ function JavaChannelDefinitionEmitter$emitImports$lambda(it) {
510
511
  function JavaChannelDefinitionEmitter() {
511
512
  }
512
513
  function JavaEmitter(packageName, emitShared) {
513
- packageName = packageName === VOID ? Companion_instance.jv('community.flock.wirespec.generated') : packageName;
514
- emitShared = emitShared === VOID ? Companion_instance_0.es() : emitShared;
514
+ packageName = packageName === VOID ? Companion_instance.cs('community.flock.wirespec.generated') : packageName;
515
+ emitShared = emitShared === VOID ? Companion_instance_0.wo() : emitShared;
515
516
  LanguageEmitter.call(this);
516
- this.y1z_1 = packageName;
517
- this.z1z_1 = emitShared;
518
- this.a20_1 = '\nimport community.flock.wirespec.java.Wirespec;\n';
519
- this.b20_1 = FileExtension_Java_getInstance();
520
- this.c20_1 = JavaShared_getInstance();
521
- this.d20_1 = '//';
522
- }
523
- protoOf(JavaEmitter).v1z = function () {
524
- return this.y1z_1;
517
+ this.u1w_1 = packageName;
518
+ this.v1w_1 = emitShared;
519
+ this.w1w_1 = '\nimport community.flock.wirespec.java.Wirespec;\n';
520
+ this.x1w_1 = FileExtension_Java_getInstance();
521
+ this.y1w_1 = JavaShared_getInstance();
522
+ this.z1w_1 = '//';
523
+ }
524
+ protoOf(JavaEmitter).r1w = function () {
525
+ return this.u1w_1;
525
526
  };
526
- protoOf(JavaEmitter).cu = function () {
527
- return this.b20_1;
527
+ protoOf(JavaEmitter).uq = function () {
528
+ return this.x1w_1;
528
529
  };
529
- protoOf(JavaEmitter).e20 = function () {
530
- return this.c20_1;
530
+ protoOf(JavaEmitter).a1x = function () {
531
+ return this.y1w_1;
531
532
  };
532
- protoOf(JavaEmitter).du = function () {
533
- return this.d20_1;
533
+ protoOf(JavaEmitter).vq = function () {
534
+ return this.z1w_1;
534
535
  };
535
- protoOf(JavaEmitter).ru = function (module_0, logger) {
536
+ protoOf(JavaEmitter).kr = function (module_0, logger) {
536
537
  // Inline function 'kotlin.let' call
537
- var it = protoOf(LanguageEmitter).ru.call(this, module_0, logger);
538
- return this.z1z_1.fs_1 ? NonEmptyList__plus_impl_xqmb9(it, new Emitted(Companion_instance.jv('community.flock.wirespec.java').mv() + 'Wirespec', this.e20().g20_1)) : it;
538
+ var it = protoOf(LanguageEmitter).kr.call(this, module_0, logger);
539
+ return this.v1w_1.xo_1 ? NonEmptyList__plus_impl_xqmb9(it, new Emitted(Companion_instance.cs('community.flock.wirespec.java').fs() + 'Wirespec', this.a1x().c1x_1)) : it;
539
540
  };
540
- protoOf(JavaEmitter).su = function (definition, module_0, logger) {
541
+ protoOf(JavaEmitter).lr = function (definition, module_0, logger) {
541
542
  // Inline function 'kotlin.let' call
542
- var it = protoOf(LanguageEmitter).su.call(this, definition, module_0, logger);
543
- var subPackageName = plus(this.v1z(), definition);
544
- var tmp = subPackageName.mv() + this.h20(it.gs_1);
543
+ var it = protoOf(LanguageEmitter).lr.call(this, definition, module_0, logger);
544
+ var subPackageName = plus(this.r1w(), definition);
545
+ var tmp = subPackageName.fs() + this.d1x(it.yo_1);
545
546
  // Inline function 'kotlin.text.trimStart' call
546
- var this_0 = trimMargin('\n |package ' + subPackageName.toString() + ';\n |' + (Companion_instance_1.ou(module_0) ? this.a20_1 : '') + '\n |' + it.hs_1 + '\n ');
547
+ var this_0 = trimMargin('\n |package ' + subPackageName.toString() + ';\n |' + (Companion_instance_1.gr(module_0) ? this.w1w_1 : '') + '\n |' + it.zo_1 + '\n ');
547
548
  var tmp$ret$0 = toString(trimStart(isCharSequence(this_0) ? this_0 : THROW_CCE()));
548
549
  return new Emitted(tmp, tmp$ret$0);
549
550
  };
550
551
  function emitGetType($this, _this__u8e3s4) {
551
- return 'Wirespec.getType(' + $this.x1z(_this__u8e3s4, 'Void') + '.class, ' + emitGetTypeRaw($this, _this__u8e3s4) + ')';
552
+ return 'Wirespec.getType(' + $this.t1w(_this__u8e3s4, 'Void') + '.class, ' + emitGetTypeRaw($this, _this__u8e3s4) + ')';
552
553
  }
553
554
  function emitGetTypeRaw($this, _this__u8e3s4) {
554
555
  var tmp;
555
- var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.ay();
556
+ var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.tu();
556
557
  if (tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs) {
557
558
  tmp = 'java.util.Optional.class';
558
559
  } else {
@@ -567,9 +568,9 @@ function emitGetTypeRaw($this, _this__u8e3s4) {
567
568
  function emitConstructor($this, _this__u8e3s4, endpoint) {
568
569
  var tmp = get_pathParams(endpoint);
569
570
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda($this)));
570
- var tmp_1 = orNull(joinToString(endpoint.ft_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_0($this)));
571
- var tmp_2 = orNull(joinToString(endpoint.gt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_1($this)));
572
- var tmp0_safe_receiver = _this__u8e3s4.lt_1;
571
+ var tmp_1 = orNull(joinToString(endpoint.xp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_0($this)));
572
+ var tmp_2 = orNull(joinToString(endpoint.yp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_1($this)));
573
+ var tmp0_safe_receiver = _this__u8e3s4.dq_1;
573
574
  var tmp_3;
574
575
  if (tmp0_safe_receiver == null) {
575
576
  tmp_3 = null;
@@ -578,112 +579,112 @@ function emitConstructor($this, _this__u8e3s4, endpoint) {
578
579
  tmp_3 = emit_16($this, tmp0_safe_receiver) + ' body';
579
580
  }
580
581
  var tmp_4 = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]));
581
- var tmp_5 = Spacer_instance.ov(3);
582
+ var tmp_5 = Spacer_instance.hs(3);
582
583
  var tmp_6 = get_pathParams(endpoint);
583
584
  // Inline function 'kotlin.let' call
584
585
  var tmp$ret$3 = 'new Path(' + joinToString(tmp_6, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_2($this)) + ')';
585
586
  var tmp1_elvis_lhs = orNull(tmp$ret$3);
586
587
  var tmp_7 = tmp1_elvis_lhs == null ? 'new Path()' : tmp1_elvis_lhs;
587
- var tmp_8 = 'Wirespec.Method.' + endpoint.dt_1.b3_1;
588
+ var tmp_8 = 'Wirespec.Method.' + endpoint.vp_1.a3_1;
588
589
  // Inline function 'kotlin.let' call
589
- var tmp$ret$5 = 'new Queries(' + joinToString(endpoint.ft_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_3($this)) + ')';
590
+ var tmp$ret$5 = 'new Queries(' + joinToString(endpoint.xp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_3($this)) + ')';
590
591
  var tmp2_elvis_lhs = orNull(tmp$ret$5);
591
592
  var tmp_9 = tmp2_elvis_lhs == null ? 'new Queries()' : tmp2_elvis_lhs;
592
593
  // Inline function 'kotlin.let' call
593
- var tmp$ret$7 = 'new RequestHeaders(' + joinToString(endpoint.gt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_4($this)) + ')';
594
+ var tmp$ret$7 = 'new RequestHeaders(' + joinToString(endpoint.yp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_4($this)) + ')';
594
595
  var tmp3_elvis_lhs = orNull(tmp$ret$7);
595
596
  var tmp_10 = tmp3_elvis_lhs == null ? 'new RequestHeaders()' : tmp3_elvis_lhs;
596
597
  var tmp_11;
597
- if (_this__u8e3s4.lt_1 == null) {
598
+ if (_this__u8e3s4.dq_1 == null) {
598
599
  tmp_11 = null;
599
600
  } else {
600
601
  // Inline function 'kotlin.let' call
601
602
  tmp_11 = 'body';
602
603
  }
603
604
  var tmp5_elvis_lhs = tmp_11;
604
- 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.ov(2) + '}';
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.hs(2) + '}';
605
606
  }
606
607
  function emitDeserializedParams($this, _this__u8e3s4, endpoint) {
607
608
  var tmp = get_indexedPathParams(endpoint);
608
609
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda($this)));
609
- var tmp_1 = orNull(joinToString(endpoint.ft_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
610
- var tmp_2 = orNull(joinToString(endpoint.gt_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
611
- var tmp0_safe_receiver = _this__u8e3s4.lt_1;
610
+ var tmp_1 = orNull(joinToString(endpoint.xp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
611
+ var tmp_2 = orNull(joinToString(endpoint.yp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
612
+ var tmp0_safe_receiver = _this__u8e3s4.dq_1;
612
613
  var tmp_3;
613
614
  if (tmp0_safe_receiver == null) {
614
615
  tmp_3 = null;
615
616
  } else {
616
617
  // Inline function 'kotlin.let' call
617
- tmp_3 = Spacer_instance.ov(4) + 'request.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.nt_1) + ')).orElse(null)';
618
+ 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)';
618
619
  }
619
620
  // Inline function 'kotlin.let' call
620
621
  var it = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]), ',\n');
621
- return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.ov(3);
622
+ return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.hs(3);
622
623
  }
623
624
  function emitDeserializedParams_0($this, _this__u8e3s4) {
624
- var tmp = orNull(joinToString(_this__u8e3s4.pt_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2($this)));
625
- var tmp0_safe_receiver = _this__u8e3s4.qt_1;
625
+ var tmp = orNull(joinToString(_this__u8e3s4.hq_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2($this)));
626
+ var tmp0_safe_receiver = _this__u8e3s4.iq_1;
626
627
  var tmp_0;
627
628
  if (tmp0_safe_receiver == null) {
628
629
  tmp_0 = null;
629
630
  } else {
630
631
  // Inline function 'kotlin.let' call
631
- tmp_0 = Spacer_instance.ov(5) + 'response.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.nt_1) + ')).orElse(null)';
632
+ 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)';
632
633
  }
633
634
  // Inline function 'kotlin.let' call
634
635
  var it = joinToString(listOfNotNull([tmp, tmp_0]), ',\n');
635
- return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.ov(4);
636
+ return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.hs(4);
636
637
  }
637
638
  function emitSerialized($this, _this__u8e3s4) {
638
639
  var tmp;
639
- if (!(_this__u8e3s4.qt_1 == null)) {
640
- tmp = 'java.util.Optional.ofNullable(serialization.serializeBody(r.body, ' + emitGetType($this, ensureNotNull(_this__u8e3s4.qt_1).nt_1) + '))';
640
+ if (!(_this__u8e3s4.iq_1 == null)) {
641
+ tmp = 'java.util.Optional.ofNullable(serialization.serializeBody(r.body, ' + emitGetType($this, ensureNotNull(_this__u8e3s4.iq_1).fq_1) + '))';
641
642
  } else {
642
643
  tmp = 'java.util.Optional.empty()';
643
644
  }
644
645
  var body = tmp;
645
646
  var tmp_0;
646
647
  // Inline function 'kotlin.collections.isNotEmpty' call
647
- if (!_this__u8e3s4.pt_1.r()) {
648
- tmp_0 = 'java.util.Map.ofEntries(' + joinToString(_this__u8e3s4.pt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitSerialized$lambda($this)) + ')';
648
+ if (!_this__u8e3s4.hq_1.r()) {
649
+ tmp_0 = 'java.util.Map.ofEntries(' + joinToString(_this__u8e3s4.hq_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitSerialized$lambda($this)) + ')';
649
650
  } else {
650
651
  tmp_0 = 'java.util.Collections.emptyMap()';
651
652
  }
652
653
  var headers = tmp_0;
653
- return Spacer_instance.ov(3) + 'if (response instanceof Response' + Companion_instance_1.mu(_this__u8e3s4.ot_1) + ' r) { return new Wirespec.RawResponse(r.status(), ' + headers + ', ' + body + '); }';
654
+ 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 + '); }';
654
655
  }
655
656
  function emitDeserialized($this, _this__u8e3s4) {
656
- return Spacer_instance.ov(4) + 'case ' + _this__u8e3s4.ot_1 + ' -> new Response' + Companion_instance_1.mu(_this__u8e3s4.ot_1) + '(' + emitDeserializedParams_0($this, _this__u8e3s4) + ');';
657
+ 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) + ');';
657
658
  }
658
659
  function emitSerializedParams($this, _this__u8e3s4, fields) {
659
- return 'java.util.Map.entry("' + _this__u8e3s4.ys_1.m1() + '", serialization.serializeParam(request.' + (fields === 'queries' ? 'queries' : 'headers') + '().' + $this.uu(_this__u8e3s4.ys_1) + '(), ' + emitGetType($this, _this__u8e3s4.zs_1) + '))';
660
+ 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) + '))';
660
661
  }
661
662
  function emitDeserialized_0($this, _this__u8e3s4) {
662
- return Spacer_instance.ov(4) + 'serialization.deserializePath(request.path().get(' + _this__u8e3s4.if_1 + '), ' + emitGetType($this, _this__u8e3s4.jf_1.kt_1) + ')';
663
+ return Spacer_instance.hs(4) + 'serialization.deserializePath(request.path().get(' + _this__u8e3s4.te_1 + '), ' + emitGetType($this, _this__u8e3s4.ue_1.cq_1) + ')';
663
664
  }
664
665
  function emitDeserializedParams_1($this, _this__u8e3s4, fields, caseSensitive) {
665
666
  var tmp;
666
667
  if (caseSensitive) {
667
- tmp = 'request.' + fields + '().getOrDefault("' + _this__u8e3s4.ys_1.m1() + '", java.util.Collections.emptyList())';
668
+ tmp = 'request.' + fields + '().getOrDefault("' + _this__u8e3s4.qp_1.l1() + '", java.util.Collections.emptyList())';
668
669
  } else {
669
- tmp = 'request.' + fields + '().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + _this__u8e3s4.ys_1.m1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList())';
670
+ 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())';
670
671
  }
671
672
  var valuesFromField = tmp;
672
- return Spacer_instance.ov(4) + 'serialization.<' + $this.vt(_this__u8e3s4.zs_1) + '>deserializeParam(' + valuesFromField + ', ' + emitGetType($this, _this__u8e3s4.zs_1) + ')';
673
+ return Spacer_instance.hs(4) + 'serialization.<' + $this.nq(_this__u8e3s4.rp_1) + '>deserializeParam(' + valuesFromField + ', ' + emitGetType($this, _this__u8e3s4.rp_1) + ')';
673
674
  }
674
675
  function emitSerializedHeader($this, _this__u8e3s4) {
675
- return 'java.util.Map.entry("' + _this__u8e3s4.ys_1.m1() + '", serialization.<' + $this.vt(_this__u8e3s4.zs_1) + '>serializeParam(r.headers().' + $this.uu(_this__u8e3s4.ys_1) + '(), ' + emitGetType($this, _this__u8e3s4.zs_1) + '))';
676
+ 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) + '))';
676
677
  }
677
678
  function emitIdentifier($this, _this__u8e3s4) {
678
- return 'serialization.serializePath(request.path().' + Companion_instance_1.nu($this.uu(_this__u8e3s4.jt_1)) + '(), ' + emitGetType($this, _this__u8e3s4.kt_1) + ')';
679
+ return 'serialization.serializePath(request.path().' + Companion_instance_1.fr($this.nr(_this__u8e3s4.bq_1)) + '(), ' + emitGetType($this, _this__u8e3s4.cq_1) + ')';
679
680
  }
680
681
  function emit_16($this, _this__u8e3s4) {
681
- var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.nt_1;
682
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.vt(tmp1_safe_receiver);
682
+ var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.fq_1;
683
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.nq(tmp1_safe_receiver);
683
684
  return tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
684
685
  }
685
686
  function emit_17($this, _this__u8e3s4) {
686
- return $this.vt(_this__u8e3s4.kt_1) + ' ' + $this.uu(_this__u8e3s4.jt_1);
687
+ return $this.nq(_this__u8e3s4.cq_1) + ' ' + $this.nr(_this__u8e3s4.bq_1);
687
688
  }
688
689
  function emitImports_0($this, _this__u8e3s4) {
689
690
  // Inline function 'kotlin.collections.filter' call
@@ -693,7 +694,7 @@ function emitImports_0($this, _this__u8e3s4) {
693
694
  var _iterator__ex2g4s = tmp0.t();
694
695
  while (_iterator__ex2g4s.u()) {
695
696
  var element = _iterator__ex2g4s.v();
696
- if (!(_this__u8e3s4.tu().m1() === element.iy_1)) {
697
+ if (!(_this__u8e3s4.mr().l1() === element.bv_1)) {
697
698
  destination.x(element);
698
699
  }
699
700
  }
@@ -703,46 +704,46 @@ function emitImports_0($this, _this__u8e3s4) {
703
704
  var _iterator__ex2g4s_0 = destination.t();
704
705
  while (_iterator__ex2g4s_0.u()) {
705
706
  var item = _iterator__ex2g4s_0.v();
706
- var tmp$ret$3 = 'import ' + $this.v1z().kv_1 + '.model.' + item.iy_1 + ';';
707
+ var tmp$ret$3 = 'import ' + $this.r1w().ds_1 + '.model.' + item.bv_1 + ';';
707
708
  destination_0.x(tmp$ret$3);
708
709
  }
709
710
  var tmp = destination_0;
710
711
  return joinToString(tmp, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitImports$lambda);
711
712
  }
712
713
  function emitRequestFunctions($this, _this__u8e3s4, endpoint) {
713
- var tmp = Spacer_instance.ov(2);
714
- var tmp_0 = Spacer_instance.ov(3);
715
- var tmp_1 = Spacer_instance.ov(4);
716
- var tmp_2 = Spacer_instance.ov(4);
717
- var tmp_3 = joinToString(endpoint.et_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda($this));
718
- var tmp_4 = Spacer_instance.ov(4);
714
+ var tmp = Spacer_instance.hs(2);
715
+ var tmp_0 = Spacer_instance.hs(3);
716
+ var tmp_1 = Spacer_instance.hs(4);
717
+ var tmp_2 = Spacer_instance.hs(4);
718
+ var tmp_3 = joinToString(endpoint.wp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda($this));
719
+ var tmp_4 = Spacer_instance.hs(4);
719
720
  var tmp_5;
720
721
  // Inline function 'kotlin.collections.isNotEmpty' call
721
- if (!endpoint.ft_1.r()) {
722
- tmp_5 = 'java.util.Map.ofEntries(' + joinToString(endpoint.ft_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_0($this)) + ')';
722
+ if (!endpoint.xp_1.r()) {
723
+ tmp_5 = 'java.util.Map.ofEntries(' + joinToString(endpoint.xp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_0($this)) + ')';
723
724
  } else {
724
725
  tmp_5 = 'java.util.Collections.emptyMap()';
725
726
  }
726
727
  var tmp_6 = tmp_5;
727
- var tmp_7 = Spacer_instance.ov(4);
728
+ var tmp_7 = Spacer_instance.hs(4);
728
729
  var tmp_8;
729
730
  // Inline function 'kotlin.collections.isNotEmpty' call
730
- if (!endpoint.gt_1.r()) {
731
- tmp_8 = 'java.util.Map.ofEntries(' + joinToString(endpoint.gt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1($this)) + ')';
731
+ if (!endpoint.yp_1.r()) {
732
+ tmp_8 = 'java.util.Map.ofEntries(' + joinToString(endpoint.yp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1($this)) + ')';
732
733
  } else {
733
734
  tmp_8 = 'java.util.Collections.emptyMap()';
734
735
  }
735
736
  var tmp_9 = tmp_8;
736
- var tmp_10 = Spacer_instance.ov(4);
737
+ var tmp_10 = Spacer_instance.hs(4);
737
738
  var tmp_11;
738
- if (!(_this__u8e3s4.lt_1 == null)) {
739
- var tmp0_safe_receiver = _this__u8e3s4.lt_1;
740
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.nt_1;
739
+ if (!(_this__u8e3s4.dq_1 == null)) {
740
+ var tmp0_safe_receiver = _this__u8e3s4.dq_1;
741
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fq_1;
741
742
  tmp_11 = 'java.util.Optional.ofNullable(serialization.serializeBody(request.body(), ' + (tmp1_safe_receiver == null ? null : emitGetType($this, tmp1_safe_receiver)) + '))';
742
743
  } else {
743
744
  tmp_11 = 'java.util.Optional.empty()';
744
745
  }
745
- 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.ov(3) + ');\n |' + Spacer_instance.ov(2) + '}\n |\n |' + Spacer_instance.ov(2) + 'static Request fromRequest(Wirespec.Deserializer serialization, Wirespec.RawRequest request) {\n |' + Spacer_instance.ov(3) + 'return new Request(' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + ');\n |' + Spacer_instance.ov(2) + '}\n ');
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.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 ');
746
747
  }
747
748
  function emitObject($this, _this__u8e3s4, name, extends_0, block) {
748
749
  var tmp;
@@ -756,13 +757,13 @@ function emitObject($this, _this__u8e3s4, name, extends_0, block) {
756
757
  }
757
758
  function emitResponseInterfaces($this, _this__u8e3s4) {
758
759
  // Inline function 'kotlin.collections.map' call
759
- var this_0 = distinctByStatus(_this__u8e3s4.it_1);
760
+ var this_0 = distinctByStatus(_this__u8e3s4.aq_1);
760
761
  // Inline function 'kotlin.collections.mapTo' call
761
762
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
762
763
  var _iterator__ex2g4s = this_0.t();
763
764
  while (_iterator__ex2g4s.u()) {
764
765
  var item = _iterator__ex2g4s.v();
765
- var tmp$ret$0 = emit_16($this, item.qt_1);
766
+ var tmp$ret$0 = emit_16($this, item.iq_1);
766
767
  destination.x(tmp$ret$0);
767
768
  }
768
769
  var tmp = distinct(destination);
@@ -770,13 +771,13 @@ function emitResponseInterfaces($this, _this__u8e3s4) {
770
771
  }
771
772
  function emitStatusInterfaces($this, _this__u8e3s4) {
772
773
  // Inline function 'kotlin.collections.map' call
773
- var this_0 = _this__u8e3s4.it_1;
774
+ var this_0 = _this__u8e3s4.aq_1;
774
775
  // Inline function 'kotlin.collections.mapTo' call
775
776
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
776
777
  var _iterator__ex2g4s = this_0.t();
777
778
  while (_iterator__ex2g4s.u()) {
778
779
  var item = _iterator__ex2g4s.v();
779
- var tmp$ret$0 = new Char(first(item.ot_1));
780
+ var tmp$ret$0 = new Char(first(item.gq_1));
780
781
  destination.x(tmp$ret$0);
781
782
  }
782
783
  var tmp = distinct(destination);
@@ -784,26 +785,26 @@ function emitStatusInterfaces($this, _this__u8e3s4) {
784
785
  }
785
786
  function emitFromResponse($this, _this__u8e3s4) {
786
787
  // Inline function 'kotlin.collections.filter' call
787
- var tmp0 = distinctByStatus(_this__u8e3s4.it_1);
788
+ var tmp0 = distinctByStatus(_this__u8e3s4.aq_1);
788
789
  // Inline function 'kotlin.collections.filterTo' call
789
790
  var destination = ArrayList_init_$Create$();
790
791
  var _iterator__ex2g4s = tmp0.t();
791
792
  while (_iterator__ex2g4s.u()) {
792
793
  var element = _iterator__ex2g4s.v();
793
- if (Companion_instance_1.pu(element.ot_1)) {
794
+ if (Companion_instance_1.ir(element.gq_1)) {
794
795
  destination.x(element);
795
796
  }
796
797
  }
797
798
  var statusResponses = destination;
798
799
  var tmp;
799
800
  if (statusResponses.r()) {
800
- tmp = trimMargin('\n |' + Spacer_instance.ov(3) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n ');
801
+ tmp = trimMargin('\n |' + Spacer_instance.hs(3) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n ');
801
802
  } else if (statusResponses.a1() === 1) {
802
803
  var response = first_0(statusResponses);
803
- tmp = trimMargin('\n |' + Spacer_instance.ov(3) + 'if (response.statusCode() == ' + response.ot_1 + ') {\n |' + Spacer_instance.ov(4) + 'return new Response' + Companion_instance_1.mu(response.ot_1) + '(' + emitDeserializedParams_0($this, response) + ');\n |' + Spacer_instance.ov(3) + '} else {\n |' + Spacer_instance.ov(4) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.ov(3) + '}\n ');
804
+ 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 ');
804
805
  } else {
805
- var tmp_0 = Spacer_instance.ov(3);
806
- tmp = trimMargin('\n |' + tmp_0 + 'return switch (response.statusCode()) {\n |' + joinToString(statusResponses, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitFromResponse$lambda($this)) + '\n |' + Spacer_instance.ov(4) + 'default -> throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.ov(3) + '};\n ');
806
+ var tmp_0 = Spacer_instance.hs(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.hs(4) + 'default -> throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.hs(3) + '};\n ');
807
808
  }
808
809
  return tmp;
809
810
  }
@@ -814,17 +815,17 @@ function JavaEndpointDefinitionEmitter$emit$lambda(this$0) {
814
815
  }
815
816
  function JavaEndpointDefinitionEmitter$emit$lambda_0(this$0) {
816
817
  return function (it) {
817
- return this$0.ut(it);
818
+ return this$0.mq(it);
818
819
  };
819
820
  }
820
821
  function JavaEndpointDefinitionEmitter$emit$lambda_1(this$0) {
821
822
  return function (it) {
822
- return this$0.ut(it);
823
+ return this$0.mq(it);
823
824
  };
824
825
  }
825
826
  function JavaEndpointDefinitionEmitter$emit$lambda_2(this$0) {
826
827
  return function (it) {
827
- return this$0.j20(it);
828
+ return this$0.f1x(it);
828
829
  };
829
830
  }
830
831
  function JavaEndpointDefinitionEmitter$emit$lambda_3(this$0) {
@@ -842,27 +843,27 @@ function JavaEndpointDefinitionEmitter$emitConstructor$lambda(this$0) {
842
843
  }
843
844
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_0(this$0) {
844
845
  return function (it) {
845
- return this$0.ut(it);
846
+ return this$0.mq(it);
846
847
  };
847
848
  }
848
849
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_1(this$0) {
849
850
  return function (it) {
850
- return this$0.ut(it);
851
+ return this$0.mq(it);
851
852
  };
852
853
  }
853
854
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_2(this$0) {
854
855
  return function (it) {
855
- return this$0.uu(it.jt_1);
856
+ return this$0.nr(it.bq_1);
856
857
  };
857
858
  }
858
859
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_3(this$0) {
859
860
  return function (it) {
860
- return this$0.uu(it.ys_1);
861
+ return this$0.nr(it.qp_1);
861
862
  };
862
863
  }
863
864
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_4(this$0) {
864
865
  return function (it) {
865
- return this$0.uu(it.ys_1);
866
+ return this$0.nr(it.qp_1);
866
867
  };
867
868
  }
868
869
  function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda(this$0) {
@@ -882,22 +883,22 @@ function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1(this$0) {
882
883
  }
883
884
  function JavaEndpointDefinitionEmitter$emit$lambda_5(this$0) {
884
885
  return function (it) {
885
- return this$0.ut(it);
886
+ return this$0.mq(it);
886
887
  };
887
888
  }
888
889
  function JavaEndpointDefinitionEmitter$emit$lambda_6(this$0) {
889
890
  return function (it) {
890
- return this$0.uu(it.ys_1);
891
+ return this$0.nr(it.qp_1);
891
892
  };
892
893
  }
893
894
  function JavaEndpointDefinitionEmitter$emit$lambda_7(this$0) {
894
895
  return function (it) {
895
- return this$0.ut(it);
896
+ return this$0.mq(it);
896
897
  };
897
898
  }
898
899
  function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2(this$0) {
899
900
  return function (it) {
900
- return Spacer_instance.ov(5) + 'serialization.<' + this$0.vt(it.zs_1) + '>deserializeParam(response.headers().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + it.ys_1.m1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList()), ' + emitGetType(this$0, it.zs_1) + ')';
901
+ 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) + ')';
901
902
  };
902
903
  }
903
904
  function JavaEndpointDefinitionEmitter$emitSerialized$lambda(this$0) {
@@ -913,7 +914,7 @@ function JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda(this$0) {
913
914
  return function (it) {
914
915
  var tmp;
915
916
  if (it instanceof Literal) {
916
- tmp = '"' + it.fu_1 + '"';
917
+ tmp = '"' + it.xq_1 + '"';
917
918
  } else {
918
919
  if (it instanceof Param) {
919
920
  tmp = emitIdentifier(this$0, it);
@@ -936,7 +937,7 @@ function JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1(this$0) {
936
937
  }
937
938
  function JavaEndpointDefinitionEmitter$emitObject$lambda($block) {
938
939
  return function (it) {
939
- return Spacer_instance.ov(2) + $block(it);
940
+ return Spacer_instance.hs(2) + $block(it);
940
941
  };
941
942
  }
942
943
  function JavaEndpointDefinitionEmitter$emitResponseInterfaces$lambda(it) {
@@ -956,7 +957,7 @@ function sanitizeNegative($this, _this__u8e3s4) {
956
957
  return startsWith(_this__u8e3s4, '-') ? '__' + substring(_this__u8e3s4, 1) : _this__u8e3s4;
957
958
  }
958
959
  function sanitizeEnum($this, _this__u8e3s4) {
959
- return $this.l20($this.k20(joinToString(split(sanitizeNegative($this, _this__u8e3s4), ['-', ', ', '.', ' ', '//']), '_')));
960
+ return $this.h1x($this.g1x(joinToString(split(sanitizeNegative($this, _this__u8e3s4), ['-', ', ', '.', ' ', '//']), '_')));
960
961
  }
961
962
  function JavaEnumDefinitionEmitter$emit$lambda(this$0) {
962
963
  return function (it) {
@@ -967,7 +968,7 @@ function JavaEnumDefinitionEmitter() {
967
968
  }
968
969
  function Companion() {
969
970
  Companion_instance_2 = this;
970
- this.n20_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']);
971
+ this.j1x_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']);
971
972
  }
972
973
  var Companion_instance_2;
973
974
  function Companion_getInstance_0() {
@@ -976,7 +977,7 @@ function Companion_getInstance_0() {
976
977
  return Companion_instance_2;
977
978
  }
978
979
  function JavaIdentifierEmitter$sanitizeSymbol$lambda(it) {
979
- return isLetterOrDigit(it.h1_1) || listOf(new Char(_Char___init__impl__6a9atx(95))).v1(it);
980
+ return isLetterOrDigit(it.h1_1) || listOf(new Char(_Char___init__impl__6a9atx(95))).u1(it);
980
981
  }
981
982
  function JavaIdentifierEmitter() {
982
983
  }
@@ -991,7 +992,7 @@ function sanitizeSymbol_0($this, _this__u8e3s4) {
991
992
  var item = _iterator__ex2g4s.v();
992
993
  var _unary__edvuaz = index;
993
994
  index = _unary__edvuaz + 1 | 0;
994
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.mu(item) : item;
995
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.er(item) : item;
995
996
  destination.x(tmp$ret$0);
996
997
  }
997
998
  // Inline function 'kotlin.text.filter' call
@@ -1031,14 +1032,14 @@ function sanitizeFirstIsDigit_0($this, _this__u8e3s4) {
1031
1032
  return tmp;
1032
1033
  }
1033
1034
  function sanitizeKeywords_0($this, _this__u8e3s4) {
1034
- return Companion_getInstance_1().o20_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1035
+ return Companion_getInstance_1().k1x_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1035
1036
  }
1036
1037
  function sanitizeEnum_0($this, _this__u8e3s4) {
1037
1038
  return sanitizeKeywords_0($this, sanitizeFirstIsDigit_0($this, joinToString(split(_this__u8e3s4, ['-', ', ', '.', ' ', '//']), '_')));
1038
1039
  }
1039
1040
  function Companion_0() {
1040
1041
  Companion_instance_3 = this;
1041
- this.o20_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']);
1042
+ this.k1x_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']);
1042
1043
  }
1043
1044
  var Companion_instance_3;
1044
1045
  function Companion_getInstance_1() {
@@ -1050,10 +1051,10 @@ function JavaIrEmitter$sanitizationConfig$lambda(it) {
1050
1051
  return '_' + it;
1051
1052
  }
1052
1053
  function JavaIrEmitter$sanitizationConfig$lambda_0(name) {
1053
- return name.s1k_1.a1() > 1 ? new Name(listOf(name.v1p())) : name;
1054
+ return name.l1h_1.a1() > 1 ? new Name(listOf(name.q1m())) : name;
1054
1055
  }
1055
1056
  function JavaIrEmitter$sanitizationConfig$lambda_1(name) {
1056
- return new Name(listOf(name.v1p()));
1057
+ return new Name(listOf(name.q1m()));
1057
1058
  }
1058
1059
  function JavaIrEmitter$sanitizationConfig$lambda_2(this$0) {
1059
1060
  return function (it) {
@@ -1064,23 +1065,23 @@ function JavaIrEmitter$sanitizationConfig$lambda_3(stmt, tr) {
1064
1065
  var tmp;
1065
1066
  var tmp_0;
1066
1067
  if (stmt instanceof FunctionCall) {
1067
- tmp_0 = stmt.f1q_1.p1m() === 'validate';
1068
+ tmp_0 = stmt.z1m_1.j1j() === 'validate';
1068
1069
  } else {
1069
1070
  tmp_0 = false;
1070
1071
  }
1071
1072
  if (tmp_0) {
1072
- tmp = transformChildren(stmt.j1q(VOID, emptyList()), tr);
1073
+ tmp = transformChildren(stmt.d1n(VOID, emptyList()), tr);
1073
1074
  } else {
1074
1075
  tmp = transformChildren(stmt, tr);
1075
1076
  }
1076
1077
  return tmp;
1077
1078
  }
1078
1079
  function JavaIrEmitter$emitShared$lambda(name) {
1079
- switch (name.p1m()) {
1080
+ switch (name.j1j()) {
1080
1081
  case 'client':
1081
- return Companion_getInstance().u1k('getClient');
1082
+ return Companion_getInstance().n1h('getClient');
1082
1083
  case 'server':
1083
- return Companion_getInstance().u1k('getServer');
1084
+ return Companion_getInstance().n1h('getServer');
1084
1085
  default:
1085
1086
  return null;
1086
1087
  }
@@ -1090,7 +1091,7 @@ function JavaIrEmitter$emitShared$lambda_0($imports) {
1090
1091
  var tmp;
1091
1092
  if (element instanceof File) {
1092
1093
  // Inline function 'kotlin.collections.partition' call
1093
- var this_0 = element.b1r_1;
1094
+ var this_0 = element.v1n_1;
1094
1095
  var first = ArrayList_init_$Create$();
1095
1096
  var second = ArrayList_init_$Create$();
1096
1097
  var _iterator__ex2g4s = this_0.t();
@@ -1103,9 +1104,9 @@ function JavaIrEmitter$emitShared$lambda_0($imports) {
1103
1104
  }
1104
1105
  }
1105
1106
  var _destruct__k2r9zo = new Pair(first, second);
1106
- var packageElements = _destruct__k2r9zo.kf();
1107
- var rest = _destruct__k2r9zo.lf();
1108
- tmp = element.e1r(VOID, plus_1(plus_1(packageElements, $imports), rest));
1107
+ var packageElements = _destruct__k2r9zo.ve();
1108
+ var rest = _destruct__k2r9zo.we();
1109
+ tmp = element.y1n(VOID, plus_1(plus_1(packageElements, $imports), rest));
1109
1110
  } else {
1110
1111
  tmp = element;
1111
1112
  }
@@ -1117,11 +1118,11 @@ function JavaIrEmitter$emitShared$lambda_1($clientServer) {
1117
1118
  return function (element, transformer) {
1118
1119
  var tmp;
1119
1120
  if (element instanceof Namespace) {
1120
- var injected = element.g1r_1.equals(Companion_getInstance().u1k('Wirespec')) ? $clientServer : emptyList();
1121
+ var injected = element.a1o_1.equals(Companion_getInstance().n1h('Wirespec')) ? $clientServer : emptyList();
1121
1122
  var tmp_0;
1122
1123
  // Inline function 'kotlin.collections.isNotEmpty' call
1123
1124
  if (!injected.r()) {
1124
- tmp_0 = withElements(element, plus_1(element.c1r(), injected));
1125
+ tmp_0 = withElements(element, plus_1(element.w1n(), injected));
1125
1126
  } else {
1126
1127
  tmp_0 = element;
1127
1128
  }
@@ -1146,7 +1147,7 @@ function JavaIrEmitter$emitGenerator$lambda_1(it) {
1146
1147
  }
1147
1148
  function JavaIrEmitter$emitGenerator$lambda_2(this$0) {
1148
1149
  return function (it) {
1149
- return import_0(this$0.v1z().kv_1 + '.model', it);
1150
+ return import_0(this$0.r1w().ds_1 + '.model', it);
1150
1151
  };
1151
1152
  }
1152
1153
  function JavaIrEmitter$emit$lambda(this$0) {
@@ -1158,38 +1159,38 @@ function JavaIrEmitter$emit$lambda_0(it) {
1158
1159
  return listOf(function_0('label', VOID, VOID, JavaIrEmitter$emit$lambda$lambda));
1159
1160
  }
1160
1161
  function JavaIrEmitter$emit$lambda$lambda($this$function) {
1161
- $this$function.h1l(String_instance);
1162
- $this$function.i1l(new VariableReference(Companion_getInstance().u1k('label')));
1162
+ $this$function.a1i(String_instance);
1163
+ $this$function.b1i(new VariableReference(Companion_getInstance().n1h('label')));
1163
1164
  return Unit_instance;
1164
1165
  }
1165
1166
  function JavaIrEmitter(packageName, emitShared) {
1166
1167
  Companion_getInstance_1();
1167
- packageName = packageName === VOID ? Companion_instance.jv('community.flock.wirespec.generated') : packageName;
1168
- emitShared = emitShared === VOID ? Companion_instance_0.es() : emitShared;
1169
- this.p20_1 = packageName;
1170
- this.q20_1 = emitShared;
1171
- this.r20_1 = JavaGenerator_getInstance();
1172
- this.s20_1 = FileExtension_Java_getInstance();
1173
- this.t20_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
1168
+ packageName = packageName === VOID ? Companion_instance.cs('community.flock.wirespec.generated') : packageName;
1169
+ emitShared = emitShared === VOID ? Companion_instance_0.wo() : emitShared;
1170
+ this.l1x_1 = packageName;
1171
+ this.m1x_1 = emitShared;
1172
+ this.n1x_1 = JavaGenerator_getInstance();
1173
+ this.o1x_1 = FileExtension_Java_getInstance();
1174
+ this.p1x_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
1174
1175
  var tmp = this;
1175
- var tmp_0 = Companion_getInstance_1().o20_1;
1176
+ var tmp_0 = Companion_getInstance_1().k1x_1;
1176
1177
  var tmp_1 = JavaIrEmitter$sanitizationConfig$lambda;
1177
1178
  var tmp_2 = JavaIrEmitter$sanitizationConfig$lambda_0;
1178
1179
  var tmp_3 = JavaIrEmitter$sanitizationConfig$lambda_1;
1179
1180
  var tmp_4 = JavaIrEmitter$sanitizationConfig$lambda_2(this);
1180
- tmp.u20_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaIrEmitter$sanitizationConfig$lambda_3);
1181
+ tmp.q1x_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaIrEmitter$sanitizationConfig$lambda_3);
1181
1182
  }
1182
- protoOf(JavaIrEmitter).v1z = function () {
1183
- return this.p20_1;
1183
+ protoOf(JavaIrEmitter).r1w = function () {
1184
+ return this.l1x_1;
1184
1185
  };
1185
- protoOf(JavaIrEmitter).y1y = function () {
1186
- return this.r20_1;
1186
+ protoOf(JavaIrEmitter).s1v = function () {
1187
+ return this.n1x_1;
1187
1188
  };
1188
- protoOf(JavaIrEmitter).cu = function () {
1189
- return this.s20_1;
1189
+ protoOf(JavaIrEmitter).uq = function () {
1190
+ return this.o1x_1;
1190
1191
  };
1191
- protoOf(JavaIrEmitter).b1z = function () {
1192
- var packageName = Companion_instance.jv('community.flock.wirespec.java');
1192
+ protoOf(JavaIrEmitter).v1v = function () {
1193
+ var packageName = Companion_instance.cs('community.flock.wirespec.java');
1193
1194
  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')]);
1194
1195
  // Inline function 'kotlin.collections.map' call
1195
1196
  var this_0 = convertClientServer(packageName);
@@ -1208,49 +1209,49 @@ protoOf(JavaIrEmitter).b1z = function () {
1208
1209
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1209
1210
  var tmp = scope;
1210
1211
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1211
- var this_2 = scope.l1y_1;
1212
+ var this_2 = scope.f1v_1;
1212
1213
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1213
1214
  // Inline function 'kotlin.apply' call
1214
1215
  var this_3 = new TransformerBuilder();
1215
- this_3.d1m(JavaIrEmitter$emitShared$lambda_0(imports));
1216
- var tmp$ret$5 = this_3.e1m();
1217
- tmp.l1y_1 = transform(this_2, tmp$ret$5);
1216
+ this_3.w1i(JavaIrEmitter$emitShared$lambda_0(imports));
1217
+ var tmp$ret$5 = this_3.x1i();
1218
+ tmp.f1v_1 = transform(this_2, tmp$ret$5);
1218
1219
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1219
1220
  var tmp_0 = scope;
1220
1221
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1221
1222
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1222
- var this_4 = scope.l1y_1;
1223
+ var this_4 = scope.f1v_1;
1223
1224
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1224
1225
  // Inline function 'kotlin.apply' call
1225
1226
  var this_5 = new TransformerBuilder();
1226
- this_5.d1m(JavaIrEmitter$emitShared$lambda_1(clientServer));
1227
- var tmp$ret$10 = this_5.e1m();
1228
- tmp_0.l1y_1 = transform(this_4, tmp$ret$10);
1229
- var tmp_1 = scope.l1y_1;
1227
+ this_5.w1i(JavaIrEmitter$emitShared$lambda_1(clientServer));
1228
+ var tmp$ret$10 = this_5.x1i();
1229
+ tmp_0.f1v_1 = transform(this_4, tmp$ret$10);
1230
+ var tmp_1 = scope.f1v_1;
1230
1231
  var wirespecShared = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1231
1232
  var tmp_2;
1232
- if (this.q20_1.fs_1) {
1233
+ if (this.m1x_1.xo_1) {
1233
1234
  tmp_2 = wirespecShared;
1234
1235
  } else {
1235
1236
  tmp_2 = null;
1236
1237
  }
1237
1238
  return tmp_2;
1238
1239
  };
1239
- protoOf(JavaIrEmitter).su = function (definition, module_0, logger) {
1240
+ protoOf(JavaIrEmitter).lr = function (definition, module_0, logger) {
1240
1241
  var file = emit_0.call(this, definition, module_0, logger);
1241
- var tmp = file.e1r(Companion_getInstance().u1k(sanitizeSymbol_0(this, file.a1r_1.b1q())));
1242
+ var tmp = file.y1n(Companion_getInstance().n1h(sanitizeSymbol_0(this, file.u1n_1.y1i())));
1242
1243
  // Inline function 'kotlin.takeIf' call
1243
- var this_0 = this.t20_1;
1244
+ var this_0 = this.p1x_1;
1244
1245
  var tmp_0;
1245
- if (Companion_instance_1.ou(module_0)) {
1246
+ if (Companion_instance_1.hr(module_0)) {
1246
1247
  tmp_0 = this_0;
1247
1248
  } else {
1248
1249
  tmp_0 = null;
1249
1250
  }
1250
1251
  var tmp$ret$1 = tmp_0;
1251
- return placeInPackage(prependImports(tmp, tmp$ret$1), this.v1z(), definition);
1252
+ return placeInPackage(prependImports(tmp, tmp$ret$1), this.r1w(), definition);
1252
1253
  };
1253
- protoOf(JavaIrEmitter).f1z = function (definition, module_0) {
1254
+ protoOf(JavaIrEmitter).z1v = function (definition, module_0) {
1254
1255
  var tmp;
1255
1256
  if (definition instanceof Type) {
1256
1257
  tmp = convertToGenerator_2(definition, module_0);
@@ -1270,33 +1271,33 @@ protoOf(JavaIrEmitter).f1z = function (definition, module_0) {
1270
1271
  }
1271
1272
  }
1272
1273
  var generatorFile = tmp;
1273
- var sanitized = sanitizeNames(generatorFile, this.u20_1);
1274
- var generatorOwnName = definition.tu().m1() + 'Generator';
1274
+ var sanitized = sanitizeNames(generatorFile, this.q1x_1);
1275
+ var generatorOwnName = definition.mr().l1() + 'Generator';
1275
1276
  var tmp_0 = asSequence_0(collectCustomTypeNames(sanitized));
1276
1277
  var tmp_1 = filterNot(tmp_0, JavaIrEmitter$emitGenerator$lambda);
1277
1278
  var tmp_2 = filterNot(tmp_1, JavaIrEmitter$emitGenerator$lambda_0(generatorOwnName));
1278
1279
  var tmp_3 = distinct_0(map(tmp_2, JavaIrEmitter$emitGenerator$lambda_1));
1279
1280
  var modelImports = toList(map(tmp_3, JavaIrEmitter$emitGenerator$lambda_2(this)));
1280
- return placeInPackage_0(prependImports(sanitized, plus_1(this.t20_1, modelImports)), this.v1z(), 'generator');
1281
+ return placeInPackage_0(prependImports(sanitized, plus_1(this.p1x_1, modelImports)), this.r1w(), 'generator');
1281
1282
  };
1282
- protoOf(JavaIrEmitter).st = function (type, module_0) {
1283
- return sanitizeNames(convertWithValidation(type, module_0), this.u20_1);
1283
+ protoOf(JavaIrEmitter).kq = function (type, module_0) {
1284
+ return sanitizeNames(convertWithValidation(type, module_0), this.q1x_1);
1284
1285
  };
1285
- protoOf(JavaIrEmitter).gv = function (enum_0, module_0) {
1286
+ protoOf(JavaIrEmitter).zr = function (enum_0, module_0) {
1286
1287
  var tmp = convert_0(enum_0);
1287
1288
  var tmp_0 = JavaIrEmitter$emit$lambda(this);
1288
- return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaIrEmitter$emit$lambda_0), this.u20_1);
1289
+ return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaIrEmitter$emit$lambda_0), this.q1x_1);
1289
1290
  };
1290
- protoOf(JavaIrEmitter).wu = function (union) {
1291
- return sanitizeNames(convert_1(union), this.u20_1);
1291
+ protoOf(JavaIrEmitter).pr = function (union) {
1292
+ return sanitizeNames(convert_1(union), this.q1x_1);
1292
1293
  };
1293
- protoOf(JavaIrEmitter).bv = function (refined) {
1294
- return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.u20_1);
1294
+ protoOf(JavaIrEmitter).ur = function (refined) {
1295
+ return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.q1x_1);
1295
1296
  };
1296
- protoOf(JavaIrEmitter).hv = function (endpoint) {
1297
- var tmp = sanitizeNames(transformTypeDescriptors(injectHandleFunction(convert_3(endpoint), endpoint)), this.u20_1);
1297
+ protoOf(JavaIrEmitter).as = function (endpoint) {
1298
+ var tmp = sanitizeNames(transformTypeDescriptors(injectApiField(injectHandleFunction(convert_3(endpoint), endpoint))), this.q1x_1);
1298
1299
  // Inline function 'kotlin.takeIf' call
1299
- var this_0 = buildModelImports(endpoint, this.v1z());
1300
+ var this_0 = buildModelImports(endpoint, this.r1w());
1300
1301
  var tmp_0;
1301
1302
  // Inline function 'kotlin.collections.isNotEmpty' call
1302
1303
  if (!this_0.r()) {
@@ -1307,25 +1308,25 @@ protoOf(JavaIrEmitter).hv = function (endpoint) {
1307
1308
  var tmp$ret$2 = tmp_0;
1308
1309
  return prependImports(tmp, tmp$ret$2);
1309
1310
  };
1310
- protoOf(JavaIrEmitter).vu = function (channel) {
1311
+ protoOf(JavaIrEmitter).or = function (channel) {
1311
1312
  var tmp;
1312
- if (channel.ks_1.m1() === channel.ls_1.m1()) {
1313
- tmp = this.v1z().kv_1 + '.model.';
1313
+ if (channel.cp_1.l1() === channel.dp_1.l1()) {
1314
+ tmp = this.r1w().ds_1 + '.model.';
1314
1315
  } else {
1315
1316
  tmp = '';
1316
1317
  }
1317
1318
  var fullyQualifiedPrefix = tmp;
1318
- return applyFunctionalInterface(sanitizeNames(convert_4(channel), this.u20_1), fullyQualifiedPrefix);
1319
+ return applyFunctionalInterface(sanitizeNames(convert_4(channel), this.q1x_1), fullyQualifiedPrefix);
1319
1320
  };
1320
- protoOf(JavaIrEmitter).e1z = function (endpoint) {
1321
- var imports = buildModelImports(endpoint, this.v1z());
1322
- var endpointImport = import_0(this.v1z().kv_1 + '.endpoint', endpoint.ct_1.m1());
1323
- var endpointName = endpoint.ct_1.m1();
1324
- var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.u20_1)), endpointName);
1325
- var subPackageName = plus_0(this.v1z(), 'client');
1326
- return new File(Companion_getInstance().u1k(subPackageName.mv() + sanitizeSymbol_0(this, file.a1r_1.b1q())), plus_1(plus_1(plus_1(plus_1(listOf(new Package(subPackageName.kv_1)), this.t20_1), imports), listOf(endpointImport)), file.b1r_1));
1321
+ protoOf(JavaIrEmitter).y1v = function (endpoint) {
1322
+ var imports = buildModelImports(endpoint, this.r1w());
1323
+ var endpointImport = import_0(this.r1w().ds_1 + '.endpoint', endpoint.up_1.l1());
1324
+ var endpointName = endpoint.up_1.l1();
1325
+ var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.q1x_1)), endpointName);
1326
+ var subPackageName = plus_0(this.r1w(), 'client');
1327
+ return new File(Companion_getInstance().n1h(subPackageName.fs() + sanitizeSymbol_0(this, file.u1n_1.y1i())), plus_1(plus_1(plus_1(plus_1(listOf(new Package(subPackageName.ds_1)), this.p1x_1), imports), listOf(endpointImport)), file.v1n_1));
1327
1328
  };
1328
- protoOf(JavaIrEmitter).c1z = function (endpoints, logger) {
1329
+ protoOf(JavaIrEmitter).w1v = function (endpoints, logger) {
1329
1330
  // Inline function 'kotlin.collections.flatMap' call
1330
1331
  // Inline function 'kotlin.collections.flatMapTo' call
1331
1332
  var destination = ArrayList_init_$Create$();
@@ -1341,7 +1342,7 @@ protoOf(JavaIrEmitter).c1z = function (endpoints, logger) {
1341
1342
  var _iterator__ex2g4s_0 = destination.t();
1342
1343
  while (_iterator__ex2g4s_0.u()) {
1343
1344
  var e = _iterator__ex2g4s_0.v();
1344
- var key = e.iy_1;
1345
+ var key = e.bv_1;
1345
1346
  if (set.x(key)) {
1346
1347
  list_0.x(e);
1347
1348
  }
@@ -1368,7 +1369,7 @@ protoOf(JavaIrEmitter).c1z = function (endpoints, logger) {
1368
1369
  var _iterator__ex2g4s_2 = endpoints.t();
1369
1370
  while (_iterator__ex2g4s_2.u()) {
1370
1371
  var element_1 = _iterator__ex2g4s_2.v();
1371
- if (element_1.ct_1.m1() === element_0.iy_1) {
1372
+ if (element_1.up_1.l1() === element_0.bv_1) {
1372
1373
  tmp$ret$5 = false;
1373
1374
  break $l$block_0;
1374
1375
  }
@@ -1385,7 +1386,7 @@ protoOf(JavaIrEmitter).c1z = function (endpoints, logger) {
1385
1386
  var _iterator__ex2g4s_3 = destination_0.t();
1386
1387
  while (_iterator__ex2g4s_3.u()) {
1387
1388
  var item = _iterator__ex2g4s_3.v();
1388
- var tmp$ret$10 = import_0(this.v1z().kv_1 + '.model', item.iy_1);
1389
+ var tmp$ret$10 = import_0(this.r1w().ds_1 + '.model', item.bv_1);
1389
1390
  destination_1.x(tmp$ret$10);
1390
1391
  }
1391
1392
  var imports = destination_1;
@@ -1395,7 +1396,7 @@ protoOf(JavaIrEmitter).c1z = function (endpoints, logger) {
1395
1396
  var _iterator__ex2g4s_4 = endpoints.t();
1396
1397
  while (_iterator__ex2g4s_4.u()) {
1397
1398
  var item_0 = _iterator__ex2g4s_4.v();
1398
- var tmp$ret$13 = import_0(this.v1z().kv_1 + '.endpoint', item_0.ct_1.m1());
1399
+ var tmp$ret$13 = import_0(this.r1w().ds_1 + '.endpoint', item_0.up_1.l1());
1399
1400
  destination_2.x(tmp$ret$13);
1400
1401
  }
1401
1402
  var endpointImports = destination_2;
@@ -1405,19 +1406,19 @@ protoOf(JavaIrEmitter).c1z = function (endpoints, logger) {
1405
1406
  var _iterator__ex2g4s_5 = endpoints.t();
1406
1407
  while (_iterator__ex2g4s_5.u()) {
1407
1408
  var item_1 = _iterator__ex2g4s_5.v();
1408
- var tmp$ret$16 = import_0(this.v1z().kv_1 + '.client', item_1.ct_1.m1() + 'Client');
1409
+ var tmp$ret$16 = import_0(this.r1w().ds_1 + '.client', item_1.up_1.l1() + 'Client');
1409
1410
  destination_3.x(tmp$ret$16);
1410
1411
  }
1411
1412
  var clientImports = destination_3;
1412
1413
  var allImports = plus_1(plus_1(imports, endpointImports), clientImports);
1413
- var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.u20_1);
1414
- return new File(Companion_getInstance().u1k(this.v1z().mv() + sanitizeSymbol_0(this, file.a1r_1.b1q())), plus_1(plus_1(plus_1(listOf(new Package(this.v1z().kv_1)), this.t20_1), allImports), file.b1r_1));
1414
+ var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.q1x_1);
1415
+ return new File(Companion_getInstance().n1h(this.r1w().fs() + sanitizeSymbol_0(this, file.u1n_1.y1i())), plus_1(plus_1(plus_1(listOf(new Package(this.r1w().ds_1)), this.p1x_1), allImports), file.v1n_1));
1415
1416
  };
1416
1417
  function transformTypeDescriptors(_this__u8e3s4) {
1417
1418
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1418
1419
  var scope = new TransformScope(_this__u8e3s4);
1419
- scope.u1y(transformTypeDescriptors$lambda);
1420
- var tmp = scope.l1y_1;
1420
+ scope.o1v(transformTypeDescriptors$lambda);
1421
+ var tmp = scope.f1v_1;
1421
1422
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
1422
1423
  }
1423
1424
  function applyRefinedStructShape(_this__u8e3s4, refined) {
@@ -1426,14 +1427,31 @@ function applyRefinedStructShape(_this__u8e3s4, refined) {
1426
1427
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1427
1428
  var tmp = scope;
1428
1429
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1429
- var this_0 = scope.l1y_1;
1430
+ var this_0 = scope.f1v_1;
1431
+ // Inline function 'community.flock.wirespec.ir.core.transformer' call
1432
+ // Inline function 'kotlin.apply' call
1433
+ var this_1 = new TransformerBuilder();
1434
+ this_1.w1i(applyRefinedStructShape$lambda(refined));
1435
+ var tmp$ret$2 = this_1.x1i();
1436
+ tmp.f1v_1 = transform(this_0, tmp$ret$2);
1437
+ var tmp_0 = scope.f1v_1;
1438
+ return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1439
+ }
1440
+ function injectApiField(_this__u8e3s4) {
1441
+ // Inline function 'community.flock.wirespec.ir.core.transform' call
1442
+ var scope = new TransformScope(_this__u8e3s4);
1443
+ // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1444
+ var tmp = scope;
1445
+ // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1446
+ // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1447
+ var this_0 = scope.f1v_1;
1430
1448
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1431
1449
  // Inline function 'kotlin.apply' call
1432
1450
  var this_1 = new TransformerBuilder();
1433
- this_1.d1m(applyRefinedStructShape$lambda(refined));
1434
- var tmp$ret$2 = this_1.e1m();
1435
- tmp.l1y_1 = transform(this_0, tmp$ret$2);
1436
- var tmp_0 = scope.l1y_1;
1451
+ this_1.w1i(injectApiField$lambda);
1452
+ var tmp$ret$2 = this_1.x1i();
1453
+ tmp.f1v_1 = transform(this_0, tmp$ret$2);
1454
+ var tmp_0 = scope.f1v_1;
1437
1455
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1438
1456
  }
1439
1457
  function injectHandleFunction(_this__u8e3s4, endpoint) {
@@ -1443,14 +1461,14 @@ function injectHandleFunction(_this__u8e3s4, endpoint) {
1443
1461
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1444
1462
  var tmp = scope;
1445
1463
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1446
- var this_0 = scope.l1y_1;
1464
+ var this_0 = scope.f1v_1;
1447
1465
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1448
1466
  // Inline function 'kotlin.apply' call
1449
1467
  var this_1 = new TransformerBuilder();
1450
- this_1.d1m(injectHandleFunction$lambda(handlersStruct));
1451
- var tmp$ret$2 = this_1.e1m();
1452
- tmp.l1y_1 = transform(this_0, tmp$ret$2);
1453
- var tmp_0 = scope.l1y_1;
1468
+ this_1.w1i(injectHandleFunction$lambda(handlersStruct));
1469
+ var tmp$ret$2 = this_1.x1i();
1470
+ tmp.f1v_1 = transform(this_0, tmp$ret$2);
1471
+ var tmp_0 = scope.f1v_1;
1454
1472
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1455
1473
  }
1456
1474
  function buildModelImports(_this__u8e3s4, packageName) {
@@ -1461,7 +1479,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
1461
1479
  var _iterator__ex2g4s = tmp0.t();
1462
1480
  while (_iterator__ex2g4s.u()) {
1463
1481
  var element = _iterator__ex2g4s.v();
1464
- if (!(_this__u8e3s4.tu().m1() === element.iy_1)) {
1482
+ if (!(_this__u8e3s4.mr().l1() === element.bv_1)) {
1465
1483
  destination.x(element);
1466
1484
  }
1467
1485
  }
@@ -1471,7 +1489,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
1471
1489
  var _iterator__ex2g4s_0 = destination.t();
1472
1490
  while (_iterator__ex2g4s_0.u()) {
1473
1491
  var item = _iterator__ex2g4s_0.v();
1474
- var tmp$ret$3 = import_0(packageName.kv_1 + '.model', item.iy_1);
1492
+ var tmp$ret$3 = import_0(packageName.ds_1 + '.model', Companion_getInstance().n1h(item.bv_1).y1i());
1475
1493
  destination_0.x(tmp$ret$3);
1476
1494
  }
1477
1495
  return destination_0;
@@ -1482,24 +1500,24 @@ function applyFunctionalInterface(_this__u8e3s4, fullyQualifiedPrefix) {
1482
1500
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1483
1501
  var tmp = scope;
1484
1502
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1485
- var this_0 = scope.l1y_1;
1503
+ var this_0 = scope.f1v_1;
1486
1504
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1487
1505
  // Inline function 'kotlin.apply' call
1488
1506
  var this_1 = new TransformerBuilder();
1489
- this_1.d1m(applyFunctionalInterface$lambda(fullyQualifiedPrefix));
1490
- var tmp$ret$2 = this_1.e1m();
1491
- tmp.l1y_1 = transform(this_0, tmp$ret$2);
1507
+ this_1.w1i(applyFunctionalInterface$lambda(fullyQualifiedPrefix));
1508
+ var tmp$ret$2 = this_1.x1i();
1509
+ tmp.f1v_1 = transform(this_0, tmp$ret$2);
1492
1510
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1493
1511
  var tmp_0 = scope;
1494
1512
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1495
- var this_2 = scope.l1y_1;
1513
+ var this_2 = scope.f1v_1;
1496
1514
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1497
1515
  // Inline function 'kotlin.apply' call
1498
1516
  var this_3 = new TransformerBuilder();
1499
- this_3.d1m(applyFunctionalInterface$lambda_0);
1500
- var tmp$ret$7 = this_3.e1m();
1501
- tmp_0.l1y_1 = transform(this_2, tmp$ret$7);
1502
- var tmp_1 = scope.l1y_1;
1517
+ this_3.w1i(applyFunctionalInterface$lambda_0);
1518
+ var tmp$ret$7 = this_3.x1i();
1519
+ tmp_0.f1v_1 = transform(this_2, tmp$ret$7);
1520
+ var tmp_1 = scope.f1v_1;
1503
1521
  return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1504
1522
  }
1505
1523
  function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
@@ -1508,26 +1526,26 @@ function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
1508
1526
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1509
1527
  var tmp = scope;
1510
1528
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1511
- var this_0 = scope.l1y_1;
1529
+ var this_0 = scope.f1v_1;
1512
1530
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1513
1531
  // Inline function 'kotlin.apply' call
1514
1532
  var this_1 = new TransformerBuilder();
1515
- this_1.d1m(wrapAsyncReturnInThenApply$lambda(endpointName));
1516
- var tmp$ret$2 = this_1.e1m();
1517
- tmp.l1y_1 = transform(this_0, tmp$ret$2);
1518
- var tmp_0 = scope.l1y_1;
1533
+ this_1.w1i(wrapAsyncReturnInThenApply$lambda(endpointName));
1534
+ var tmp$ret$2 = this_1.x1i();
1535
+ tmp.f1v_1 = transform(this_0, tmp$ret$2);
1536
+ var tmp_0 = scope.f1v_1;
1519
1537
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1520
1538
  }
1521
1539
  function findRoot(_this__u8e3s4) {
1522
1540
  var tmp;
1523
1541
  if (_this__u8e3s4 instanceof Nullable) {
1524
- tmp = findRoot(_this__u8e3s4.l1m_1);
1542
+ tmp = findRoot(_this__u8e3s4.f1j_1);
1525
1543
  } else {
1526
1544
  if (_this__u8e3s4 instanceof Array_0) {
1527
- tmp = findRoot(_this__u8e3s4.m1m_1);
1545
+ tmp = findRoot(_this__u8e3s4.g1j_1);
1528
1546
  } else {
1529
1547
  if (_this__u8e3s4 instanceof Dict_0) {
1530
- tmp = findRoot(_this__u8e3s4.o1q_1);
1548
+ tmp = findRoot(_this__u8e3s4.i1n_1);
1531
1549
  } else {
1532
1550
  tmp = _this__u8e3s4;
1533
1551
  }
@@ -1556,7 +1574,7 @@ function toJavaName(_this__u8e3s4) {
1556
1574
  var tmp;
1557
1575
  if (_this__u8e3s4 instanceof Integer_0) {
1558
1576
  var tmp_0;
1559
- switch (_this__u8e3s4.k1q_1.c3_1) {
1577
+ switch (_this__u8e3s4.e1n_1.b3_1) {
1560
1578
  case 0:
1561
1579
  tmp_0 = 'Integer';
1562
1580
  break;
@@ -1571,7 +1589,7 @@ function toJavaName(_this__u8e3s4) {
1571
1589
  } else {
1572
1590
  if (_this__u8e3s4 instanceof Number_1) {
1573
1591
  var tmp_1;
1574
- switch (_this__u8e3s4.l1q_1.c3_1) {
1592
+ switch (_this__u8e3s4.f1n_1.b3_1) {
1575
1593
  case 0:
1576
1594
  tmp_1 = 'Float';
1577
1595
  break;
@@ -1600,7 +1618,7 @@ function toJavaName(_this__u8e3s4) {
1600
1618
  tmp = 'Void';
1601
1619
  } else {
1602
1620
  if (_this__u8e3s4 instanceof Custom_0) {
1603
- tmp = _this__u8e3s4.n1m_1;
1621
+ tmp = _this__u8e3s4.h1j_1.y1i();
1604
1622
  } else {
1605
1623
  tmp = 'Object';
1606
1624
  }
@@ -1614,7 +1632,7 @@ function toJavaName(_this__u8e3s4) {
1614
1632
  return tmp;
1615
1633
  }
1616
1634
  function buildHandlersStruct(_this__u8e3s4) {
1617
- var pathTemplate = '/' + joinToString(_this__u8e3s4.et_1, '/', VOID, VOID, VOID, VOID, buildHandlersStruct$lambda);
1635
+ var pathTemplate = '/' + joinToString(_this__u8e3s4.wp_1, '/', VOID, VOID, VOID, VOID, buildHandlersStruct$lambda);
1618
1636
  return struct('Handlers', buildHandlersStruct$lambda_0(pathTemplate, _this__u8e3s4));
1619
1637
  }
1620
1638
  function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
@@ -1624,8 +1642,8 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
1624
1642
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1625
1643
  var scope = new TransformScope(_this__u8e3s4);
1626
1644
  var tmp_0 = withFullyQualifiedPrefix$lambda;
1627
- scope.o1y(tmp_0, withFullyQualifiedPrefix$lambda_0(prefix));
1628
- var tmp_1 = scope.l1y_1;
1645
+ scope.i1v(tmp_0, withFullyQualifiedPrefix$lambda_0(prefix));
1646
+ var tmp_1 = scope.f1v_1;
1629
1647
  tmp = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1630
1648
  } else {
1631
1649
  tmp = _this__u8e3s4;
@@ -1635,8 +1653,8 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
1635
1653
  function transformTypeDescriptors$lambda(stmt, tr) {
1636
1654
  var tmp;
1637
1655
  if (stmt instanceof TypeDescriptor) {
1638
- var rootType = findRoot(stmt.q1s_1);
1639
- var containerStr = rawContainerClass(stmt.q1s_1);
1656
+ var rootType = findRoot(stmt.k1p_1);
1657
+ var containerStr = rawContainerClass(stmt.k1p_1);
1640
1658
  var rootStr = toJavaName(rootType) + '.class';
1641
1659
  var tmp_0;
1642
1660
  if (containerStr == null) {
@@ -1655,8 +1673,8 @@ function transformTypeDescriptors$lambda(stmt, tr) {
1655
1673
  }
1656
1674
  function applyRefinedStructShape$lambda$lambda($refined) {
1657
1675
  return function ($this$function) {
1658
- $this$function.h1l(convert_5($refined.av_1));
1659
- $this$function.i1l(new VariableReference(Companion_getInstance().u1k('value')));
1676
+ $this$function.a1i(convert_5($refined.tr_1));
1677
+ $this$function.b1i(new VariableReference(Companion_getInstance().n1h('value')));
1660
1678
  return Unit_instance;
1661
1679
  };
1662
1680
  }
@@ -1664,20 +1682,20 @@ function applyRefinedStructShape$lambda($refined) {
1664
1682
  return function (element, transformer) {
1665
1683
  var tmp;
1666
1684
  if (element instanceof Struct) {
1667
- var tmp_0 = listOf(new Custom_0('Wirespec.Refined'));
1685
+ var tmp_0 = listOf(Custom_init_$Create$('Wirespec.Refined'));
1668
1686
  // Inline function 'kotlin.collections.map' call
1669
- var this_0 = element.p1r_1;
1687
+ var this_0 = element.j1o_1;
1670
1688
  // Inline function 'kotlin.collections.mapTo' call
1671
1689
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1672
1690
  var _iterator__ex2g4s = this_0.t();
1673
1691
  while (_iterator__ex2g4s.u()) {
1674
1692
  var item = _iterator__ex2g4s.v();
1675
1693
  var tmp0_safe_receiver = item instanceof Function ? item : null;
1676
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r1o(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true);
1694
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l1l(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true);
1677
1695
  var tmp$ret$0 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
1678
1696
  destination.x(tmp$ret$0);
1679
1697
  }
1680
- var tmp_1 = element.s1r(VOID, VOID, VOID, tmp_0, destination);
1698
+ var tmp_1 = element.m1o(VOID, VOID, VOID, tmp_0, destination);
1681
1699
  tmp = plus_3(tmp_1, function_0('value', VOID, true, applyRefinedStructShape$lambda$lambda($refined)));
1682
1700
  } else {
1683
1701
  tmp = element;
@@ -1686,6 +1704,24 @@ function applyRefinedStructShape$lambda($refined) {
1686
1704
  return transformChildren_0(transformed, transformer);
1687
1705
  };
1688
1706
  }
1707
+ function injectApiField$lambda(element, transformer) {
1708
+ var tmp;
1709
+ if (element instanceof Namespace) {
1710
+ var injected = listOf(new RawElement('Handler.Handlers api = new Handler.Handlers();\n'));
1711
+ var tmp_0;
1712
+ // Inline function 'kotlin.collections.isNotEmpty' call
1713
+ if (!injected.r()) {
1714
+ tmp_0 = withElements(element, plus_1(element.w1n(), injected));
1715
+ } else {
1716
+ tmp_0 = element;
1717
+ }
1718
+ tmp = tmp_0;
1719
+ } else {
1720
+ tmp = element;
1721
+ }
1722
+ var transformed = tmp;
1723
+ return transformChildren_0(transformed, transformer);
1724
+ }
1689
1725
  function injectHandleFunction$lambda$lambda($handlersStruct) {
1690
1726
  return function (element, transformer) {
1691
1727
  var tmp;
@@ -1694,7 +1730,7 @@ function injectHandleFunction$lambda$lambda($handlersStruct) {
1694
1730
  var tmp_0;
1695
1731
  // Inline function 'kotlin.collections.isNotEmpty' call
1696
1732
  if (!injected.r()) {
1697
- tmp_0 = withElements(element, plus_1(element.c1r(), injected));
1733
+ tmp_0 = withElements(element, plus_1(element.w1n(), injected));
1698
1734
  } else {
1699
1735
  tmp_0 = element;
1700
1736
  }
@@ -1711,21 +1747,21 @@ function injectHandleFunction$lambda($handlersStruct) {
1711
1747
  var tmp;
1712
1748
  if (element instanceof Interface) {
1713
1749
  var tmp_0;
1714
- if (element.t1r_1.equals(Companion_getInstance().u1k('Handler'))) {
1750
+ if (element.o1o_1.equals(Companion_getInstance().n1h('Handler'))) {
1715
1751
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1716
1752
  var scope = new TransformScope(element);
1717
1753
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1718
1754
  var tmp_1 = scope;
1719
1755
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1720
1756
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1721
- var this_0 = scope.l1y_1;
1757
+ var this_0 = scope.f1v_1;
1722
1758
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1723
1759
  // Inline function 'kotlin.apply' call
1724
1760
  var this_1 = new TransformerBuilder();
1725
- this_1.d1m(injectHandleFunction$lambda$lambda($handlersStruct));
1726
- var tmp$ret$2 = this_1.e1m();
1727
- tmp_1.l1y_1 = transform(this_0, tmp$ret$2);
1728
- var tmp_2 = scope.l1y_1;
1761
+ this_1.w1i(injectHandleFunction$lambda$lambda($handlersStruct));
1762
+ var tmp$ret$2 = this_1.x1i();
1763
+ tmp_1.f1v_1 = transform(this_0, tmp$ret$2);
1764
+ var tmp_2 = scope.f1v_1;
1729
1765
  tmp_0 = isInterface(tmp_2, Element) ? tmp_2 : THROW_CCE();
1730
1766
  } else {
1731
1767
  tmp_0 = element;
@@ -1755,7 +1791,7 @@ function applyFunctionalInterface$lambda_0(element, transformer) {
1755
1791
  if (element instanceof File) {
1756
1792
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1757
1793
  // Inline function 'kotlin.collections.filterIsInstance' call
1758
- var tmp0 = element.c1r();
1794
+ var tmp0 = element.w1n();
1759
1795
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1760
1796
  var destination = ArrayList_init_$Create$();
1761
1797
  var _iterator__ex2g4s = tmp0.t();
@@ -1767,7 +1803,7 @@ function applyFunctionalInterface$lambda_0(element, transformer) {
1767
1803
  }
1768
1804
  var tmp$ret$2 = firstOrNull_0(destination);
1769
1805
  var interfaceElement = ensureNotNull(tmp$ret$2);
1770
- tmp = element.e1r(VOID, listOf_0([new RawElement('@FunctionalInterface\n'), interfaceElement]));
1806
+ tmp = element.y1n(VOID, listOf_0([new RawElement('@FunctionalInterface\n'), interfaceElement]));
1771
1807
  } else {
1772
1808
  tmp = element;
1773
1809
  }
@@ -1780,11 +1816,11 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1780
1816
  if (element instanceof Function) {
1781
1817
  var tmp$ret$0;
1782
1818
  $l$block_1: {
1783
- if (!element.o1o_1 || element.n1o_1.a1() < 2) {
1819
+ if (!element.i1l_1 || element.h1l_1.a1() < 2) {
1784
1820
  tmp$ret$0 = element;
1785
1821
  break $l$block_1;
1786
1822
  }
1787
- var tmp_0 = element.n1o_1.f1(element.n1o_1.a1() - 2 | 0);
1823
+ var tmp_0 = element.h1l_1.b1(element.h1l_1.a1() - 2 | 0);
1788
1824
  var tmp0_elvis_lhs = tmp_0 instanceof Assignment ? tmp_0 : null;
1789
1825
  var tmp_1;
1790
1826
  if (tmp0_elvis_lhs == null) {
@@ -1794,16 +1830,16 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1794
1830
  tmp_1 = tmp0_elvis_lhs;
1795
1831
  }
1796
1832
  var transportAssign = tmp_1;
1797
- var tmp_2 = last(element.n1o_1);
1833
+ var tmp_2 = last(element.h1l_1);
1798
1834
  if (!(tmp_2 instanceof ReturnStatement)) {
1799
1835
  tmp$ret$0 = element;
1800
1836
  break $l$block_1;
1801
1837
  }
1802
- var tmp_3 = dropLast(element.n1o_1, 2);
1803
- var tmp1_name = Companion_getInstance().u1k('thenApply');
1804
- var tmp2_receiver = transportAssign.t1s_1;
1805
- var tmp3_arguments = mapOf(to(Companion_getInstance().u1k('mapper'), new RawExpression('rawResponse -> ' + $endpointName + '.fromRawResponse(serialization(), rawResponse)')));
1806
- tmp$ret$0 = element.r1o(VOID, VOID, VOID, VOID, plus_2(tmp_3, new ReturnStatement(new FunctionCall(tmp2_receiver, VOID, tmp1_name, tmp3_arguments))));
1838
+ var tmp_3 = dropLast(element.h1l_1, 2);
1839
+ var tmp1_name = Companion_getInstance().n1h('thenApply');
1840
+ var tmp2_receiver = transportAssign.n1p_1;
1841
+ var tmp3_arguments = mapOf(to(Companion_getInstance().n1h('mapper'), new RawExpression('rawResponse -> ' + $endpointName + '.fromRawResponse(serialization(), rawResponse)')));
1842
+ tmp$ret$0 = element.l1l(VOID, VOID, VOID, VOID, plus_2(tmp_3, new ReturnStatement(new FunctionCall(tmp2_receiver, VOID, tmp1_name, tmp3_arguments))));
1807
1843
  }
1808
1844
  tmp = tmp$ret$0;
1809
1845
  } else {
@@ -1816,10 +1852,10 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1816
1852
  function buildHandlersStruct$lambda(it) {
1817
1853
  var tmp;
1818
1854
  if (it instanceof Literal) {
1819
- tmp = it.fu_1;
1855
+ tmp = it.xq_1;
1820
1856
  } else {
1821
1857
  if (it instanceof Param) {
1822
- tmp = '{' + it.jt_1.m1() + '}';
1858
+ tmp = '{' + it.bq_1.l1() + '}';
1823
1859
  } else {
1824
1860
  noWhenBranchMatchedException();
1825
1861
  }
@@ -1828,50 +1864,50 @@ function buildHandlersStruct$lambda(it) {
1828
1864
  }
1829
1865
  function buildHandlersStruct$lambda$lambda($pathTemplate) {
1830
1866
  return function ($this$function) {
1831
- $this$function.h1l(String_instance);
1832
- $this$function.i1l($this$function.q1x($pathTemplate));
1867
+ $this$function.a1i(String_instance);
1868
+ $this$function.b1i($this$function.k1u($pathTemplate));
1833
1869
  return Unit_instance;
1834
1870
  };
1835
1871
  }
1836
1872
  function buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct) {
1837
1873
  return function ($this$function) {
1838
- $this$function.h1l(String_instance);
1839
- $this$function.i1l($this$function.q1x($this_buildHandlersStruct.dt_1.b3_1));
1874
+ $this$function.a1i(String_instance);
1875
+ $this$function.b1i($this$function.k1u($this_buildHandlersStruct.vp_1.a3_1));
1840
1876
  return Unit_instance;
1841
1877
  };
1842
1878
  }
1843
1879
  function buildHandlersStruct$lambda$lambda_1($this$function) {
1844
- $this$function.h1l($this$function.v1k('Wirespec.ServerEdge', [$this$function.v1k('Request', []), $this$function.v1k('Response', [Wildcard_instance])]));
1845
- $this$function.e1l('serialization', $this$function.v1k('Wirespec.Serialization', []));
1846
- $this$function.i1l(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}'));
1880
+ $this$function.a1i($this$function.o1h('Wirespec.ServerEdge', [$this$function.o1h('Request', []), $this$function.o1h('Response', [Wildcard_instance])]));
1881
+ $this$function.x1h('serialization', $this$function.o1h('Wirespec.Serialization', []));
1882
+ $this$function.b1i(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}'));
1847
1883
  return Unit_instance;
1848
1884
  }
1849
1885
  function buildHandlersStruct$lambda$lambda_2($this$function) {
1850
- $this$function.h1l($this$function.v1k('Wirespec.ClientEdge', [$this$function.v1k('Request', []), $this$function.v1k('Response', [Wildcard_instance])]));
1851
- $this$function.e1l('serialization', $this$function.v1k('Wirespec.Serialization', []));
1852
- $this$function.i1l(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}'));
1886
+ $this$function.a1i($this$function.o1h('Wirespec.ClientEdge', [$this$function.o1h('Request', []), $this$function.o1h('Response', [Wildcard_instance])]));
1887
+ $this$function.x1h('serialization', $this$function.o1h('Wirespec.Serialization', []));
1888
+ $this$function.b1i(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}'));
1853
1889
  return Unit_instance;
1854
1890
  }
1855
1891
  function buildHandlersStruct$lambda_0($pathTemplate, $this_buildHandlersStruct) {
1856
1892
  return function ($this$struct) {
1857
- $this$struct.a1o($this$struct.v1k('Wirespec.Server', [$this$struct.v1k('Request', []), $this$struct.v1k('Response', [Wildcard_instance])]));
1858
- $this$struct.a1o($this$struct.v1k('Wirespec.Client', [$this$struct.v1k('Request', []), $this$struct.v1k('Response', [Wildcard_instance])]));
1859
- $this$struct.j1l('getPathTemplate', VOID, true, buildHandlersStruct$lambda$lambda($pathTemplate));
1860
- $this$struct.j1l('getMethod', VOID, true, buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct));
1861
- $this$struct.j1l('getServer', VOID, true, buildHandlersStruct$lambda$lambda_1);
1862
- $this$struct.j1l('getClient', VOID, true, buildHandlersStruct$lambda$lambda_2);
1893
+ $this$struct.u1k($this$struct.o1h('Wirespec.Server', [$this$struct.o1h('Request', []), $this$struct.o1h('Response', [Wildcard_instance])]));
1894
+ $this$struct.u1k($this$struct.o1h('Wirespec.Client', [$this$struct.o1h('Request', []), $this$struct.o1h('Response', [Wildcard_instance])]));
1895
+ $this$struct.c1i('getPathTemplate', VOID, true, buildHandlersStruct$lambda$lambda($pathTemplate));
1896
+ $this$struct.c1i('getMethod', VOID, true, buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct));
1897
+ $this$struct.c1i('getServer', VOID, true, buildHandlersStruct$lambda$lambda_1);
1898
+ $this$struct.c1i('getClient', VOID, true, buildHandlersStruct$lambda$lambda_2);
1863
1899
  return Unit_instance;
1864
1900
  };
1865
1901
  }
1866
1902
  function withFullyQualifiedPrefix$lambda(it) {
1867
- return it.d1t_1.equals(Companion_getInstance().u1k('message'));
1903
+ return it.x1p_1.equals(Companion_getInstance().n1h('message'));
1868
1904
  }
1869
1905
  function withFullyQualifiedPrefix$lambda_0($prefix) {
1870
1906
  return function (param) {
1871
- var t = param.e1t_1;
1907
+ var t = param.y1p_1;
1872
1908
  var tmp;
1873
1909
  if (t instanceof Custom_0) {
1874
- tmp = param.g1t(VOID, t.r1q($prefix + t.n1m_1));
1910
+ tmp = param.a1q(VOID, t.l1n(Companion_getInstance().n1h($prefix + t.h1j_1.y1i())));
1875
1911
  } else {
1876
1912
  tmp = param;
1877
1913
  }
@@ -1882,8 +1918,8 @@ function JavaRefinedTypeDefinitionEmitter() {
1882
1918
  }
1883
1919
  function JavaShared() {
1884
1920
  JavaShared_instance = this;
1885
- this.f20_1 = 'community.flock.wirespec.java';
1886
- this.g20_1 = trimMargin('\n |package ' + this.f20_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.ov(2) + 'Req from(RawRequest request);\n |' + Spacer_instance.ov(2) + 'RawResponse to(Res response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface ClientEdge<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.ov(2) + 'RawRequest to(Req request);\n |' + Spacer_instance.ov(2) + 'Res from(RawResponse response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface Client<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.ov(2) + 'String getPathTemplate();\n |' + Spacer_instance.ov(2) + 'String getMethod();\n |' + Spacer_instance.ov(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.ov(2) + 'String getPathTemplate();\n |' + Spacer_instance.ov(2) + 'String getMethod();\n |' + Spacer_instance.ov(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.ov(2) + 'if(rawType != null) {\n |' + Spacer_instance.ov(3) + 'return new ParameterizedType() {\n |' + Spacer_instance.ov(4) + 'public Type getRawType() { return rawType; }\n |' + Spacer_instance.ov(4) + 'public Type[] getActualTypeArguments() { return new Class<?>[]{actualTypeArguments}; }\n |' + Spacer_instance.ov(4) + 'public Type getOwnerType() { return null; }\n |' + Spacer_instance.ov(3) + '};\n |' + Spacer_instance.ov(2) + '}\n |' + Spacer_instance.ov(2) + 'else { return actualTypeArguments; }\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1921
+ this.b1x_1 = 'community.flock.wirespec.java';
1922
+ this.c1x_1 = trimMargin('\n |package ' + this.b1x_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 ');
1887
1923
  }
1888
1924
  protoOf(JavaShared).toString = function () {
1889
1925
  return 'JavaShared';
@@ -1907,10 +1943,10 @@ function JavaShared_getInstance() {
1907
1943
  function emitType($this, _this__u8e3s4) {
1908
1944
  var tmp;
1909
1945
  if (_this__u8e3s4 instanceof Dict) {
1910
- tmp = 'java.util.Map<String, ' + $this.vt(_this__u8e3s4.as_1) + '>';
1946
+ tmp = 'java.util.Map<String, ' + $this.nq(_this__u8e3s4.so_1) + '>';
1911
1947
  } else {
1912
1948
  if (_this__u8e3s4 instanceof Iterable) {
1913
- tmp = 'java.util.List<' + $this.vt(_this__u8e3s4.xr_1) + '>';
1949
+ tmp = 'java.util.List<' + $this.nq(_this__u8e3s4.po_1) + '>';
1914
1950
  } else {
1915
1951
  if (_this__u8e3s4 instanceof Unit) {
1916
1952
  tmp = 'void';
@@ -1919,7 +1955,7 @@ function emitType($this, _this__u8e3s4) {
1919
1955
  tmp = 'Object';
1920
1956
  } else {
1921
1957
  if (_this__u8e3s4 instanceof Custom) {
1922
- tmp = _this__u8e3s4.iy_1;
1958
+ tmp = _this__u8e3s4.bv_1;
1923
1959
  } else {
1924
1960
  if (_this__u8e3s4 instanceof Primitive) {
1925
1961
  tmp = emit_18($this, _this__u8e3s4);
@@ -1934,14 +1970,14 @@ function emitType($this, _this__u8e3s4) {
1934
1970
  return tmp;
1935
1971
  }
1936
1972
  function emit_18($this, _this__u8e3s4) {
1937
- var t = _this__u8e3s4.my_1;
1973
+ var t = _this__u8e3s4.fv_1;
1938
1974
  var tmp;
1939
1975
  if (t instanceof String_0) {
1940
1976
  tmp = 'String';
1941
1977
  } else {
1942
1978
  if (t instanceof Integer) {
1943
1979
  var tmp_0;
1944
- switch (t.qx_1.c3_1) {
1980
+ switch (t.ju_1.b3_1) {
1945
1981
  case 0:
1946
1982
  tmp_0 = 'Integer';
1947
1983
  break;
@@ -1956,7 +1992,7 @@ function emit_18($this, _this__u8e3s4) {
1956
1992
  } else {
1957
1993
  if (t instanceof Number_0) {
1958
1994
  var tmp_1;
1959
- switch (t.tx_1.c3_1) {
1995
+ switch (t.mu_1.b3_1) {
1960
1996
  case 0:
1961
1997
  tmp_1 = 'Float';
1962
1998
  break;
@@ -1985,45 +2021,45 @@ function emit_18($this, _this__u8e3s4) {
1985
2021
  }
1986
2022
  function JavaTypeDefinitionEmitter$emit$lambda(this$0) {
1987
2023
  return function (it) {
1988
- return this$0.vt(it);
2024
+ return this$0.nq(it);
1989
2025
  };
1990
2026
  }
1991
2027
  function JavaTypeDefinitionEmitter$emit$lambda_0(this$0) {
1992
2028
  return function (it) {
1993
- return Spacer_instance.toString() + this$0.ut(it) + ',';
2029
+ return Spacer_instance.toString() + this$0.mq(it) + ',';
1994
2030
  };
1995
2031
  }
1996
2032
  function JavaTypeDefinitionEmitter() {
1997
2033
  }
1998
2034
  function JavaUnionDefinitionEmitter$emit$lambda(it) {
1999
- return it.m1();
2035
+ return it.l1();
2000
2036
  }
2001
2037
  function JavaUnionDefinitionEmitter() {
2002
2038
  }
2003
2039
  //region block: post-declaration
2004
- protoOf(JavaEmitter).uu = emit_9;
2005
- protoOf(JavaEmitter).st = emit_3;
2006
- protoOf(JavaEmitter).tt = emit_4;
2007
- protoOf(JavaEmitter).ut = emit_5;
2008
- protoOf(JavaEmitter).vt = emit_6;
2009
- protoOf(JavaEmitter).wt = emit_7;
2010
- protoOf(JavaEmitter).hv = emit_13;
2011
- protoOf(JavaEmitter).i20 = emit_14;
2012
- protoOf(JavaEmitter).j20 = emit_15;
2013
- protoOf(JavaEmitter).vu = emit_8;
2014
- protoOf(JavaEmitter).gv = emit_10;
2015
- protoOf(JavaEmitter).wu = emit_11;
2016
- protoOf(JavaEmitter).bv = emit_12;
2017
- protoOf(JavaEmitter).h20 = sanitizeSymbol;
2018
- protoOf(JavaEmitter).k20 = sanitizeFirstIsDigit;
2019
- protoOf(JavaEmitter).l20 = sanitizeKeywords;
2020
- protoOf(JavaEmitter).x1z = emitRoot;
2021
- protoOf(JavaEmitter).w1z = emitRoot$default;
2022
- protoOf(JavaEmitter).m20 = emitHandleFunction;
2023
- protoOf(JavaEmitter).iv = emitValidator;
2024
- protoOf(JavaIrEmitter).mr = emit_1;
2025
- protoOf(JavaIrEmitter).a1z = emit_2;
2026
- protoOf(JavaIrEmitter).d1z = beforeGenerate;
2040
+ protoOf(JavaEmitter).nr = emit_10;
2041
+ protoOf(JavaEmitter).kq = emit_3;
2042
+ protoOf(JavaEmitter).lq = emit_4;
2043
+ protoOf(JavaEmitter).mq = emit_5;
2044
+ protoOf(JavaEmitter).nq = emit_6;
2045
+ protoOf(JavaEmitter).oq = emit_7;
2046
+ protoOf(JavaEmitter).as = emit_13;
2047
+ protoOf(JavaEmitter).e1x = emit_14;
2048
+ protoOf(JavaEmitter).f1x = emit_15;
2049
+ protoOf(JavaEmitter).or = emit_8;
2050
+ protoOf(JavaEmitter).zr = emit_11;
2051
+ protoOf(JavaEmitter).pr = emit_12;
2052
+ protoOf(JavaEmitter).ur = emit_9;
2053
+ protoOf(JavaEmitter).d1x = sanitizeSymbol;
2054
+ protoOf(JavaEmitter).g1x = sanitizeFirstIsDigit;
2055
+ protoOf(JavaEmitter).h1x = sanitizeKeywords;
2056
+ protoOf(JavaEmitter).t1w = emitRoot;
2057
+ protoOf(JavaEmitter).s1w = emitRoot$default;
2058
+ protoOf(JavaEmitter).i1x = emitHandleFunction;
2059
+ protoOf(JavaEmitter).bs = emitValidator;
2060
+ protoOf(JavaIrEmitter).eo = emit_1;
2061
+ protoOf(JavaIrEmitter).u1v = emit_2;
2062
+ protoOf(JavaIrEmitter).x1v = beforeGenerate;
2027
2063
  //endregion
2028
2064
  //region block: exports
2029
2065
  export {