@flock/wirespec 0.19.0-RC.2 → 0.19.0-RC.3

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 (45) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +163 -163
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt.mjs +1570 -1570
  5. package/colormath-root-colormath.mjs +444 -444
  6. package/kotest-kotest-property.mjs +605 -1435
  7. package/kotest-kotest-property.mjs.map +1 -1
  8. package/kotest-property-arbs.mjs +0 -478
  9. package/kotest-property-arbs.mjs.map +1 -1
  10. package/kotlin-kotlin-stdlib.mjs +2478 -2738
  11. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  12. package/kotlin-openapi-bindings.mjs +4926 -4926
  13. package/kotlin-openapi-bindings.mjs.map +1 -1
  14. package/kotlin-rgxgen.mjs +1819 -1819
  15. package/kotlinx-io-kotlinx-io-core.mjs +440 -440
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1792 -1792
  17. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1395 -1395
  18. package/mordant-mordant.mjs +1362 -1362
  19. package/package.json +1 -1
  20. package/wirespec-src-compiler-core.mjs +1541 -1541
  21. package/wirespec-src-compiler-emitters-java.mjs +387 -387
  22. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  23. package/wirespec-src-compiler-emitters-kotlin.mjs +341 -341
  24. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  25. package/wirespec-src-compiler-emitters-python.mjs +371 -371
  26. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  27. package/wirespec-src-compiler-emitters-rust.mjs +416 -416
  28. package/wirespec-src-compiler-emitters-scala.mjs +168 -168
  29. package/wirespec-src-compiler-emitters-typescript.mjs +471 -471
  30. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  31. package/wirespec-src-compiler-emitters-wirespec.mjs +87 -87
  32. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  33. package/wirespec-src-compiler-ir.mjs +3672 -3672
  34. package/wirespec-src-compiler-lib.mjs +418 -418
  35. package/wirespec-src-compiler-lib.mjs.map +1 -1
  36. package/wirespec-src-converter-avro.mjs +512 -512
  37. package/wirespec-src-converter-openapi.mjs +772 -772
  38. package/wirespec-src-converter-openapi.mjs.map +1 -1
  39. package/wirespec-src-integration-kotest.mjs +490 -572
  40. package/wirespec-src-integration-kotest.mjs.map +1 -1
  41. package/wirespec-src-plugin-arguments.mjs +185 -185
  42. package/wirespec-src-plugin-cli.mjs +106 -106
  43. package/wirespec-src-plugin-npm.d.mts +1 -1
  44. package/wirespec-src-plugin-npm.mjs +40 -40
  45. package/wirespec-src-tools-generator.mjs +35 -35
@@ -186,10 +186,10 @@ import {
186
186
  //endregion
187
187
  //region block: pre-declaration
188
188
  function emit_3(type, module_0) {
189
- var tmp = this.mv(type.lt_1);
190
- var tmp_0 = this.lu(type.mt_1);
189
+ var tmp = this.uu(type.ts_1);
190
+ var tmp_0 = this.tt(type.us_1);
191
191
  // Inline function 'kotlin.run' call
192
- var $this$run = type.nt_1;
192
+ var $this$run = type.vs_1;
193
193
  var tmp_1;
194
194
  if ($this$run.r()) {
195
195
  tmp_1 = '';
@@ -200,23 +200,23 @@ function emit_3(type, module_0) {
200
200
  return trimMargin('\n |public record ' + tmp + ' (\n |' + tmp_0 + '\n |)' + tmp$ret$1 + ' {\n |};\n |\n ');
201
201
  }
202
202
  function emit_4(_this__u8e3s4) {
203
- return dropLast_0(joinToString(_this__u8e3s4.it_1, '\n', VOID, VOID, VOID, VOID, JavaTypeDefinitionEmitter$emit$lambda_0(this)), 1);
203
+ return dropLast_0(joinToString(_this__u8e3s4.qs_1, '\n', VOID, VOID, VOID, VOID, JavaTypeDefinitionEmitter$emit$lambda_0(this)), 1);
204
204
  }
205
205
  function emit_5(_this__u8e3s4) {
206
- return this.nu(_this__u8e3s4.rt_1) + ' ' + this.mv(_this__u8e3s4.qt_1);
206
+ return this.vt(_this__u8e3s4.zs_1) + ' ' + this.uu(_this__u8e3s4.ys_1);
207
207
  }
208
208
  function emit_6(_this__u8e3s4) {
209
209
  // Inline function 'kotlin.let' call
210
210
  var it = emitType(this, _this__u8e3s4);
211
- return _this__u8e3s4.sy() ? 'java.util.Optional<' + it + '>' : it;
211
+ return _this__u8e3s4.ay() ? 'java.util.Optional<' + it + '>' : it;
212
212
  }
213
213
  function emitRoot(_this__u8e3s4, void_0) {
214
214
  var tmp;
215
215
  if (_this__u8e3s4 instanceof Dict) {
216
- tmp = this.o20(_this__u8e3s4.ss_1);
216
+ tmp = this.w1z(_this__u8e3s4.as_1);
217
217
  } else {
218
218
  if (_this__u8e3s4 instanceof Iterable) {
219
- tmp = this.o20(_this__u8e3s4.ps_1);
219
+ tmp = this.w1z(_this__u8e3s4.xr_1);
220
220
  } else {
221
221
  if (_this__u8e3s4 instanceof Unit) {
222
222
  tmp = void_0;
@@ -245,15 +245,15 @@ function emitRoot(_this__u8e3s4, void_0) {
245
245
  }
246
246
  function emitRoot$default(_this__u8e3s4, void_0, $super) {
247
247
  void_0 = void_0 === VOID ? 'void' : void_0;
248
- return $super === VOID ? this.p20(_this__u8e3s4, void_0) : emitRoot(_this__u8e3s4, void_0);
248
+ return $super === VOID ? this.x1z(_this__u8e3s4, void_0) : emitRoot(_this__u8e3s4, void_0);
249
249
  }
250
250
  function emit_7(_this__u8e3s4) {
251
251
  var tmp;
252
252
  if (_this__u8e3s4 instanceof RegExp_0) {
253
- tmp = 'return java.util.regex.Pattern.compile("' + replace(this.pu(_this__u8e3s4.ox_1), '\\', '\\\\') + '").matcher(value).find();';
253
+ tmp = 'return java.util.regex.Pattern.compile("' + replace(this.xt(_this__u8e3s4.ww_1), '\\', '\\\\') + '").matcher(value).find();';
254
254
  } else {
255
255
  if (_this__u8e3s4 instanceof Bound) {
256
- var tmp1_safe_receiver = _this__u8e3s4.ey_1;
256
+ var tmp1_safe_receiver = _this__u8e3s4.mx_1;
257
257
  var tmp_0;
258
258
  if (tmp1_safe_receiver == null) {
259
259
  tmp_0 = null;
@@ -262,7 +262,7 @@ function emit_7(_this__u8e3s4) {
262
262
  tmp_0 = tmp1_safe_receiver + ' < value';
263
263
  }
264
264
  var minCheck = tmp_0;
265
- var tmp2_safe_receiver = _this__u8e3s4.fy_1;
265
+ var tmp2_safe_receiver = _this__u8e3s4.nx_1;
266
266
  var tmp_1;
267
267
  if (tmp2_safe_receiver == null) {
268
268
  tmp_1 = null;
@@ -288,16 +288,16 @@ function emit_7(_this__u8e3s4) {
288
288
  }
289
289
  initMetadataForInterface(JavaTypeDefinitionEmitter, 'JavaTypeDefinitionEmitter', VOID, VOID, [TypeDefinitionEmitter]);
290
290
  function emit_8(channel) {
291
- return trimMargin('\n |' + emitImports(this, channel) + '\n |\n |@FunctionalInterface\n |public interface ' + this.mv(channel.ct_1) + ' {\n | void invoke(' + emitFullyQualified(this, channel, channel.dt_1) + this.o20(channel.dt_1) + ' message);\n |}\n |\n ');
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
292
  }
293
293
  initMetadataForInterface(JavaChannelDefinitionEmitter, 'JavaChannelDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
294
294
  function emit_9(identifier) {
295
295
  var tmp;
296
296
  if (identifier instanceof DefinitionIdentifier) {
297
- tmp = this.z20(identifier.n1());
297
+ tmp = this.h20(identifier.m1());
298
298
  } else {
299
299
  if (identifier instanceof FieldIdentifier) {
300
- tmp = this.d21(this.z20(identifier.n1()));
300
+ tmp = this.l20(this.h20(identifier.m1()));
301
301
  } else {
302
302
  noWhenBranchMatchedException();
303
303
  }
@@ -315,11 +315,11 @@ function sanitizeSymbol(_this__u8e3s4) {
315
315
  var item = _iterator__ex2g4s.v();
316
316
  var _unary__edvuaz = index;
317
317
  index = _unary__edvuaz + 1 | 0;
318
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.ev(item) : item;
318
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.mu(item) : item;
319
319
  destination.x(tmp$ret$0);
320
320
  }
321
321
  var tmp = asSequence(joinToString(destination, ''));
322
- return this.c21(joinToString_0(filter(tmp, JavaIdentifierEmitter$sanitizeSymbol$lambda), ''));
322
+ return this.k20(joinToString_0(filter(tmp, JavaIdentifierEmitter$sanitizeSymbol$lambda), ''));
323
323
  }
324
324
  function sanitizeFirstIsDigit(_this__u8e3s4) {
325
325
  var tmp;
@@ -339,39 +339,44 @@ function sanitizeFirstIsDigit(_this__u8e3s4) {
339
339
  return tmp;
340
340
  }
341
341
  function sanitizeKeywords(_this__u8e3s4) {
342
- return Companion_getInstance_0().f21_1.a2(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
342
+ return Companion_getInstance_0().n20_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
343
343
  }
344
344
  initMetadataForInterface(JavaIdentifierEmitter, 'JavaIdentifierEmitter');
345
- function emit_10(union) {
346
- var tmp = this.mv(union.gt_1);
347
- return trimMargin('\n |public sealed interface ' + tmp + ' permits ' + joinToString(union.ht_1, VOID, VOID, VOID, VOID, VOID, JavaUnionDefinitionEmitter$emit$lambda) + ' {}\n |\n ');
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 ');
348
+ }
349
+ 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 ');
348
353
  }
349
354
  initMetadataForInterface(JavaUnionDefinitionEmitter, 'JavaUnionDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
350
- function emit_11(refined) {
351
- return trimMargin('\n |public record ' + this.mv(refined.rv_1) + ' (' + this.nu(refined.sv_1) + ' value) implements Wirespec.Refined<' + this.nu(refined.sv_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.aw(refined) + '\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public ' + this.nu(refined.sv_1) + ' value() { return value; }\n |}\n |\n ');
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 ');
352
357
  }
353
358
  function emitValidator(_this__u8e3s4) {
354
359
  var defaultReturn = 'return true;';
355
- var type = _this__u8e3s4.sv_1.ez_1;
360
+ var type = _this__u8e3s4.av_1.my_1;
356
361
  var tmp;
357
362
  if (type instanceof Integer) {
358
- var tmp0_safe_receiver = type.jy_1;
359
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.ou(tmp0_safe_receiver);
363
+ var tmp0_safe_receiver = type.rx_1;
364
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.wt(tmp0_safe_receiver);
360
365
  tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
361
366
  } else {
362
367
  if (type instanceof Number_0) {
363
- var tmp2_safe_receiver = type.my_1;
364
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.ou(tmp2_safe_receiver);
368
+ var tmp2_safe_receiver = type.ux_1;
369
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.wt(tmp2_safe_receiver);
365
370
  tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
366
371
  } else {
367
372
  if (type instanceof String_0) {
368
- var tmp4_safe_receiver = type.gy_1;
373
+ var tmp4_safe_receiver = type.ox_1;
369
374
  var tmp_0;
370
375
  var tmp_1 = tmp4_safe_receiver;
371
376
  if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
372
377
  tmp_0 = null;
373
378
  } else {
374
- tmp_0 = this.ou(new RegExp_0(tmp4_safe_receiver));
379
+ tmp_0 = this.wt(new RegExp_0(tmp4_safe_receiver));
375
380
  }
376
381
  var tmp5_elvis_lhs = tmp_0;
377
382
  tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
@@ -391,61 +396,56 @@ function emitValidator(_this__u8e3s4) {
391
396
  return tmp;
392
397
  }
393
398
  initMetadataForInterface(JavaRefinedTypeDefinitionEmitter, 'JavaRefinedTypeDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
394
- function emit_12(enum_0, module_0) {
395
- var tmp = this.mv(enum_0.wv_1);
396
- return trimMargin('\n |public enum ' + tmp + ' implements Wirespec.Enum {\n |' + spacer(joinToString(enum_0.xv_1, ',\n', VOID, VOID, VOID, VOID, JavaEnumDefinitionEmitter$emit$lambda(this))) + ';\n |' + Spacer_instance.toString() + 'public final String label;\n |' + Spacer_instance.toString() + this.mv(enum_0.wv_1) + '(String label) {\n |' + Spacer_instance.gw(2) + 'this.label = label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() {\n |' + Spacer_instance.gw(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String label() {\n |' + Spacer_instance.gw(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
397
- }
398
- initMetadataForInterface(JavaEnumDefinitionEmitter, 'JavaEnumDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
399
399
  function emit_13(endpoint) {
400
400
  var tmp = emitImports_0(this, endpoint);
401
- var tmp_0 = this.mv(endpoint.ut_1);
401
+ var tmp_0 = this.uu(endpoint.ct_1);
402
402
  var tmp_1 = get_pathParams(endpoint);
403
403
  var tmp_2 = emitObject(this, tmp_1, 'Path', 'Wirespec.Path', JavaEndpointDefinitionEmitter$emit$lambda(this));
404
- var tmp_3 = emitObject(this, endpoint.xt_1, 'Queries', 'Wirespec.Queries', JavaEndpointDefinitionEmitter$emit$lambda_0(this));
405
- var tmp_4 = emitObject(this, endpoint.yt_1, 'RequestHeaders', 'Wirespec.Request.Headers', JavaEndpointDefinitionEmitter$emit$lambda_1(this));
406
- var tmp_5 = this.a21(first_0(endpoint.zt_1), endpoint);
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);
407
407
  var tmp_6 = Spacer_instance.toString();
408
408
  var tmp_7 = emitStatusInterfaces(this, endpoint);
409
409
  var tmp_8 = emitResponseInterfaces(this, endpoint);
410
- var tmp_9 = distinctByStatus(endpoint.au_1);
410
+ var tmp_9 = distinctByStatus(endpoint.it_1);
411
411
  var tmp_10 = joinToString(tmp_9, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_2(this));
412
412
  var tmp_11 = Spacer_instance.toString();
413
- var tmp_12 = emitRequestFunctions(this, first_0(endpoint.zt_1), endpoint);
414
- var tmp_13 = Spacer_instance.gw(2);
415
- var tmp_14 = distinctByStatus(endpoint.au_1);
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);
416
416
  var tmp_15 = joinToString(tmp_14, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_3(this));
417
- var tmp_16 = Spacer_instance.gw(3);
418
- var tmp_17 = Spacer_instance.gw(2);
419
- var tmp_18 = Spacer_instance.gw(2);
417
+ var tmp_16 = Spacer_instance.ov(3);
418
+ var tmp_17 = Spacer_instance.ov(2);
419
+ var tmp_18 = Spacer_instance.ov(2);
420
420
  var tmp_19 = emitFromResponse(this, endpoint);
421
- var tmp_20 = Spacer_instance.gw(2);
422
- var tmp_21 = Spacer_instance.gw(2);
423
- var tmp_22 = this.e21(endpoint);
424
- var tmp_23 = Spacer_instance.gw(2);
425
- var tmp_24 = Spacer_instance.gw(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.wt_1, '/', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_4) + '"; }\n |' + Spacer_instance.gw(3) + '@Override public String getMethod() { return "' + endpoint.vt_1.toString() + '"; }\n |' + Spacer_instance.gw(3) + '@Override public Wirespec.ServerEdge<Request, Response<?>> getServer(Wirespec.Serialization serialization) {\n |' + Spacer_instance.gw(4) + 'return new Wirespec.ServerEdge<>() {\n |' + Spacer_instance.gw(5) + '@Override public Request from(Wirespec.RawRequest request) { return fromRequest(serialization, request); }\n |' + Spacer_instance.gw(5) + '@Override public Wirespec.RawResponse to(Response<?> response) { return toResponse(serialization, response); }\n |' + Spacer_instance.gw(4) + '};\n |' + Spacer_instance.gw(3) + '}\n |' + Spacer_instance.gw(3) + '@Override public Wirespec.ClientEdge<Request, Response<?>> getClient(Wirespec.Serialization serialization) {\n |' + Spacer_instance.gw(4) + 'return new Wirespec.ClientEdge<>() {\n |' + Spacer_instance.gw(5) + '@Override public Wirespec.RawRequest to(Request request) { return toRequest(serialization, request); }\n |' + Spacer_instance.gw(5) + '@Override public Response<?> from(Wirespec.RawResponse response) { return fromResponse(serialization, response); }\n |' + Spacer_instance.gw(4) + '};\n |' + Spacer_instance.gw(3) + '}\n |' + Spacer_instance.gw(2) + '}\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
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 ');
427
427
  }
428
428
  function emitHandleFunction(endpoint) {
429
- return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_instance_1.fv(this.mv(endpoint.ut_1)) + '(Request request);';
429
+ return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_instance_1.nu(this.uu(endpoint.ct_1)) + '(Request request);';
430
430
  }
431
431
  function emit_14(_this__u8e3s4, endpoint) {
432
- return trimMargin('\n |' + Spacer_instance.toString() + 'record Request (\n |' + Spacer_instance.gw(2) + 'Path path,\n |' + Spacer_instance.gw(2) + 'Wirespec.Method method,\n |' + Spacer_instance.gw(2) + 'Queries queries,\n |' + Spacer_instance.gw(2) + 'RequestHeaders headers,\n |' + Spacer_instance.gw(2) + emit_16(this, _this__u8e3s4.du_1) + ' body\n |' + Spacer_instance.toString() + ') implements Wirespec.Request<' + emit_16(this, _this__u8e3s4.du_1) + '> {\n |' + Spacer_instance.gw(2) + emitConstructor(this, _this__u8e3s4, endpoint) + '\n |' + Spacer_instance.toString() + '}\n ');
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
433
  }
434
434
  function emit_15(_this__u8e3s4) {
435
435
  var tmp = Spacer_instance.toString();
436
- var tmp_0 = Companion_instance_1.ev(_this__u8e3s4.gu_1);
437
- var tmp_1 = Spacer_instance.gw(2);
438
- var tmp_2 = Spacer_instance.gw(2);
439
- var tmp_3 = Spacer_instance.gw(2);
440
- var tmp_4 = emit_16(this, _this__u8e3s4.iu_1);
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);
441
441
  var tmp_5 = Spacer_instance.toString();
442
- var tmp_6 = toString_0(first(_this__u8e3s4.gu_1));
443
- var tmp_7 = emit_16(this, _this__u8e3s4.iu_1);
444
- var tmp_8 = concatGenerics(emit_16(this, _this__u8e3s4.iu_1));
445
- var tmp_9 = Spacer_instance.gw(2);
446
- var tmp_10 = Companion_instance_1.ev(_this__u8e3s4.gu_1);
447
- var tmp_11 = orNull(joinToString(_this__u8e3s4.hu_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_5(this)));
448
- var tmp0_safe_receiver = _this__u8e3s4.iu_1;
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;
449
449
  var tmp_12;
450
450
  if (tmp0_safe_receiver == null) {
451
451
  tmp_12 = null;
@@ -454,17 +454,17 @@ function emit_15(_this__u8e3s4) {
454
454
  tmp_12 = emit_16(this, tmp0_safe_receiver) + ' body';
455
455
  }
456
456
  var tmp_13 = joinToString(listOfNotNull([tmp_11, tmp_12]));
457
- var tmp_14 = Spacer_instance.gw(3);
458
- var tmp_15 = fixStatus(_this__u8e3s4.gu_1);
457
+ var tmp_14 = Spacer_instance.ov(3);
458
+ var tmp_15 = fixStatus(_this__u8e3s4.ot_1);
459
459
  // Inline function 'kotlin.let' call
460
- var tmp_16 = 'new Headers(' + joinToString(_this__u8e3s4.hu_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_6(this)) + ')';
461
- var tmp_17 = _this__u8e3s4.iu_1 == null ? 'null' : 'body';
462
- var tmp_18 = Spacer_instance.gw(2);
463
- var tmp_19 = Spacer_instance.gw(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.hu_1, 'Headers', 'Wirespec.Response.Headers', JavaEndpointDefinitionEmitter$emit$lambda_7(this)) + '\n |' + Spacer_instance.toString() + '}\n ');
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 ');
465
465
  }
466
466
  initMetadataForInterface(JavaEndpointDefinitionEmitter, 'JavaEndpointDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
467
- initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, LanguageEmitter, [JavaUnionDefinitionEmitter, JavaRefinedTypeDefinitionEmitter, JavaEnumDefinitionEmitter, JavaChannelDefinitionEmitter, JavaIdentifierEmitter, JavaEndpointDefinitionEmitter, JavaTypeDefinitionEmitter, LanguageEmitter]);
467
+ initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, LanguageEmitter, [JavaEnumDefinitionEmitter, JavaUnionDefinitionEmitter, JavaRefinedTypeDefinitionEmitter, JavaIdentifierEmitter, JavaTypeDefinitionEmitter, JavaEndpointDefinitionEmitter, JavaChannelDefinitionEmitter, LanguageEmitter]);
468
468
  initMetadataForCompanion(Companion);
469
469
  initMetadataForCompanion(Companion_0);
470
470
  initMetadataForClass(JavaIrEmitter, 'JavaIrEmitter', JavaIrEmitter, VOID, [IrEmitter]);
@@ -478,7 +478,7 @@ function emitImports($this, _this__u8e3s4) {
478
478
  var _iterator__ex2g4s = tmp0.t();
479
479
  while (_iterator__ex2g4s.u()) {
480
480
  var element = _iterator__ex2g4s.v();
481
- if (!(_this__u8e3s4.lv().n1() === element.az_1)) {
481
+ if (!(_this__u8e3s4.tu().m1() === element.iy_1)) {
482
482
  destination.x(element);
483
483
  }
484
484
  }
@@ -488,7 +488,7 @@ function emitImports($this, _this__u8e3s4) {
488
488
  var _iterator__ex2g4s_0 = destination.t();
489
489
  while (_iterator__ex2g4s_0.u()) {
490
490
  var item = _iterator__ex2g4s_0.v();
491
- var tmp$ret$3 = 'import ' + $this.n20().cw_1 + '.model.' + item.az_1 + ';';
491
+ var tmp$ret$3 = 'import ' + $this.v1z().kv_1 + '.model.' + item.iy_1 + ';';
492
492
  destination_0.x(tmp$ret$3);
493
493
  }
494
494
  var tmp = destination_0;
@@ -496,8 +496,8 @@ function emitImports($this, _this__u8e3s4) {
496
496
  }
497
497
  function emitFullyQualified($this, _this__u8e3s4, reference) {
498
498
  var tmp;
499
- if (_this__u8e3s4.lv().n1() === reference.n1()) {
500
- tmp = $this.n20().cw_1 + '.model.';
499
+ if (_this__u8e3s4.tu().m1() === reference.m1()) {
500
+ tmp = $this.v1z().kv_1 + '.model.';
501
501
  } else {
502
502
  tmp = '';
503
503
  }
@@ -510,49 +510,49 @@ function JavaChannelDefinitionEmitter$emitImports$lambda(it) {
510
510
  function JavaChannelDefinitionEmitter() {
511
511
  }
512
512
  function JavaEmitter(packageName, emitShared) {
513
- packageName = packageName === VOID ? Companion_instance.bw('community.flock.wirespec.generated') : packageName;
514
- emitShared = emitShared === VOID ? Companion_instance_0.ws() : emitShared;
513
+ packageName = packageName === VOID ? Companion_instance.jv('community.flock.wirespec.generated') : packageName;
514
+ emitShared = emitShared === VOID ? Companion_instance_0.es() : emitShared;
515
515
  LanguageEmitter.call(this);
516
- this.q20_1 = packageName;
517
- this.r20_1 = emitShared;
518
- this.s20_1 = '\nimport community.flock.wirespec.java.Wirespec;\n';
519
- this.t20_1 = FileExtension_Java_getInstance();
520
- this.u20_1 = JavaShared_getInstance();
521
- this.v20_1 = '//';
522
- }
523
- protoOf(JavaEmitter).n20 = function () {
524
- return this.q20_1;
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;
525
525
  };
526
- protoOf(JavaEmitter).uu = function () {
527
- return this.t20_1;
526
+ protoOf(JavaEmitter).cu = function () {
527
+ return this.b20_1;
528
528
  };
529
- protoOf(JavaEmitter).w20 = function () {
530
- return this.u20_1;
529
+ protoOf(JavaEmitter).e20 = function () {
530
+ return this.c20_1;
531
531
  };
532
- protoOf(JavaEmitter).vu = function () {
533
- return this.v20_1;
532
+ protoOf(JavaEmitter).du = function () {
533
+ return this.d20_1;
534
534
  };
535
- protoOf(JavaEmitter).jv = function (module_0, logger) {
535
+ protoOf(JavaEmitter).ru = function (module_0, logger) {
536
536
  // Inline function 'kotlin.let' call
537
- var it = protoOf(LanguageEmitter).jv.call(this, module_0, logger);
538
- return this.r20_1.xs_1 ? NonEmptyList__plus_impl_xqmb9(it, new Emitted(Companion_instance.bw('community.flock.wirespec.java').ew() + 'Wirespec', this.w20().y20_1)) : it;
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;
539
539
  };
540
- protoOf(JavaEmitter).kv = function (definition, module_0, logger) {
540
+ protoOf(JavaEmitter).su = function (definition, module_0, logger) {
541
541
  // Inline function 'kotlin.let' call
542
- var it = protoOf(LanguageEmitter).kv.call(this, definition, module_0, logger);
543
- var subPackageName = plus(this.n20(), definition);
544
- var tmp = subPackageName.ew() + this.z20(it.ys_1);
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);
545
545
  // Inline function 'kotlin.text.trimStart' call
546
- var this_0 = trimMargin('\n |package ' + subPackageName.toString() + ';\n |' + (Companion_instance_1.gv(module_0) ? this.s20_1 : '') + '\n |' + it.zs_1 + '\n ');
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
547
  var tmp$ret$0 = toString(trimStart(isCharSequence(this_0) ? this_0 : THROW_CCE()));
548
548
  return new Emitted(tmp, tmp$ret$0);
549
549
  };
550
550
  function emitGetType($this, _this__u8e3s4) {
551
- return 'Wirespec.getType(' + $this.p20(_this__u8e3s4, 'Void') + '.class, ' + emitGetTypeRaw($this, _this__u8e3s4) + ')';
551
+ return 'Wirespec.getType(' + $this.x1z(_this__u8e3s4, 'Void') + '.class, ' + emitGetTypeRaw($this, _this__u8e3s4) + ')';
552
552
  }
553
553
  function emitGetTypeRaw($this, _this__u8e3s4) {
554
554
  var tmp;
555
- var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.sy();
555
+ var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.ay();
556
556
  if (tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs) {
557
557
  tmp = 'java.util.Optional.class';
558
558
  } else {
@@ -567,9 +567,9 @@ function emitGetTypeRaw($this, _this__u8e3s4) {
567
567
  function emitConstructor($this, _this__u8e3s4, endpoint) {
568
568
  var tmp = get_pathParams(endpoint);
569
569
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda($this)));
570
- var tmp_1 = orNull(joinToString(endpoint.xt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_0($this)));
571
- var tmp_2 = orNull(joinToString(endpoint.yt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_1($this)));
572
- var tmp0_safe_receiver = _this__u8e3s4.du_1;
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;
573
573
  var tmp_3;
574
574
  if (tmp0_safe_receiver == null) {
575
575
  tmp_3 = null;
@@ -578,112 +578,112 @@ function emitConstructor($this, _this__u8e3s4, endpoint) {
578
578
  tmp_3 = emit_16($this, tmp0_safe_receiver) + ' body';
579
579
  }
580
580
  var tmp_4 = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]));
581
- var tmp_5 = Spacer_instance.gw(3);
581
+ var tmp_5 = Spacer_instance.ov(3);
582
582
  var tmp_6 = get_pathParams(endpoint);
583
583
  // Inline function 'kotlin.let' call
584
584
  var tmp$ret$3 = 'new Path(' + joinToString(tmp_6, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_2($this)) + ')';
585
585
  var tmp1_elvis_lhs = orNull(tmp$ret$3);
586
586
  var tmp_7 = tmp1_elvis_lhs == null ? 'new Path()' : tmp1_elvis_lhs;
587
- var tmp_8 = 'Wirespec.Method.' + endpoint.vt_1.g3_1;
587
+ var tmp_8 = 'Wirespec.Method.' + endpoint.dt_1.b3_1;
588
588
  // Inline function 'kotlin.let' call
589
- var tmp$ret$5 = 'new Queries(' + joinToString(endpoint.xt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_3($this)) + ')';
589
+ var tmp$ret$5 = 'new Queries(' + joinToString(endpoint.ft_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_3($this)) + ')';
590
590
  var tmp2_elvis_lhs = orNull(tmp$ret$5);
591
591
  var tmp_9 = tmp2_elvis_lhs == null ? 'new Queries()' : tmp2_elvis_lhs;
592
592
  // Inline function 'kotlin.let' call
593
- var tmp$ret$7 = 'new RequestHeaders(' + joinToString(endpoint.yt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_4($this)) + ')';
593
+ var tmp$ret$7 = 'new RequestHeaders(' + joinToString(endpoint.gt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_4($this)) + ')';
594
594
  var tmp3_elvis_lhs = orNull(tmp$ret$7);
595
595
  var tmp_10 = tmp3_elvis_lhs == null ? 'new RequestHeaders()' : tmp3_elvis_lhs;
596
596
  var tmp_11;
597
- if (_this__u8e3s4.du_1 == null) {
597
+ if (_this__u8e3s4.lt_1 == null) {
598
598
  tmp_11 = null;
599
599
  } else {
600
600
  // Inline function 'kotlin.let' call
601
601
  tmp_11 = 'body';
602
602
  }
603
603
  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.gw(2) + '}';
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
605
  }
606
606
  function emitDeserializedParams($this, _this__u8e3s4, endpoint) {
607
607
  var tmp = get_indexedPathParams(endpoint);
608
608
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda($this)));
609
- var tmp_1 = orNull(joinToString(endpoint.xt_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
610
- var tmp_2 = orNull(joinToString(endpoint.yt_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
611
- var tmp0_safe_receiver = _this__u8e3s4.du_1;
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;
612
612
  var tmp_3;
613
613
  if (tmp0_safe_receiver == null) {
614
614
  tmp_3 = null;
615
615
  } else {
616
616
  // Inline function 'kotlin.let' call
617
- tmp_3 = Spacer_instance.gw(4) + 'request.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.fu_1) + ')).orElse(null)';
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
618
  }
619
619
  // Inline function 'kotlin.let' call
620
620
  var it = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]), ',\n');
621
- return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.gw(3);
621
+ return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.ov(3);
622
622
  }
623
623
  function emitDeserializedParams_0($this, _this__u8e3s4) {
624
- var tmp = orNull(joinToString(_this__u8e3s4.hu_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2($this)));
625
- var tmp0_safe_receiver = _this__u8e3s4.iu_1;
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;
626
626
  var tmp_0;
627
627
  if (tmp0_safe_receiver == null) {
628
628
  tmp_0 = null;
629
629
  } else {
630
630
  // Inline function 'kotlin.let' call
631
- tmp_0 = Spacer_instance.gw(5) + 'response.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.fu_1) + ')).orElse(null)';
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
632
  }
633
633
  // Inline function 'kotlin.let' call
634
634
  var it = joinToString(listOfNotNull([tmp, tmp_0]), ',\n');
635
- return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.gw(4);
635
+ return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.ov(4);
636
636
  }
637
637
  function emitSerialized($this, _this__u8e3s4) {
638
638
  var tmp;
639
- if (!(_this__u8e3s4.iu_1 == null)) {
640
- tmp = 'java.util.Optional.ofNullable(serialization.serializeBody(r.body, ' + emitGetType($this, ensureNotNull(_this__u8e3s4.iu_1).fu_1) + '))';
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) + '))';
641
641
  } else {
642
642
  tmp = 'java.util.Optional.empty()';
643
643
  }
644
644
  var body = tmp;
645
645
  var tmp_0;
646
646
  // Inline function 'kotlin.collections.isNotEmpty' call
647
- if (!_this__u8e3s4.hu_1.r()) {
648
- tmp_0 = 'java.util.Map.ofEntries(' + joinToString(_this__u8e3s4.hu_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitSerialized$lambda($this)) + ')';
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)) + ')';
649
649
  } else {
650
650
  tmp_0 = 'java.util.Collections.emptyMap()';
651
651
  }
652
652
  var headers = tmp_0;
653
- return Spacer_instance.gw(3) + 'if (response instanceof Response' + Companion_instance_1.ev(_this__u8e3s4.gu_1) + ' r) { return new Wirespec.RawResponse(r.status(), ' + headers + ', ' + body + '); }';
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
654
  }
655
655
  function emitDeserialized($this, _this__u8e3s4) {
656
- return Spacer_instance.gw(4) + 'case ' + _this__u8e3s4.gu_1 + ' -> new Response' + Companion_instance_1.ev(_this__u8e3s4.gu_1) + '(' + emitDeserializedParams_0($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
657
  }
658
658
  function emitSerializedParams($this, _this__u8e3s4, fields) {
659
- return 'java.util.Map.entry("' + _this__u8e3s4.qt_1.n1() + '", serialization.serializeParam(request.' + (fields === 'queries' ? 'queries' : 'headers') + '().' + $this.mv(_this__u8e3s4.qt_1) + '(), ' + emitGetType($this, _this__u8e3s4.rt_1) + '))';
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
660
  }
661
661
  function emitDeserialized_0($this, _this__u8e3s4) {
662
- return Spacer_instance.gw(4) + 'serialization.deserializePath(request.path().get(' + _this__u8e3s4.nf_1 + '), ' + emitGetType($this, _this__u8e3s4.of_1.cu_1) + ')';
662
+ return Spacer_instance.ov(4) + 'serialization.deserializePath(request.path().get(' + _this__u8e3s4.if_1 + '), ' + emitGetType($this, _this__u8e3s4.jf_1.kt_1) + ')';
663
663
  }
664
664
  function emitDeserializedParams_1($this, _this__u8e3s4, fields, caseSensitive) {
665
665
  var tmp;
666
666
  if (caseSensitive) {
667
- tmp = 'request.' + fields + '().getOrDefault("' + _this__u8e3s4.qt_1.n1() + '", java.util.Collections.emptyList())';
667
+ tmp = 'request.' + fields + '().getOrDefault("' + _this__u8e3s4.ys_1.m1() + '", java.util.Collections.emptyList())';
668
668
  } else {
669
- tmp = 'request.' + fields + '().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + _this__u8e3s4.qt_1.n1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList())';
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
670
  }
671
671
  var valuesFromField = tmp;
672
- return Spacer_instance.gw(4) + 'serialization.<' + $this.nu(_this__u8e3s4.rt_1) + '>deserializeParam(' + valuesFromField + ', ' + emitGetType($this, _this__u8e3s4.rt_1) + ')';
672
+ return Spacer_instance.ov(4) + 'serialization.<' + $this.vt(_this__u8e3s4.zs_1) + '>deserializeParam(' + valuesFromField + ', ' + emitGetType($this, _this__u8e3s4.zs_1) + ')';
673
673
  }
674
674
  function emitSerializedHeader($this, _this__u8e3s4) {
675
- return 'java.util.Map.entry("' + _this__u8e3s4.qt_1.n1() + '", serialization.<' + $this.nu(_this__u8e3s4.rt_1) + '>serializeParam(r.headers().' + $this.mv(_this__u8e3s4.qt_1) + '(), ' + emitGetType($this, _this__u8e3s4.rt_1) + '))';
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
676
  }
677
677
  function emitIdentifier($this, _this__u8e3s4) {
678
- return 'serialization.serializePath(request.path().' + Companion_instance_1.fv($this.mv(_this__u8e3s4.bu_1)) + '(), ' + emitGetType($this, _this__u8e3s4.cu_1) + ')';
678
+ return 'serialization.serializePath(request.path().' + Companion_instance_1.nu($this.uu(_this__u8e3s4.jt_1)) + '(), ' + emitGetType($this, _this__u8e3s4.kt_1) + ')';
679
679
  }
680
680
  function emit_16($this, _this__u8e3s4) {
681
- var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.fu_1;
682
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.nu(tmp1_safe_receiver);
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);
683
683
  return tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
684
684
  }
685
685
  function emit_17($this, _this__u8e3s4) {
686
- return $this.nu(_this__u8e3s4.cu_1) + ' ' + $this.mv(_this__u8e3s4.bu_1);
686
+ return $this.vt(_this__u8e3s4.kt_1) + ' ' + $this.uu(_this__u8e3s4.jt_1);
687
687
  }
688
688
  function emitImports_0($this, _this__u8e3s4) {
689
689
  // Inline function 'kotlin.collections.filter' call
@@ -693,7 +693,7 @@ function emitImports_0($this, _this__u8e3s4) {
693
693
  var _iterator__ex2g4s = tmp0.t();
694
694
  while (_iterator__ex2g4s.u()) {
695
695
  var element = _iterator__ex2g4s.v();
696
- if (!(_this__u8e3s4.lv().n1() === element.az_1)) {
696
+ if (!(_this__u8e3s4.tu().m1() === element.iy_1)) {
697
697
  destination.x(element);
698
698
  }
699
699
  }
@@ -703,46 +703,46 @@ function emitImports_0($this, _this__u8e3s4) {
703
703
  var _iterator__ex2g4s_0 = destination.t();
704
704
  while (_iterator__ex2g4s_0.u()) {
705
705
  var item = _iterator__ex2g4s_0.v();
706
- var tmp$ret$3 = 'import ' + $this.n20().cw_1 + '.model.' + item.az_1 + ';';
706
+ var tmp$ret$3 = 'import ' + $this.v1z().kv_1 + '.model.' + item.iy_1 + ';';
707
707
  destination_0.x(tmp$ret$3);
708
708
  }
709
709
  var tmp = destination_0;
710
710
  return joinToString(tmp, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitImports$lambda);
711
711
  }
712
712
  function emitRequestFunctions($this, _this__u8e3s4, endpoint) {
713
- var tmp = Spacer_instance.gw(2);
714
- var tmp_0 = Spacer_instance.gw(3);
715
- var tmp_1 = Spacer_instance.gw(4);
716
- var tmp_2 = Spacer_instance.gw(4);
717
- var tmp_3 = joinToString(endpoint.wt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda($this));
718
- var tmp_4 = Spacer_instance.gw(4);
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);
719
719
  var tmp_5;
720
720
  // Inline function 'kotlin.collections.isNotEmpty' call
721
- if (!endpoint.xt_1.r()) {
722
- tmp_5 = 'java.util.Map.ofEntries(' + joinToString(endpoint.xt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_0($this)) + ')';
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)) + ')';
723
723
  } else {
724
724
  tmp_5 = 'java.util.Collections.emptyMap()';
725
725
  }
726
726
  var tmp_6 = tmp_5;
727
- var tmp_7 = Spacer_instance.gw(4);
727
+ var tmp_7 = Spacer_instance.ov(4);
728
728
  var tmp_8;
729
729
  // Inline function 'kotlin.collections.isNotEmpty' call
730
- if (!endpoint.yt_1.r()) {
731
- tmp_8 = 'java.util.Map.ofEntries(' + joinToString(endpoint.yt_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1($this)) + ')';
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)) + ')';
732
732
  } else {
733
733
  tmp_8 = 'java.util.Collections.emptyMap()';
734
734
  }
735
735
  var tmp_9 = tmp_8;
736
- var tmp_10 = Spacer_instance.gw(4);
736
+ var tmp_10 = Spacer_instance.ov(4);
737
737
  var tmp_11;
738
- if (!(_this__u8e3s4.du_1 == null)) {
739
- var tmp0_safe_receiver = _this__u8e3s4.du_1;
740
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fu_1;
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;
741
741
  tmp_11 = 'java.util.Optional.ofNullable(serialization.serializeBody(request.body(), ' + (tmp1_safe_receiver == null ? null : emitGetType($this, tmp1_safe_receiver)) + '))';
742
742
  } else {
743
743
  tmp_11 = 'java.util.Optional.empty()';
744
744
  }
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.gw(3) + ');\n |' + Spacer_instance.gw(2) + '}\n |\n |' + Spacer_instance.gw(2) + 'static Request fromRequest(Wirespec.Deserializer serialization, Wirespec.RawRequest request) {\n |' + Spacer_instance.gw(3) + 'return new Request(' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + ');\n |' + Spacer_instance.gw(2) + '}\n ');
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
746
  }
747
747
  function emitObject($this, _this__u8e3s4, name, extends_0, block) {
748
748
  var tmp;
@@ -756,13 +756,13 @@ function emitObject($this, _this__u8e3s4, name, extends_0, block) {
756
756
  }
757
757
  function emitResponseInterfaces($this, _this__u8e3s4) {
758
758
  // Inline function 'kotlin.collections.map' call
759
- var this_0 = distinctByStatus(_this__u8e3s4.au_1);
759
+ var this_0 = distinctByStatus(_this__u8e3s4.it_1);
760
760
  // Inline function 'kotlin.collections.mapTo' call
761
761
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
762
762
  var _iterator__ex2g4s = this_0.t();
763
763
  while (_iterator__ex2g4s.u()) {
764
764
  var item = _iterator__ex2g4s.v();
765
- var tmp$ret$0 = emit_16($this, item.iu_1);
765
+ var tmp$ret$0 = emit_16($this, item.qt_1);
766
766
  destination.x(tmp$ret$0);
767
767
  }
768
768
  var tmp = distinct(destination);
@@ -770,13 +770,13 @@ function emitResponseInterfaces($this, _this__u8e3s4) {
770
770
  }
771
771
  function emitStatusInterfaces($this, _this__u8e3s4) {
772
772
  // Inline function 'kotlin.collections.map' call
773
- var this_0 = _this__u8e3s4.au_1;
773
+ var this_0 = _this__u8e3s4.it_1;
774
774
  // Inline function 'kotlin.collections.mapTo' call
775
775
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
776
776
  var _iterator__ex2g4s = this_0.t();
777
777
  while (_iterator__ex2g4s.u()) {
778
778
  var item = _iterator__ex2g4s.v();
779
- var tmp$ret$0 = new Char(first(item.gu_1));
779
+ var tmp$ret$0 = new Char(first(item.ot_1));
780
780
  destination.x(tmp$ret$0);
781
781
  }
782
782
  var tmp = distinct(destination);
@@ -784,26 +784,26 @@ function emitStatusInterfaces($this, _this__u8e3s4) {
784
784
  }
785
785
  function emitFromResponse($this, _this__u8e3s4) {
786
786
  // Inline function 'kotlin.collections.filter' call
787
- var tmp0 = distinctByStatus(_this__u8e3s4.au_1);
787
+ var tmp0 = distinctByStatus(_this__u8e3s4.it_1);
788
788
  // Inline function 'kotlin.collections.filterTo' call
789
789
  var destination = ArrayList_init_$Create$();
790
790
  var _iterator__ex2g4s = tmp0.t();
791
791
  while (_iterator__ex2g4s.u()) {
792
792
  var element = _iterator__ex2g4s.v();
793
- if (Companion_instance_1.hv(element.gu_1)) {
793
+ if (Companion_instance_1.pu(element.ot_1)) {
794
794
  destination.x(element);
795
795
  }
796
796
  }
797
797
  var statusResponses = destination;
798
798
  var tmp;
799
799
  if (statusResponses.r()) {
800
- tmp = trimMargin('\n |' + Spacer_instance.gw(3) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n ');
801
- } else if (statusResponses.b1() === 1) {
800
+ tmp = trimMargin('\n |' + Spacer_instance.ov(3) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n ');
801
+ } else if (statusResponses.a1() === 1) {
802
802
  var response = first_0(statusResponses);
803
- tmp = trimMargin('\n |' + Spacer_instance.gw(3) + 'if (response.statusCode() == ' + response.gu_1 + ') {\n |' + Spacer_instance.gw(4) + 'return new Response' + Companion_instance_1.ev(response.gu_1) + '(' + emitDeserializedParams_0($this, response) + ');\n |' + Spacer_instance.gw(3) + '} else {\n |' + Spacer_instance.gw(4) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.gw(3) + '}\n ');
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
804
  } else {
805
- var tmp_0 = Spacer_instance.gw(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.gw(4) + 'default -> throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.gw(3) + '};\n ');
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 ');
807
807
  }
808
808
  return tmp;
809
809
  }
@@ -814,17 +814,17 @@ function JavaEndpointDefinitionEmitter$emit$lambda(this$0) {
814
814
  }
815
815
  function JavaEndpointDefinitionEmitter$emit$lambda_0(this$0) {
816
816
  return function (it) {
817
- return this$0.mu(it);
817
+ return this$0.ut(it);
818
818
  };
819
819
  }
820
820
  function JavaEndpointDefinitionEmitter$emit$lambda_1(this$0) {
821
821
  return function (it) {
822
- return this$0.mu(it);
822
+ return this$0.ut(it);
823
823
  };
824
824
  }
825
825
  function JavaEndpointDefinitionEmitter$emit$lambda_2(this$0) {
826
826
  return function (it) {
827
- return this$0.b21(it);
827
+ return this$0.j20(it);
828
828
  };
829
829
  }
830
830
  function JavaEndpointDefinitionEmitter$emit$lambda_3(this$0) {
@@ -842,27 +842,27 @@ function JavaEndpointDefinitionEmitter$emitConstructor$lambda(this$0) {
842
842
  }
843
843
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_0(this$0) {
844
844
  return function (it) {
845
- return this$0.mu(it);
845
+ return this$0.ut(it);
846
846
  };
847
847
  }
848
848
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_1(this$0) {
849
849
  return function (it) {
850
- return this$0.mu(it);
850
+ return this$0.ut(it);
851
851
  };
852
852
  }
853
853
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_2(this$0) {
854
854
  return function (it) {
855
- return this$0.mv(it.bu_1);
855
+ return this$0.uu(it.jt_1);
856
856
  };
857
857
  }
858
858
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_3(this$0) {
859
859
  return function (it) {
860
- return this$0.mv(it.qt_1);
860
+ return this$0.uu(it.ys_1);
861
861
  };
862
862
  }
863
863
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_4(this$0) {
864
864
  return function (it) {
865
- return this$0.mv(it.qt_1);
865
+ return this$0.uu(it.ys_1);
866
866
  };
867
867
  }
868
868
  function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda(this$0) {
@@ -882,22 +882,22 @@ function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1(this$0) {
882
882
  }
883
883
  function JavaEndpointDefinitionEmitter$emit$lambda_5(this$0) {
884
884
  return function (it) {
885
- return this$0.mu(it);
885
+ return this$0.ut(it);
886
886
  };
887
887
  }
888
888
  function JavaEndpointDefinitionEmitter$emit$lambda_6(this$0) {
889
889
  return function (it) {
890
- return this$0.mv(it.qt_1);
890
+ return this$0.uu(it.ys_1);
891
891
  };
892
892
  }
893
893
  function JavaEndpointDefinitionEmitter$emit$lambda_7(this$0) {
894
894
  return function (it) {
895
- return this$0.mu(it);
895
+ return this$0.ut(it);
896
896
  };
897
897
  }
898
898
  function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2(this$0) {
899
899
  return function (it) {
900
- return Spacer_instance.gw(5) + 'serialization.<' + this$0.nu(it.rt_1) + '>deserializeParam(response.headers().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + it.qt_1.n1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList()), ' + emitGetType(this$0, it.rt_1) + ')';
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
901
  };
902
902
  }
903
903
  function JavaEndpointDefinitionEmitter$emitSerialized$lambda(this$0) {
@@ -913,7 +913,7 @@ function JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda(this$0) {
913
913
  return function (it) {
914
914
  var tmp;
915
915
  if (it instanceof Literal) {
916
- tmp = '"' + it.xu_1 + '"';
916
+ tmp = '"' + it.fu_1 + '"';
917
917
  } else {
918
918
  if (it instanceof Param) {
919
919
  tmp = emitIdentifier(this$0, it);
@@ -936,14 +936,14 @@ function JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1(this$0) {
936
936
  }
937
937
  function JavaEndpointDefinitionEmitter$emitObject$lambda($block) {
938
938
  return function (it) {
939
- return Spacer_instance.gw(2) + $block(it);
939
+ return Spacer_instance.ov(2) + $block(it);
940
940
  };
941
941
  }
942
942
  function JavaEndpointDefinitionEmitter$emitResponseInterfaces$lambda(it) {
943
943
  return Spacer_instance.toString() + 'sealed interface Response' + concatGenerics(it) + ' extends Response<' + it + '> {}';
944
944
  }
945
945
  function JavaEndpointDefinitionEmitter$emitStatusInterfaces$lambda(it) {
946
- return Spacer_instance.toString() + 'sealed interface Response' + toString_0(it.i1_1) + 'XX<T> extends Response<T> {}';
946
+ return Spacer_instance.toString() + 'sealed interface Response' + toString_0(it.h1_1) + 'XX<T> extends Response<T> {}';
947
947
  }
948
948
  function JavaEndpointDefinitionEmitter$emitFromResponse$lambda(this$0) {
949
949
  return function (it) {
@@ -956,7 +956,7 @@ function sanitizeNegative($this, _this__u8e3s4) {
956
956
  return startsWith(_this__u8e3s4, '-') ? '__' + substring(_this__u8e3s4, 1) : _this__u8e3s4;
957
957
  }
958
958
  function sanitizeEnum($this, _this__u8e3s4) {
959
- return $this.d21($this.c21(joinToString(split(sanitizeNegative($this, _this__u8e3s4), ['-', ', ', '.', ' ', '//']), '_')));
959
+ return $this.l20($this.k20(joinToString(split(sanitizeNegative($this, _this__u8e3s4), ['-', ', ', '.', ' ', '//']), '_')));
960
960
  }
961
961
  function JavaEnumDefinitionEmitter$emit$lambda(this$0) {
962
962
  return function (it) {
@@ -967,7 +967,7 @@ function JavaEnumDefinitionEmitter() {
967
967
  }
968
968
  function Companion() {
969
969
  Companion_instance_2 = this;
970
- this.f21_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']);
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
971
  }
972
972
  var Companion_instance_2;
973
973
  function Companion_getInstance_0() {
@@ -976,7 +976,7 @@ function Companion_getInstance_0() {
976
976
  return Companion_instance_2;
977
977
  }
978
978
  function JavaIdentifierEmitter$sanitizeSymbol$lambda(it) {
979
- return isLetterOrDigit(it.i1_1) || listOf(new Char(_Char___init__impl__6a9atx(95))).a2(it);
979
+ return isLetterOrDigit(it.h1_1) || listOf(new Char(_Char___init__impl__6a9atx(95))).v1(it);
980
980
  }
981
981
  function JavaIdentifierEmitter() {
982
982
  }
@@ -991,7 +991,7 @@ function sanitizeSymbol_0($this, _this__u8e3s4) {
991
991
  var item = _iterator__ex2g4s.v();
992
992
  var _unary__edvuaz = index;
993
993
  index = _unary__edvuaz + 1 | 0;
994
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.ev(item) : item;
994
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.mu(item) : item;
995
995
  destination.x(tmp$ret$0);
996
996
  }
997
997
  // Inline function 'kotlin.text.filter' call
@@ -1031,14 +1031,14 @@ function sanitizeFirstIsDigit_0($this, _this__u8e3s4) {
1031
1031
  return tmp;
1032
1032
  }
1033
1033
  function sanitizeKeywords_0($this, _this__u8e3s4) {
1034
- return Companion_getInstance_1().g21_1.a2(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1034
+ return Companion_getInstance_1().o20_1.v1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1035
1035
  }
1036
1036
  function sanitizeEnum_0($this, _this__u8e3s4) {
1037
1037
  return sanitizeKeywords_0($this, sanitizeFirstIsDigit_0($this, joinToString(split(_this__u8e3s4, ['-', ', ', '.', ' ', '//']), '_')));
1038
1038
  }
1039
1039
  function Companion_0() {
1040
1040
  Companion_instance_3 = this;
1041
- this.g21_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']);
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
1042
  }
1043
1043
  var Companion_instance_3;
1044
1044
  function Companion_getInstance_1() {
@@ -1050,10 +1050,10 @@ function JavaIrEmitter$sanitizationConfig$lambda(it) {
1050
1050
  return '_' + it;
1051
1051
  }
1052
1052
  function JavaIrEmitter$sanitizationConfig$lambda_0(name) {
1053
- return name.k1l_1.b1() > 1 ? new Name(listOf(name.n1q())) : name;
1053
+ return name.s1k_1.a1() > 1 ? new Name(listOf(name.v1p())) : name;
1054
1054
  }
1055
1055
  function JavaIrEmitter$sanitizationConfig$lambda_1(name) {
1056
- return new Name(listOf(name.n1q()));
1056
+ return new Name(listOf(name.v1p()));
1057
1057
  }
1058
1058
  function JavaIrEmitter$sanitizationConfig$lambda_2(this$0) {
1059
1059
  return function (it) {
@@ -1064,23 +1064,23 @@ function JavaIrEmitter$sanitizationConfig$lambda_3(stmt, tr) {
1064
1064
  var tmp;
1065
1065
  var tmp_0;
1066
1066
  if (stmt instanceof FunctionCall) {
1067
- tmp_0 = stmt.x1q_1.h1n() === 'validate';
1067
+ tmp_0 = stmt.f1q_1.p1m() === 'validate';
1068
1068
  } else {
1069
1069
  tmp_0 = false;
1070
1070
  }
1071
1071
  if (tmp_0) {
1072
- tmp = transformChildren(stmt.b1r(VOID, emptyList()), tr);
1072
+ tmp = transformChildren(stmt.j1q(VOID, emptyList()), tr);
1073
1073
  } else {
1074
1074
  tmp = transformChildren(stmt, tr);
1075
1075
  }
1076
1076
  return tmp;
1077
1077
  }
1078
1078
  function JavaIrEmitter$emitShared$lambda(name) {
1079
- switch (name.h1n()) {
1079
+ switch (name.p1m()) {
1080
1080
  case 'client':
1081
- return Companion_getInstance().m1l('getClient');
1081
+ return Companion_getInstance().u1k('getClient');
1082
1082
  case 'server':
1083
- return Companion_getInstance().m1l('getServer');
1083
+ return Companion_getInstance().u1k('getServer');
1084
1084
  default:
1085
1085
  return null;
1086
1086
  }
@@ -1090,7 +1090,7 @@ function JavaIrEmitter$emitShared$lambda_0($imports) {
1090
1090
  var tmp;
1091
1091
  if (element instanceof File) {
1092
1092
  // Inline function 'kotlin.collections.partition' call
1093
- var this_0 = element.t1r_1;
1093
+ var this_0 = element.b1r_1;
1094
1094
  var first = ArrayList_init_$Create$();
1095
1095
  var second = ArrayList_init_$Create$();
1096
1096
  var _iterator__ex2g4s = this_0.t();
@@ -1103,9 +1103,9 @@ function JavaIrEmitter$emitShared$lambda_0($imports) {
1103
1103
  }
1104
1104
  }
1105
1105
  var _destruct__k2r9zo = new Pair(first, second);
1106
- var packageElements = _destruct__k2r9zo.pf();
1107
- var rest = _destruct__k2r9zo.qf();
1108
- tmp = element.w1r(VOID, plus_1(plus_1(packageElements, $imports), rest));
1106
+ var packageElements = _destruct__k2r9zo.kf();
1107
+ var rest = _destruct__k2r9zo.lf();
1108
+ tmp = element.e1r(VOID, plus_1(plus_1(packageElements, $imports), rest));
1109
1109
  } else {
1110
1110
  tmp = element;
1111
1111
  }
@@ -1117,11 +1117,11 @@ function JavaIrEmitter$emitShared$lambda_1($clientServer) {
1117
1117
  return function (element, transformer) {
1118
1118
  var tmp;
1119
1119
  if (element instanceof Namespace) {
1120
- var injected = element.y1r_1.equals(Companion_getInstance().m1l('Wirespec')) ? $clientServer : emptyList();
1120
+ var injected = element.g1r_1.equals(Companion_getInstance().u1k('Wirespec')) ? $clientServer : emptyList();
1121
1121
  var tmp_0;
1122
1122
  // Inline function 'kotlin.collections.isNotEmpty' call
1123
1123
  if (!injected.r()) {
1124
- tmp_0 = withElements(element, plus_1(element.u1r(), injected));
1124
+ tmp_0 = withElements(element, plus_1(element.c1r(), injected));
1125
1125
  } else {
1126
1126
  tmp_0 = element;
1127
1127
  }
@@ -1146,7 +1146,7 @@ function JavaIrEmitter$emitGenerator$lambda_1(it) {
1146
1146
  }
1147
1147
  function JavaIrEmitter$emitGenerator$lambda_2(this$0) {
1148
1148
  return function (it) {
1149
- return import_0(this$0.n20().cw_1 + '.model', it);
1149
+ return import_0(this$0.v1z().kv_1 + '.model', it);
1150
1150
  };
1151
1151
  }
1152
1152
  function JavaIrEmitter$emit$lambda(this$0) {
@@ -1158,38 +1158,38 @@ function JavaIrEmitter$emit$lambda_0(it) {
1158
1158
  return listOf(function_0('label', VOID, VOID, JavaIrEmitter$emit$lambda$lambda));
1159
1159
  }
1160
1160
  function JavaIrEmitter$emit$lambda$lambda($this$function) {
1161
- $this$function.z1l(String_instance);
1162
- $this$function.a1m(new VariableReference(Companion_getInstance().m1l('label')));
1161
+ $this$function.h1l(String_instance);
1162
+ $this$function.i1l(new VariableReference(Companion_getInstance().u1k('label')));
1163
1163
  return Unit_instance;
1164
1164
  }
1165
1165
  function JavaIrEmitter(packageName, emitShared) {
1166
1166
  Companion_getInstance_1();
1167
- packageName = packageName === VOID ? Companion_instance.bw('community.flock.wirespec.generated') : packageName;
1168
- emitShared = emitShared === VOID ? Companion_instance_0.ws() : emitShared;
1169
- this.h21_1 = packageName;
1170
- this.i21_1 = emitShared;
1171
- this.j21_1 = JavaGenerator_getInstance();
1172
- this.k21_1 = FileExtension_Java_getInstance();
1173
- this.l21_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
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'));
1174
1174
  var tmp = this;
1175
- var tmp_0 = Companion_getInstance_1().g21_1;
1175
+ var tmp_0 = Companion_getInstance_1().o20_1;
1176
1176
  var tmp_1 = JavaIrEmitter$sanitizationConfig$lambda;
1177
1177
  var tmp_2 = JavaIrEmitter$sanitizationConfig$lambda_0;
1178
1178
  var tmp_3 = JavaIrEmitter$sanitizationConfig$lambda_1;
1179
1179
  var tmp_4 = JavaIrEmitter$sanitizationConfig$lambda_2(this);
1180
- tmp.m21_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaIrEmitter$sanitizationConfig$lambda_3);
1180
+ tmp.u20_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaIrEmitter$sanitizationConfig$lambda_3);
1181
1181
  }
1182
- protoOf(JavaIrEmitter).n20 = function () {
1183
- return this.h21_1;
1182
+ protoOf(JavaIrEmitter).v1z = function () {
1183
+ return this.p20_1;
1184
1184
  };
1185
- protoOf(JavaIrEmitter).q1z = function () {
1186
- return this.j21_1;
1185
+ protoOf(JavaIrEmitter).y1y = function () {
1186
+ return this.r20_1;
1187
1187
  };
1188
- protoOf(JavaIrEmitter).uu = function () {
1189
- return this.k21_1;
1188
+ protoOf(JavaIrEmitter).cu = function () {
1189
+ return this.s20_1;
1190
1190
  };
1191
- protoOf(JavaIrEmitter).t1z = function () {
1192
- var packageName = Companion_instance.bw('community.flock.wirespec.java');
1191
+ protoOf(JavaIrEmitter).b1z = function () {
1192
+ var packageName = Companion_instance.jv('community.flock.wirespec.java');
1193
1193
  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
1194
  // Inline function 'kotlin.collections.map' call
1195
1195
  var this_0 = convertClientServer(packageName);
@@ -1208,49 +1208,49 @@ protoOf(JavaIrEmitter).t1z = function () {
1208
1208
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1209
1209
  var tmp = scope;
1210
1210
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1211
- var this_2 = scope.d1z_1;
1211
+ var this_2 = scope.l1y_1;
1212
1212
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1213
1213
  // Inline function 'kotlin.apply' call
1214
1214
  var this_3 = new TransformerBuilder();
1215
- this_3.v1m(JavaIrEmitter$emitShared$lambda_0(imports));
1216
- var tmp$ret$5 = this_3.w1m();
1217
- tmp.d1z_1 = transform(this_2, tmp$ret$5);
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);
1218
1218
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1219
1219
  var tmp_0 = scope;
1220
1220
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1221
1221
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1222
- var this_4 = scope.d1z_1;
1222
+ var this_4 = scope.l1y_1;
1223
1223
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1224
1224
  // Inline function 'kotlin.apply' call
1225
1225
  var this_5 = new TransformerBuilder();
1226
- this_5.v1m(JavaIrEmitter$emitShared$lambda_1(clientServer));
1227
- var tmp$ret$10 = this_5.w1m();
1228
- tmp_0.d1z_1 = transform(this_4, tmp$ret$10);
1229
- var tmp_1 = scope.d1z_1;
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;
1230
1230
  var wirespecShared = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1231
1231
  var tmp_2;
1232
- if (this.i21_1.xs_1) {
1232
+ if (this.q20_1.fs_1) {
1233
1233
  tmp_2 = wirespecShared;
1234
1234
  } else {
1235
1235
  tmp_2 = null;
1236
1236
  }
1237
1237
  return tmp_2;
1238
1238
  };
1239
- protoOf(JavaIrEmitter).kv = function (definition, module_0, logger) {
1239
+ protoOf(JavaIrEmitter).su = function (definition, module_0, logger) {
1240
1240
  var file = emit_0.call(this, definition, module_0, logger);
1241
- var tmp = file.w1r(Companion_getInstance().m1l(sanitizeSymbol_0(this, file.s1r_1.t1q())));
1241
+ var tmp = file.e1r(Companion_getInstance().u1k(sanitizeSymbol_0(this, file.a1r_1.b1q())));
1242
1242
  // Inline function 'kotlin.takeIf' call
1243
- var this_0 = this.l21_1;
1243
+ var this_0 = this.t20_1;
1244
1244
  var tmp_0;
1245
- if (Companion_instance_1.gv(module_0)) {
1245
+ if (Companion_instance_1.ou(module_0)) {
1246
1246
  tmp_0 = this_0;
1247
1247
  } else {
1248
1248
  tmp_0 = null;
1249
1249
  }
1250
1250
  var tmp$ret$1 = tmp_0;
1251
- return placeInPackage(prependImports(tmp, tmp$ret$1), this.n20(), definition);
1251
+ return placeInPackage(prependImports(tmp, tmp$ret$1), this.v1z(), definition);
1252
1252
  };
1253
- protoOf(JavaIrEmitter).x1z = function (definition, module_0) {
1253
+ protoOf(JavaIrEmitter).f1z = function (definition, module_0) {
1254
1254
  var tmp;
1255
1255
  if (definition instanceof Type) {
1256
1256
  tmp = convertToGenerator_2(definition, module_0);
@@ -1270,33 +1270,33 @@ protoOf(JavaIrEmitter).x1z = function (definition, module_0) {
1270
1270
  }
1271
1271
  }
1272
1272
  var generatorFile = tmp;
1273
- var sanitized = sanitizeNames(generatorFile, this.m21_1);
1274
- var generatorOwnName = definition.lv().n1() + 'Generator';
1273
+ var sanitized = sanitizeNames(generatorFile, this.u20_1);
1274
+ var generatorOwnName = definition.tu().m1() + 'Generator';
1275
1275
  var tmp_0 = asSequence_0(collectCustomTypeNames(sanitized));
1276
1276
  var tmp_1 = filterNot(tmp_0, JavaIrEmitter$emitGenerator$lambda);
1277
1277
  var tmp_2 = filterNot(tmp_1, JavaIrEmitter$emitGenerator$lambda_0(generatorOwnName));
1278
1278
  var tmp_3 = distinct_0(map(tmp_2, JavaIrEmitter$emitGenerator$lambda_1));
1279
1279
  var modelImports = toList(map(tmp_3, JavaIrEmitter$emitGenerator$lambda_2(this)));
1280
- return placeInPackage_0(prependImports(sanitized, plus_1(this.l21_1, modelImports)), this.n20(), 'generator');
1280
+ return placeInPackage_0(prependImports(sanitized, plus_1(this.t20_1, modelImports)), this.v1z(), 'generator');
1281
1281
  };
1282
- protoOf(JavaIrEmitter).ku = function (type, module_0) {
1283
- return sanitizeNames(convertWithValidation(type, module_0), this.m21_1);
1282
+ protoOf(JavaIrEmitter).st = function (type, module_0) {
1283
+ return sanitizeNames(convertWithValidation(type, module_0), this.u20_1);
1284
1284
  };
1285
- protoOf(JavaIrEmitter).yv = function (enum_0, module_0) {
1285
+ protoOf(JavaIrEmitter).gv = function (enum_0, module_0) {
1286
1286
  var tmp = convert_0(enum_0);
1287
1287
  var tmp_0 = JavaIrEmitter$emit$lambda(this);
1288
- return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaIrEmitter$emit$lambda_0), this.m21_1);
1288
+ return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaIrEmitter$emit$lambda_0), this.u20_1);
1289
1289
  };
1290
- protoOf(JavaIrEmitter).ov = function (union) {
1291
- return sanitizeNames(convert_1(union), this.m21_1);
1290
+ protoOf(JavaIrEmitter).wu = function (union) {
1291
+ return sanitizeNames(convert_1(union), this.u20_1);
1292
1292
  };
1293
- protoOf(JavaIrEmitter).tv = function (refined) {
1294
- return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.m21_1);
1293
+ protoOf(JavaIrEmitter).bv = function (refined) {
1294
+ return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.u20_1);
1295
1295
  };
1296
- protoOf(JavaIrEmitter).zv = function (endpoint) {
1297
- var tmp = sanitizeNames(transformTypeDescriptors(injectHandleFunction(convert_3(endpoint), endpoint)), this.m21_1);
1296
+ protoOf(JavaIrEmitter).hv = function (endpoint) {
1297
+ var tmp = sanitizeNames(transformTypeDescriptors(injectHandleFunction(convert_3(endpoint), endpoint)), this.u20_1);
1298
1298
  // Inline function 'kotlin.takeIf' call
1299
- var this_0 = buildModelImports(endpoint, this.n20());
1299
+ var this_0 = buildModelImports(endpoint, this.v1z());
1300
1300
  var tmp_0;
1301
1301
  // Inline function 'kotlin.collections.isNotEmpty' call
1302
1302
  if (!this_0.r()) {
@@ -1307,25 +1307,25 @@ protoOf(JavaIrEmitter).zv = function (endpoint) {
1307
1307
  var tmp$ret$2 = tmp_0;
1308
1308
  return prependImports(tmp, tmp$ret$2);
1309
1309
  };
1310
- protoOf(JavaIrEmitter).nv = function (channel) {
1310
+ protoOf(JavaIrEmitter).vu = function (channel) {
1311
1311
  var tmp;
1312
- if (channel.ct_1.n1() === channel.dt_1.n1()) {
1313
- tmp = this.n20().cw_1 + '.model.';
1312
+ if (channel.ks_1.m1() === channel.ls_1.m1()) {
1313
+ tmp = this.v1z().kv_1 + '.model.';
1314
1314
  } else {
1315
1315
  tmp = '';
1316
1316
  }
1317
1317
  var fullyQualifiedPrefix = tmp;
1318
- return applyFunctionalInterface(sanitizeNames(convert_4(channel), this.m21_1), fullyQualifiedPrefix);
1318
+ return applyFunctionalInterface(sanitizeNames(convert_4(channel), this.u20_1), fullyQualifiedPrefix);
1319
1319
  };
1320
- protoOf(JavaIrEmitter).w1z = function (endpoint) {
1321
- var imports = buildModelImports(endpoint, this.n20());
1322
- var endpointImport = import_0(this.n20().cw_1 + '.endpoint', endpoint.ut_1.n1());
1323
- var endpointName = endpoint.ut_1.n1();
1324
- var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.m21_1)), endpointName);
1325
- var subPackageName = plus_0(this.n20(), 'client');
1326
- return new File(Companion_getInstance().m1l(subPackageName.ew() + sanitizeSymbol_0(this, file.s1r_1.t1q())), plus_1(plus_1(plus_1(plus_1(listOf(new Package(subPackageName.cw_1)), this.l21_1), imports), listOf(endpointImport)), file.t1r_1));
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));
1327
1327
  };
1328
- protoOf(JavaIrEmitter).u1z = function (endpoints, logger) {
1328
+ protoOf(JavaIrEmitter).c1z = function (endpoints, logger) {
1329
1329
  // Inline function 'kotlin.collections.flatMap' call
1330
1330
  // Inline function 'kotlin.collections.flatMapTo' call
1331
1331
  var destination = ArrayList_init_$Create$();
@@ -1341,7 +1341,7 @@ protoOf(JavaIrEmitter).u1z = function (endpoints, logger) {
1341
1341
  var _iterator__ex2g4s_0 = destination.t();
1342
1342
  while (_iterator__ex2g4s_0.u()) {
1343
1343
  var e = _iterator__ex2g4s_0.v();
1344
- var key = e.az_1;
1344
+ var key = e.iy_1;
1345
1345
  if (set.x(key)) {
1346
1346
  list_0.x(e);
1347
1347
  }
@@ -1368,7 +1368,7 @@ protoOf(JavaIrEmitter).u1z = function (endpoints, logger) {
1368
1368
  var _iterator__ex2g4s_2 = endpoints.t();
1369
1369
  while (_iterator__ex2g4s_2.u()) {
1370
1370
  var element_1 = _iterator__ex2g4s_2.v();
1371
- if (element_1.ut_1.n1() === element_0.az_1) {
1371
+ if (element_1.ct_1.m1() === element_0.iy_1) {
1372
1372
  tmp$ret$5 = false;
1373
1373
  break $l$block_0;
1374
1374
  }
@@ -1385,7 +1385,7 @@ protoOf(JavaIrEmitter).u1z = function (endpoints, logger) {
1385
1385
  var _iterator__ex2g4s_3 = destination_0.t();
1386
1386
  while (_iterator__ex2g4s_3.u()) {
1387
1387
  var item = _iterator__ex2g4s_3.v();
1388
- var tmp$ret$10 = import_0(this.n20().cw_1 + '.model', item.az_1);
1388
+ var tmp$ret$10 = import_0(this.v1z().kv_1 + '.model', item.iy_1);
1389
1389
  destination_1.x(tmp$ret$10);
1390
1390
  }
1391
1391
  var imports = destination_1;
@@ -1395,7 +1395,7 @@ protoOf(JavaIrEmitter).u1z = function (endpoints, logger) {
1395
1395
  var _iterator__ex2g4s_4 = endpoints.t();
1396
1396
  while (_iterator__ex2g4s_4.u()) {
1397
1397
  var item_0 = _iterator__ex2g4s_4.v();
1398
- var tmp$ret$13 = import_0(this.n20().cw_1 + '.endpoint', item_0.ut_1.n1());
1398
+ var tmp$ret$13 = import_0(this.v1z().kv_1 + '.endpoint', item_0.ct_1.m1());
1399
1399
  destination_2.x(tmp$ret$13);
1400
1400
  }
1401
1401
  var endpointImports = destination_2;
@@ -1405,19 +1405,19 @@ protoOf(JavaIrEmitter).u1z = function (endpoints, logger) {
1405
1405
  var _iterator__ex2g4s_5 = endpoints.t();
1406
1406
  while (_iterator__ex2g4s_5.u()) {
1407
1407
  var item_1 = _iterator__ex2g4s_5.v();
1408
- var tmp$ret$16 = import_0(this.n20().cw_1 + '.client', item_1.ut_1.n1() + 'Client');
1408
+ var tmp$ret$16 = import_0(this.v1z().kv_1 + '.client', item_1.ct_1.m1() + 'Client');
1409
1409
  destination_3.x(tmp$ret$16);
1410
1410
  }
1411
1411
  var clientImports = destination_3;
1412
1412
  var allImports = plus_1(plus_1(imports, endpointImports), clientImports);
1413
- var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.m21_1);
1414
- return new File(Companion_getInstance().m1l(this.n20().ew() + sanitizeSymbol_0(this, file.s1r_1.t1q())), plus_1(plus_1(plus_1(listOf(new Package(this.n20().cw_1)), this.l21_1), allImports), file.t1r_1));
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));
1415
1415
  };
1416
1416
  function transformTypeDescriptors(_this__u8e3s4) {
1417
1417
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1418
1418
  var scope = new TransformScope(_this__u8e3s4);
1419
- scope.m1z(transformTypeDescriptors$lambda);
1420
- var tmp = scope.d1z_1;
1419
+ scope.u1y(transformTypeDescriptors$lambda);
1420
+ var tmp = scope.l1y_1;
1421
1421
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
1422
1422
  }
1423
1423
  function applyRefinedStructShape(_this__u8e3s4, refined) {
@@ -1426,14 +1426,14 @@ function applyRefinedStructShape(_this__u8e3s4, refined) {
1426
1426
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1427
1427
  var tmp = scope;
1428
1428
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1429
- var this_0 = scope.d1z_1;
1429
+ var this_0 = scope.l1y_1;
1430
1430
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1431
1431
  // Inline function 'kotlin.apply' call
1432
1432
  var this_1 = new TransformerBuilder();
1433
- this_1.v1m(applyRefinedStructShape$lambda(refined));
1434
- var tmp$ret$2 = this_1.w1m();
1435
- tmp.d1z_1 = transform(this_0, tmp$ret$2);
1436
- var tmp_0 = scope.d1z_1;
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;
1437
1437
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1438
1438
  }
1439
1439
  function injectHandleFunction(_this__u8e3s4, endpoint) {
@@ -1443,14 +1443,14 @@ function injectHandleFunction(_this__u8e3s4, endpoint) {
1443
1443
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1444
1444
  var tmp = scope;
1445
1445
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1446
- var this_0 = scope.d1z_1;
1446
+ var this_0 = scope.l1y_1;
1447
1447
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1448
1448
  // Inline function 'kotlin.apply' call
1449
1449
  var this_1 = new TransformerBuilder();
1450
- this_1.v1m(injectHandleFunction$lambda(handlersStruct));
1451
- var tmp$ret$2 = this_1.w1m();
1452
- tmp.d1z_1 = transform(this_0, tmp$ret$2);
1453
- var tmp_0 = scope.d1z_1;
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;
1454
1454
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1455
1455
  }
1456
1456
  function buildModelImports(_this__u8e3s4, packageName) {
@@ -1461,7 +1461,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
1461
1461
  var _iterator__ex2g4s = tmp0.t();
1462
1462
  while (_iterator__ex2g4s.u()) {
1463
1463
  var element = _iterator__ex2g4s.v();
1464
- if (!(_this__u8e3s4.lv().n1() === element.az_1)) {
1464
+ if (!(_this__u8e3s4.tu().m1() === element.iy_1)) {
1465
1465
  destination.x(element);
1466
1466
  }
1467
1467
  }
@@ -1471,7 +1471,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
1471
1471
  var _iterator__ex2g4s_0 = destination.t();
1472
1472
  while (_iterator__ex2g4s_0.u()) {
1473
1473
  var item = _iterator__ex2g4s_0.v();
1474
- var tmp$ret$3 = import_0(packageName.cw_1 + '.model', item.az_1);
1474
+ var tmp$ret$3 = import_0(packageName.kv_1 + '.model', item.iy_1);
1475
1475
  destination_0.x(tmp$ret$3);
1476
1476
  }
1477
1477
  return destination_0;
@@ -1482,24 +1482,24 @@ function applyFunctionalInterface(_this__u8e3s4, fullyQualifiedPrefix) {
1482
1482
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1483
1483
  var tmp = scope;
1484
1484
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1485
- var this_0 = scope.d1z_1;
1485
+ var this_0 = scope.l1y_1;
1486
1486
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1487
1487
  // Inline function 'kotlin.apply' call
1488
1488
  var this_1 = new TransformerBuilder();
1489
- this_1.v1m(applyFunctionalInterface$lambda(fullyQualifiedPrefix));
1490
- var tmp$ret$2 = this_1.w1m();
1491
- tmp.d1z_1 = transform(this_0, tmp$ret$2);
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);
1492
1492
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1493
1493
  var tmp_0 = scope;
1494
1494
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1495
- var this_2 = scope.d1z_1;
1495
+ var this_2 = scope.l1y_1;
1496
1496
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1497
1497
  // Inline function 'kotlin.apply' call
1498
1498
  var this_3 = new TransformerBuilder();
1499
- this_3.v1m(applyFunctionalInterface$lambda_0);
1500
- var tmp$ret$7 = this_3.w1m();
1501
- tmp_0.d1z_1 = transform(this_2, tmp$ret$7);
1502
- var tmp_1 = scope.d1z_1;
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;
1503
1503
  return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1504
1504
  }
1505
1505
  function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
@@ -1508,26 +1508,26 @@ function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
1508
1508
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1509
1509
  var tmp = scope;
1510
1510
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1511
- var this_0 = scope.d1z_1;
1511
+ var this_0 = scope.l1y_1;
1512
1512
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1513
1513
  // Inline function 'kotlin.apply' call
1514
1514
  var this_1 = new TransformerBuilder();
1515
- this_1.v1m(wrapAsyncReturnInThenApply$lambda(endpointName));
1516
- var tmp$ret$2 = this_1.w1m();
1517
- tmp.d1z_1 = transform(this_0, tmp$ret$2);
1518
- var tmp_0 = scope.d1z_1;
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;
1519
1519
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1520
1520
  }
1521
1521
  function findRoot(_this__u8e3s4) {
1522
1522
  var tmp;
1523
1523
  if (_this__u8e3s4 instanceof Nullable) {
1524
- tmp = findRoot(_this__u8e3s4.d1n_1);
1524
+ tmp = findRoot(_this__u8e3s4.l1m_1);
1525
1525
  } else {
1526
1526
  if (_this__u8e3s4 instanceof Array_0) {
1527
- tmp = findRoot(_this__u8e3s4.e1n_1);
1527
+ tmp = findRoot(_this__u8e3s4.m1m_1);
1528
1528
  } else {
1529
1529
  if (_this__u8e3s4 instanceof Dict_0) {
1530
- tmp = findRoot(_this__u8e3s4.g1r_1);
1530
+ tmp = findRoot(_this__u8e3s4.o1q_1);
1531
1531
  } else {
1532
1532
  tmp = _this__u8e3s4;
1533
1533
  }
@@ -1556,7 +1556,7 @@ function toJavaName(_this__u8e3s4) {
1556
1556
  var tmp;
1557
1557
  if (_this__u8e3s4 instanceof Integer_0) {
1558
1558
  var tmp_0;
1559
- switch (_this__u8e3s4.c1r_1.h3_1) {
1559
+ switch (_this__u8e3s4.k1q_1.c3_1) {
1560
1560
  case 0:
1561
1561
  tmp_0 = 'Integer';
1562
1562
  break;
@@ -1571,7 +1571,7 @@ function toJavaName(_this__u8e3s4) {
1571
1571
  } else {
1572
1572
  if (_this__u8e3s4 instanceof Number_1) {
1573
1573
  var tmp_1;
1574
- switch (_this__u8e3s4.d1r_1.h3_1) {
1574
+ switch (_this__u8e3s4.l1q_1.c3_1) {
1575
1575
  case 0:
1576
1576
  tmp_1 = 'Float';
1577
1577
  break;
@@ -1600,7 +1600,7 @@ function toJavaName(_this__u8e3s4) {
1600
1600
  tmp = 'Void';
1601
1601
  } else {
1602
1602
  if (_this__u8e3s4 instanceof Custom_0) {
1603
- tmp = _this__u8e3s4.f1n_1;
1603
+ tmp = _this__u8e3s4.n1m_1;
1604
1604
  } else {
1605
1605
  tmp = 'Object';
1606
1606
  }
@@ -1614,7 +1614,7 @@ function toJavaName(_this__u8e3s4) {
1614
1614
  return tmp;
1615
1615
  }
1616
1616
  function buildHandlersStruct(_this__u8e3s4) {
1617
- var pathTemplate = '/' + joinToString(_this__u8e3s4.wt_1, '/', VOID, VOID, VOID, VOID, buildHandlersStruct$lambda);
1617
+ var pathTemplate = '/' + joinToString(_this__u8e3s4.et_1, '/', VOID, VOID, VOID, VOID, buildHandlersStruct$lambda);
1618
1618
  return struct('Handlers', buildHandlersStruct$lambda_0(pathTemplate, _this__u8e3s4));
1619
1619
  }
1620
1620
  function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
@@ -1624,8 +1624,8 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
1624
1624
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1625
1625
  var scope = new TransformScope(_this__u8e3s4);
1626
1626
  var tmp_0 = withFullyQualifiedPrefix$lambda;
1627
- scope.g1z(tmp_0, withFullyQualifiedPrefix$lambda_0(prefix));
1628
- var tmp_1 = scope.d1z_1;
1627
+ scope.o1y(tmp_0, withFullyQualifiedPrefix$lambda_0(prefix));
1628
+ var tmp_1 = scope.l1y_1;
1629
1629
  tmp = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1630
1630
  } else {
1631
1631
  tmp = _this__u8e3s4;
@@ -1635,8 +1635,8 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
1635
1635
  function transformTypeDescriptors$lambda(stmt, tr) {
1636
1636
  var tmp;
1637
1637
  if (stmt instanceof TypeDescriptor) {
1638
- var rootType = findRoot(stmt.i1t_1);
1639
- var containerStr = rawContainerClass(stmt.i1t_1);
1638
+ var rootType = findRoot(stmt.q1s_1);
1639
+ var containerStr = rawContainerClass(stmt.q1s_1);
1640
1640
  var rootStr = toJavaName(rootType) + '.class';
1641
1641
  var tmp_0;
1642
1642
  if (containerStr == null) {
@@ -1655,8 +1655,8 @@ function transformTypeDescriptors$lambda(stmt, tr) {
1655
1655
  }
1656
1656
  function applyRefinedStructShape$lambda$lambda($refined) {
1657
1657
  return function ($this$function) {
1658
- $this$function.z1l(convert_5($refined.sv_1));
1659
- $this$function.a1m(new VariableReference(Companion_getInstance().m1l('value')));
1658
+ $this$function.h1l(convert_5($refined.av_1));
1659
+ $this$function.i1l(new VariableReference(Companion_getInstance().u1k('value')));
1660
1660
  return Unit_instance;
1661
1661
  };
1662
1662
  }
@@ -1666,18 +1666,18 @@ function applyRefinedStructShape$lambda($refined) {
1666
1666
  if (element instanceof Struct) {
1667
1667
  var tmp_0 = listOf(new Custom_0('Wirespec.Refined'));
1668
1668
  // Inline function 'kotlin.collections.map' call
1669
- var this_0 = element.h1s_1;
1669
+ var this_0 = element.p1r_1;
1670
1670
  // Inline function 'kotlin.collections.mapTo' call
1671
1671
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1672
1672
  var _iterator__ex2g4s = this_0.t();
1673
1673
  while (_iterator__ex2g4s.u()) {
1674
1674
  var item = _iterator__ex2g4s.v();
1675
1675
  var tmp0_safe_receiver = item instanceof Function ? item : null;
1676
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j1p(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true);
1676
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r1o(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true);
1677
1677
  var tmp$ret$0 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
1678
1678
  destination.x(tmp$ret$0);
1679
1679
  }
1680
- var tmp_1 = element.k1s(VOID, VOID, VOID, tmp_0, destination);
1680
+ var tmp_1 = element.s1r(VOID, VOID, VOID, tmp_0, destination);
1681
1681
  tmp = plus_3(tmp_1, function_0('value', VOID, true, applyRefinedStructShape$lambda$lambda($refined)));
1682
1682
  } else {
1683
1683
  tmp = element;
@@ -1694,7 +1694,7 @@ function injectHandleFunction$lambda$lambda($handlersStruct) {
1694
1694
  var tmp_0;
1695
1695
  // Inline function 'kotlin.collections.isNotEmpty' call
1696
1696
  if (!injected.r()) {
1697
- tmp_0 = withElements(element, plus_1(element.u1r(), injected));
1697
+ tmp_0 = withElements(element, plus_1(element.c1r(), injected));
1698
1698
  } else {
1699
1699
  tmp_0 = element;
1700
1700
  }
@@ -1711,21 +1711,21 @@ function injectHandleFunction$lambda($handlersStruct) {
1711
1711
  var tmp;
1712
1712
  if (element instanceof Interface) {
1713
1713
  var tmp_0;
1714
- if (element.l1s_1.equals(Companion_getInstance().m1l('Handler'))) {
1714
+ if (element.t1r_1.equals(Companion_getInstance().u1k('Handler'))) {
1715
1715
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1716
1716
  var scope = new TransformScope(element);
1717
1717
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1718
1718
  var tmp_1 = scope;
1719
1719
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1720
1720
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1721
- var this_0 = scope.d1z_1;
1721
+ var this_0 = scope.l1y_1;
1722
1722
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1723
1723
  // Inline function 'kotlin.apply' call
1724
1724
  var this_1 = new TransformerBuilder();
1725
- this_1.v1m(injectHandleFunction$lambda$lambda($handlersStruct));
1726
- var tmp$ret$2 = this_1.w1m();
1727
- tmp_1.d1z_1 = transform(this_0, tmp$ret$2);
1728
- var tmp_2 = scope.d1z_1;
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;
1729
1729
  tmp_0 = isInterface(tmp_2, Element) ? tmp_2 : THROW_CCE();
1730
1730
  } else {
1731
1731
  tmp_0 = element;
@@ -1755,7 +1755,7 @@ function applyFunctionalInterface$lambda_0(element, transformer) {
1755
1755
  if (element instanceof File) {
1756
1756
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1757
1757
  // Inline function 'kotlin.collections.filterIsInstance' call
1758
- var tmp0 = element.u1r();
1758
+ var tmp0 = element.c1r();
1759
1759
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1760
1760
  var destination = ArrayList_init_$Create$();
1761
1761
  var _iterator__ex2g4s = tmp0.t();
@@ -1767,7 +1767,7 @@ function applyFunctionalInterface$lambda_0(element, transformer) {
1767
1767
  }
1768
1768
  var tmp$ret$2 = firstOrNull_0(destination);
1769
1769
  var interfaceElement = ensureNotNull(tmp$ret$2);
1770
- tmp = element.w1r(VOID, listOf_0([new RawElement('@FunctionalInterface\n'), interfaceElement]));
1770
+ tmp = element.e1r(VOID, listOf_0([new RawElement('@FunctionalInterface\n'), interfaceElement]));
1771
1771
  } else {
1772
1772
  tmp = element;
1773
1773
  }
@@ -1780,11 +1780,11 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1780
1780
  if (element instanceof Function) {
1781
1781
  var tmp$ret$0;
1782
1782
  $l$block_1: {
1783
- if (!element.g1p_1 || element.f1p_1.b1() < 2) {
1783
+ if (!element.o1o_1 || element.n1o_1.a1() < 2) {
1784
1784
  tmp$ret$0 = element;
1785
1785
  break $l$block_1;
1786
1786
  }
1787
- var tmp_0 = element.f1p_1.g1(element.f1p_1.b1() - 2 | 0);
1787
+ var tmp_0 = element.n1o_1.f1(element.n1o_1.a1() - 2 | 0);
1788
1788
  var tmp0_elvis_lhs = tmp_0 instanceof Assignment ? tmp_0 : null;
1789
1789
  var tmp_1;
1790
1790
  if (tmp0_elvis_lhs == null) {
@@ -1794,16 +1794,16 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1794
1794
  tmp_1 = tmp0_elvis_lhs;
1795
1795
  }
1796
1796
  var transportAssign = tmp_1;
1797
- var tmp_2 = last(element.f1p_1);
1797
+ var tmp_2 = last(element.n1o_1);
1798
1798
  if (!(tmp_2 instanceof ReturnStatement)) {
1799
1799
  tmp$ret$0 = element;
1800
1800
  break $l$block_1;
1801
1801
  }
1802
- var tmp_3 = dropLast(element.f1p_1, 2);
1803
- var tmp1_name = Companion_getInstance().m1l('thenApply');
1804
- var tmp2_receiver = transportAssign.l1t_1;
1805
- var tmp3_arguments = mapOf(to(Companion_getInstance().m1l('mapper'), new RawExpression('rawResponse -> ' + $endpointName + '.fromRawResponse(serialization(), rawResponse)')));
1806
- tmp$ret$0 = element.j1p(VOID, VOID, VOID, VOID, plus_2(tmp_3, new ReturnStatement(new FunctionCall(tmp2_receiver, VOID, tmp1_name, tmp3_arguments))));
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))));
1807
1807
  }
1808
1808
  tmp = tmp$ret$0;
1809
1809
  } else {
@@ -1816,10 +1816,10 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1816
1816
  function buildHandlersStruct$lambda(it) {
1817
1817
  var tmp;
1818
1818
  if (it instanceof Literal) {
1819
- tmp = it.xu_1;
1819
+ tmp = it.fu_1;
1820
1820
  } else {
1821
1821
  if (it instanceof Param) {
1822
- tmp = '{' + it.bu_1.n1() + '}';
1822
+ tmp = '{' + it.jt_1.m1() + '}';
1823
1823
  } else {
1824
1824
  noWhenBranchMatchedException();
1825
1825
  }
@@ -1828,50 +1828,50 @@ function buildHandlersStruct$lambda(it) {
1828
1828
  }
1829
1829
  function buildHandlersStruct$lambda$lambda($pathTemplate) {
1830
1830
  return function ($this$function) {
1831
- $this$function.z1l(String_instance);
1832
- $this$function.a1m($this$function.i1y($pathTemplate));
1831
+ $this$function.h1l(String_instance);
1832
+ $this$function.i1l($this$function.q1x($pathTemplate));
1833
1833
  return Unit_instance;
1834
1834
  };
1835
1835
  }
1836
1836
  function buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct) {
1837
1837
  return function ($this$function) {
1838
- $this$function.z1l(String_instance);
1839
- $this$function.a1m($this$function.i1y($this_buildHandlersStruct.vt_1.g3_1));
1838
+ $this$function.h1l(String_instance);
1839
+ $this$function.i1l($this$function.q1x($this_buildHandlersStruct.dt_1.b3_1));
1840
1840
  return Unit_instance;
1841
1841
  };
1842
1842
  }
1843
1843
  function buildHandlersStruct$lambda$lambda_1($this$function) {
1844
- $this$function.z1l($this$function.n1l('Wirespec.ServerEdge', [$this$function.n1l('Request', []), $this$function.n1l('Response', [Wildcard_instance])]));
1845
- $this$function.w1l('serialization', $this$function.n1l('Wirespec.Serialization', []));
1846
- $this$function.a1m(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}'));
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}'));
1847
1847
  return Unit_instance;
1848
1848
  }
1849
1849
  function buildHandlersStruct$lambda$lambda_2($this$function) {
1850
- $this$function.z1l($this$function.n1l('Wirespec.ClientEdge', [$this$function.n1l('Request', []), $this$function.n1l('Response', [Wildcard_instance])]));
1851
- $this$function.w1l('serialization', $this$function.n1l('Wirespec.Serialization', []));
1852
- $this$function.a1m(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}'));
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}'));
1853
1853
  return Unit_instance;
1854
1854
  }
1855
1855
  function buildHandlersStruct$lambda_0($pathTemplate, $this_buildHandlersStruct) {
1856
1856
  return function ($this$struct) {
1857
- $this$struct.s1o($this$struct.n1l('Wirespec.Server', [$this$struct.n1l('Request', []), $this$struct.n1l('Response', [Wildcard_instance])]));
1858
- $this$struct.s1o($this$struct.n1l('Wirespec.Client', [$this$struct.n1l('Request', []), $this$struct.n1l('Response', [Wildcard_instance])]));
1859
- $this$struct.b1m('getPathTemplate', VOID, true, buildHandlersStruct$lambda$lambda($pathTemplate));
1860
- $this$struct.b1m('getMethod', VOID, true, buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct));
1861
- $this$struct.b1m('getServer', VOID, true, buildHandlersStruct$lambda$lambda_1);
1862
- $this$struct.b1m('getClient', VOID, true, buildHandlersStruct$lambda$lambda_2);
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);
1863
1863
  return Unit_instance;
1864
1864
  };
1865
1865
  }
1866
1866
  function withFullyQualifiedPrefix$lambda(it) {
1867
- return it.v1t_1.equals(Companion_getInstance().m1l('message'));
1867
+ return it.d1t_1.equals(Companion_getInstance().u1k('message'));
1868
1868
  }
1869
1869
  function withFullyQualifiedPrefix$lambda_0($prefix) {
1870
1870
  return function (param) {
1871
- var t = param.w1t_1;
1871
+ var t = param.e1t_1;
1872
1872
  var tmp;
1873
1873
  if (t instanceof Custom_0) {
1874
- tmp = param.y1t(VOID, t.j1r($prefix + t.f1n_1));
1874
+ tmp = param.g1t(VOID, t.r1q($prefix + t.n1m_1));
1875
1875
  } else {
1876
1876
  tmp = param;
1877
1877
  }
@@ -1882,8 +1882,8 @@ function JavaRefinedTypeDefinitionEmitter() {
1882
1882
  }
1883
1883
  function JavaShared() {
1884
1884
  JavaShared_instance = this;
1885
- this.x20_1 = 'community.flock.wirespec.java';
1886
- this.y20_1 = trimMargin('\n |package ' + this.x20_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.gw(2) + 'Req from(RawRequest request);\n |' + Spacer_instance.gw(2) + 'RawResponse to(Res response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface ClientEdge<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.gw(2) + 'RawRequest to(Req request);\n |' + Spacer_instance.gw(2) + 'Res from(RawResponse response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface Client<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.gw(2) + 'String getPathTemplate();\n |' + Spacer_instance.gw(2) + 'String getMethod();\n |' + Spacer_instance.gw(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.gw(2) + 'String getPathTemplate();\n |' + Spacer_instance.gw(2) + 'String getMethod();\n |' + Spacer_instance.gw(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.gw(2) + 'if(rawType != null) {\n |' + Spacer_instance.gw(3) + 'return new ParameterizedType() {\n |' + Spacer_instance.gw(4) + 'public Type getRawType() { return rawType; }\n |' + Spacer_instance.gw(4) + 'public Type[] getActualTypeArguments() { return new Class<?>[]{actualTypeArguments}; }\n |' + Spacer_instance.gw(4) + 'public Type getOwnerType() { return null; }\n |' + Spacer_instance.gw(3) + '};\n |' + Spacer_instance.gw(2) + '}\n |' + Spacer_instance.gw(2) + 'else { return actualTypeArguments; }\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
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 ');
1887
1887
  }
1888
1888
  protoOf(JavaShared).toString = function () {
1889
1889
  return 'JavaShared';
@@ -1907,10 +1907,10 @@ function JavaShared_getInstance() {
1907
1907
  function emitType($this, _this__u8e3s4) {
1908
1908
  var tmp;
1909
1909
  if (_this__u8e3s4 instanceof Dict) {
1910
- tmp = 'java.util.Map<String, ' + $this.nu(_this__u8e3s4.ss_1) + '>';
1910
+ tmp = 'java.util.Map<String, ' + $this.vt(_this__u8e3s4.as_1) + '>';
1911
1911
  } else {
1912
1912
  if (_this__u8e3s4 instanceof Iterable) {
1913
- tmp = 'java.util.List<' + $this.nu(_this__u8e3s4.ps_1) + '>';
1913
+ tmp = 'java.util.List<' + $this.vt(_this__u8e3s4.xr_1) + '>';
1914
1914
  } else {
1915
1915
  if (_this__u8e3s4 instanceof Unit) {
1916
1916
  tmp = 'void';
@@ -1919,7 +1919,7 @@ function emitType($this, _this__u8e3s4) {
1919
1919
  tmp = 'Object';
1920
1920
  } else {
1921
1921
  if (_this__u8e3s4 instanceof Custom) {
1922
- tmp = _this__u8e3s4.az_1;
1922
+ tmp = _this__u8e3s4.iy_1;
1923
1923
  } else {
1924
1924
  if (_this__u8e3s4 instanceof Primitive) {
1925
1925
  tmp = emit_18($this, _this__u8e3s4);
@@ -1934,14 +1934,14 @@ function emitType($this, _this__u8e3s4) {
1934
1934
  return tmp;
1935
1935
  }
1936
1936
  function emit_18($this, _this__u8e3s4) {
1937
- var t = _this__u8e3s4.ez_1;
1937
+ var t = _this__u8e3s4.my_1;
1938
1938
  var tmp;
1939
1939
  if (t instanceof String_0) {
1940
1940
  tmp = 'String';
1941
1941
  } else {
1942
1942
  if (t instanceof Integer) {
1943
1943
  var tmp_0;
1944
- switch (t.iy_1.h3_1) {
1944
+ switch (t.qx_1.c3_1) {
1945
1945
  case 0:
1946
1946
  tmp_0 = 'Integer';
1947
1947
  break;
@@ -1956,7 +1956,7 @@ function emit_18($this, _this__u8e3s4) {
1956
1956
  } else {
1957
1957
  if (t instanceof Number_0) {
1958
1958
  var tmp_1;
1959
- switch (t.ly_1.h3_1) {
1959
+ switch (t.tx_1.c3_1) {
1960
1960
  case 0:
1961
1961
  tmp_1 = 'Float';
1962
1962
  break;
@@ -1985,45 +1985,45 @@ function emit_18($this, _this__u8e3s4) {
1985
1985
  }
1986
1986
  function JavaTypeDefinitionEmitter$emit$lambda(this$0) {
1987
1987
  return function (it) {
1988
- return this$0.nu(it);
1988
+ return this$0.vt(it);
1989
1989
  };
1990
1990
  }
1991
1991
  function JavaTypeDefinitionEmitter$emit$lambda_0(this$0) {
1992
1992
  return function (it) {
1993
- return Spacer_instance.toString() + this$0.mu(it) + ',';
1993
+ return Spacer_instance.toString() + this$0.ut(it) + ',';
1994
1994
  };
1995
1995
  }
1996
1996
  function JavaTypeDefinitionEmitter() {
1997
1997
  }
1998
1998
  function JavaUnionDefinitionEmitter$emit$lambda(it) {
1999
- return it.n1();
1999
+ return it.m1();
2000
2000
  }
2001
2001
  function JavaUnionDefinitionEmitter() {
2002
2002
  }
2003
2003
  //region block: post-declaration
2004
- protoOf(JavaEmitter).mv = emit_9;
2005
- protoOf(JavaEmitter).ku = emit_3;
2006
- protoOf(JavaEmitter).lu = emit_4;
2007
- protoOf(JavaEmitter).mu = emit_5;
2008
- protoOf(JavaEmitter).nu = emit_6;
2009
- protoOf(JavaEmitter).ou = emit_7;
2010
- protoOf(JavaEmitter).zv = emit_13;
2011
- protoOf(JavaEmitter).a21 = emit_14;
2012
- protoOf(JavaEmitter).b21 = emit_15;
2013
- protoOf(JavaEmitter).nv = emit_8;
2014
- protoOf(JavaEmitter).yv = emit_12;
2015
- protoOf(JavaEmitter).ov = emit_10;
2016
- protoOf(JavaEmitter).tv = emit_11;
2017
- protoOf(JavaEmitter).z20 = sanitizeSymbol;
2018
- protoOf(JavaEmitter).c21 = sanitizeFirstIsDigit;
2019
- protoOf(JavaEmitter).d21 = sanitizeKeywords;
2020
- protoOf(JavaEmitter).p20 = emitRoot;
2021
- protoOf(JavaEmitter).o20 = emitRoot$default;
2022
- protoOf(JavaEmitter).e21 = emitHandleFunction;
2023
- protoOf(JavaEmitter).aw = emitValidator;
2024
- protoOf(JavaIrEmitter).es = emit_1;
2025
- protoOf(JavaIrEmitter).s1z = emit_2;
2026
- protoOf(JavaIrEmitter).v1z = beforeGenerate;
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;
2027
2027
  //endregion
2028
2028
  //region block: exports
2029
2029
  export {