@flock/wirespec 0.18.6 → 0.18.12

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 (46) hide show
  1. package/arrow-arrow-atomic.mjs +11 -11
  2. package/arrow-arrow-core.mjs +141 -141
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt.mjs +1395 -1395
  5. package/clikt-clikt.mjs.map +1 -1
  6. package/colormath-root-colormath.mjs +442 -442
  7. package/kotlin-kotlin-stdlib.mjs +1054 -946
  8. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  9. package/kotlin-openapi-bindings.mjs +20812 -6818
  10. package/kotlin-openapi-bindings.mjs.map +1 -1
  11. package/kotlin-rgxgen.mjs +1797 -1797
  12. package/kotlinx-io-kotlinx-io-core.mjs +405 -405
  13. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1960 -1763
  14. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  15. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1882 -1407
  16. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  17. package/mordant-mordant.mjs +1269 -1269
  18. package/package.json +3 -2
  19. package/wirespec-lsp.mjs +7 -0
  20. package/wirespec-src-compiler-core.mjs +1708 -1644
  21. package/wirespec-src-compiler-core.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-java.mjs +409 -409
  23. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-kotlin.mjs +326 -326
  25. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-python.mjs +328 -328
  27. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-rust.mjs +370 -370
  29. package/wirespec-src-compiler-emitters-scala.mjs +154 -154
  30. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  31. package/wirespec-src-compiler-emitters-typescript.mjs +372 -372
  32. package/wirespec-src-compiler-emitters-wirespec.mjs +80 -80
  33. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  34. package/wirespec-src-compiler-ir.mjs +3193 -3193
  35. package/wirespec-src-compiler-lib.mjs +399 -399
  36. package/wirespec-src-converter-avro.mjs +507 -507
  37. package/wirespec-src-converter-openapi.mjs +1487 -1413
  38. package/wirespec-src-converter-openapi.mjs.map +1 -1
  39. package/wirespec-src-ide-lsp.mjs +4928 -0
  40. package/wirespec-src-ide-lsp.mjs.map +1 -0
  41. package/wirespec-src-plugin-arguments.mjs +175 -175
  42. package/wirespec-src-plugin-cli.mjs +102 -102
  43. package/wirespec-src-plugin-npm.d.mts +2 -0
  44. package/wirespec-src-plugin-npm.mjs +42 -37
  45. package/wirespec-src-plugin-npm.mjs.map +1 -1
  46. package/wirespec-src-tools-generator.mjs +32 -32
@@ -170,10 +170,10 @@ import {
170
170
  //endregion
171
171
  //region block: pre-declaration
172
172
  function emit_3(type, module_0) {
173
- var tmp = this.wq(type.vo_1);
174
- var tmp_0 = this.vp(type.wo_1);
173
+ var tmp = this.br(type.zo_1);
174
+ var tmp_0 = this.zp(type.ap_1);
175
175
  // Inline function 'kotlin.run' call
176
- var $this$run = type.xo_1;
176
+ var $this$run = type.bp_1;
177
177
  var tmp_1;
178
178
  if ($this$run.r()) {
179
179
  tmp_1 = '';
@@ -184,23 +184,23 @@ function emit_3(type, module_0) {
184
184
  return trimMargin('\n |public record ' + tmp + ' (\n |' + tmp_0 + '\n |)' + tmp$ret$1 + ' {\n |};\n |\n ');
185
185
  }
186
186
  function emit_4(_this__u8e3s4) {
187
- return dropLast_0(joinToString(_this__u8e3s4.so_1, '\n', VOID, VOID, VOID, VOID, JavaTypeDefinitionEmitter$emit$lambda_0(this)), 1);
187
+ return dropLast_0(joinToString(_this__u8e3s4.wo_1, '\n', VOID, VOID, VOID, VOID, JavaTypeDefinitionEmitter$emit$lambda_0(this)), 1);
188
188
  }
189
189
  function emit_5(_this__u8e3s4) {
190
- return this.xp(_this__u8e3s4.bp_1) + ' ' + this.wq(_this__u8e3s4.ap_1);
190
+ return this.bq(_this__u8e3s4.fp_1) + ' ' + this.br(_this__u8e3s4.ep_1);
191
191
  }
192
192
  function emit_6(_this__u8e3s4) {
193
193
  // Inline function 'kotlin.let' call
194
194
  var it = emitType(this, _this__u8e3s4);
195
- return _this__u8e3s4.cu() ? 'java.util.Optional<' + it + '>' : it;
195
+ return _this__u8e3s4.hu() ? 'java.util.Optional<' + it + '>' : it;
196
196
  }
197
197
  function emitRoot(_this__u8e3s4, void_0) {
198
198
  var tmp;
199
199
  if (_this__u8e3s4 instanceof Dict) {
200
- tmp = this.e1v(_this__u8e3s4.co_1);
200
+ tmp = this.j1v(_this__u8e3s4.go_1);
201
201
  } else {
202
202
  if (_this__u8e3s4 instanceof Iterable) {
203
- tmp = this.e1v(_this__u8e3s4.zn_1);
203
+ tmp = this.j1v(_this__u8e3s4.do_1);
204
204
  } else {
205
205
  if (_this__u8e3s4 instanceof Unit) {
206
206
  tmp = void_0;
@@ -229,15 +229,15 @@ function emitRoot(_this__u8e3s4, void_0) {
229
229
  }
230
230
  function emitRoot$default(_this__u8e3s4, void_0, $super) {
231
231
  void_0 = void_0 === VOID ? 'void' : void_0;
232
- return $super === VOID ? this.f1v(_this__u8e3s4, void_0) : emitRoot(_this__u8e3s4, void_0);
232
+ return $super === VOID ? this.k1v(_this__u8e3s4, void_0) : emitRoot(_this__u8e3s4, void_0);
233
233
  }
234
234
  function emit_7(_this__u8e3s4) {
235
235
  var tmp;
236
236
  if (_this__u8e3s4 instanceof RegExp_0) {
237
- tmp = 'return java.util.regex.Pattern.compile("' + replace(this.zp(_this__u8e3s4.ys_1), '\\', '\\\\') + '").matcher(value).find();';
237
+ tmp = 'return java.util.regex.Pattern.compile("' + replace(this.dq(_this__u8e3s4.dt_1), '\\', '\\\\') + '").matcher(value).find();';
238
238
  } else {
239
239
  if (_this__u8e3s4 instanceof Bound) {
240
- var tmp1_safe_receiver = _this__u8e3s4.ot_1;
240
+ var tmp1_safe_receiver = _this__u8e3s4.tt_1;
241
241
  var tmp_0;
242
242
  if (tmp1_safe_receiver == null) {
243
243
  tmp_0 = null;
@@ -246,7 +246,7 @@ function emit_7(_this__u8e3s4) {
246
246
  tmp_0 = tmp1_safe_receiver + ' < value';
247
247
  }
248
248
  var minCheck = tmp_0;
249
- var tmp2_safe_receiver = _this__u8e3s4.pt_1;
249
+ var tmp2_safe_receiver = _this__u8e3s4.ut_1;
250
250
  var tmp_1;
251
251
  if (tmp2_safe_receiver == null) {
252
252
  tmp_1 = null;
@@ -272,16 +272,84 @@ function emit_7(_this__u8e3s4) {
272
272
  }
273
273
  initMetadataForInterface(JavaTypeDefinitionEmitter, 'JavaTypeDefinitionEmitter', VOID, VOID, [TypeDefinitionEmitter]);
274
274
  function emit_8(channel) {
275
- return trimMargin('\n |' + emitImports(this, channel) + '\n |\n |@FunctionalInterface\n |public interface ' + this.wq(channel.mo_1) + ' {\n | void invoke(' + emitFullyQualified(this, channel, channel.no_1) + this.e1v(channel.no_1) + ' message);\n |}\n |\n ');
275
+ return trimMargin('\n |' + emitImports(this, channel) + '\n |\n |@FunctionalInterface\n |public interface ' + this.br(channel.qo_1) + ' {\n | void invoke(' + emitFullyQualified(this, channel, channel.ro_1) + this.j1v(channel.ro_1) + ' message);\n |}\n |\n ');
276
276
  }
277
277
  initMetadataForInterface(JavaChannelDefinitionEmitter, 'JavaChannelDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
278
- function emit_9(identifier) {
278
+ function emit_9(endpoint) {
279
+ var tmp = emitImports_0(this, endpoint);
280
+ var tmp_0 = this.br(endpoint.ip_1);
281
+ var tmp_1 = get_pathParams(endpoint);
282
+ var tmp_2 = emitObject(this, tmp_1, 'Path', 'Wirespec.Path', JavaEndpointDefinitionEmitter$emit$lambda(this));
283
+ var tmp_3 = emitObject(this, endpoint.lp_1, 'Queries', 'Wirespec.Queries', JavaEndpointDefinitionEmitter$emit$lambda_0(this));
284
+ var tmp_4 = emitObject(this, endpoint.mp_1, 'RequestHeaders', 'Wirespec.Request.Headers', JavaEndpointDefinitionEmitter$emit$lambda_1(this));
285
+ var tmp_5 = this.v1v(first_0(endpoint.np_1), endpoint);
286
+ var tmp_6 = Spacer_instance.toString();
287
+ var tmp_7 = emitStatusInterfaces(this, endpoint);
288
+ var tmp_8 = emitResponseInterfaces(this, endpoint);
289
+ var tmp_9 = distinctByStatus(endpoint.op_1);
290
+ var tmp_10 = joinToString(tmp_9, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_2(this));
291
+ var tmp_11 = Spacer_instance.toString();
292
+ var tmp_12 = emitRequestFunctions(this, first_0(endpoint.np_1), endpoint);
293
+ var tmp_13 = Spacer_instance.vr(2);
294
+ var tmp_14 = distinctByStatus(endpoint.op_1);
295
+ var tmp_15 = joinToString(tmp_14, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_3(this));
296
+ var tmp_16 = Spacer_instance.vr(3);
297
+ var tmp_17 = Spacer_instance.vr(2);
298
+ var tmp_18 = Spacer_instance.vr(2);
299
+ var tmp_19 = emitFromResponse(this, endpoint);
300
+ var tmp_20 = Spacer_instance.vr(2);
301
+ var tmp_21 = Spacer_instance.vr(2);
302
+ var tmp_22 = this.z1v(endpoint);
303
+ var tmp_23 = Spacer_instance.vr(2);
304
+ var tmp_24 = Spacer_instance.vr(3);
305
+ 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.kp_1, '/', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_4) + '"; }\n |' + Spacer_instance.vr(3) + '@Override public String getMethod() { return "' + endpoint.jp_1.toString() + '"; }\n |' + Spacer_instance.vr(3) + '@Override public Wirespec.ServerEdge<Request, Response<?>> getServer(Wirespec.Serialization serialization) {\n |' + Spacer_instance.vr(4) + 'return new Wirespec.ServerEdge<>() {\n |' + Spacer_instance.vr(5) + '@Override public Request from(Wirespec.RawRequest request) { return fromRequest(serialization, request); }\n |' + Spacer_instance.vr(5) + '@Override public Wirespec.RawResponse to(Response<?> response) { return toResponse(serialization, response); }\n |' + Spacer_instance.vr(4) + '};\n |' + Spacer_instance.vr(3) + '}\n |' + Spacer_instance.vr(3) + '@Override public Wirespec.ClientEdge<Request, Response<?>> getClient(Wirespec.Serialization serialization) {\n |' + Spacer_instance.vr(4) + 'return new Wirespec.ClientEdge<>() {\n |' + Spacer_instance.vr(5) + '@Override public Wirespec.RawRequest to(Request request) { return toRequest(serialization, request); }\n |' + Spacer_instance.vr(5) + '@Override public Response<?> from(Wirespec.RawResponse response) { return fromResponse(serialization, response); }\n |' + Spacer_instance.vr(4) + '};\n |' + Spacer_instance.vr(3) + '}\n |' + Spacer_instance.vr(2) + '}\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
306
+ }
307
+ function emitHandleFunction(endpoint) {
308
+ return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_instance_1.tq(this.br(endpoint.ip_1)) + '(Request request);';
309
+ }
310
+ function emit_10(_this__u8e3s4, endpoint) {
311
+ return trimMargin('\n |' + Spacer_instance.toString() + 'record Request (\n |' + Spacer_instance.vr(2) + 'Path path,\n |' + Spacer_instance.vr(2) + 'Wirespec.Method method,\n |' + Spacer_instance.vr(2) + 'Queries queries,\n |' + Spacer_instance.vr(2) + 'RequestHeaders headers,\n |' + Spacer_instance.vr(2) + emit_16(this, _this__u8e3s4.rp_1) + ' body\n |' + Spacer_instance.toString() + ') implements Wirespec.Request<' + emit_16(this, _this__u8e3s4.rp_1) + '> {\n |' + Spacer_instance.vr(2) + emitConstructor(this, _this__u8e3s4, endpoint) + '\n |' + Spacer_instance.toString() + '}\n ');
312
+ }
313
+ function emit_11(_this__u8e3s4) {
314
+ var tmp = Spacer_instance.toString();
315
+ var tmp_0 = Companion_instance_1.sq(_this__u8e3s4.up_1);
316
+ var tmp_1 = Spacer_instance.vr(2);
317
+ var tmp_2 = Spacer_instance.vr(2);
318
+ var tmp_3 = Spacer_instance.vr(2);
319
+ var tmp_4 = emit_16(this, _this__u8e3s4.wp_1);
320
+ var tmp_5 = Spacer_instance.toString();
321
+ var tmp_6 = toString_0(first(_this__u8e3s4.up_1));
322
+ var tmp_7 = emit_16(this, _this__u8e3s4.wp_1);
323
+ var tmp_8 = concatGenerics(emit_16(this, _this__u8e3s4.wp_1));
324
+ var tmp_9 = Spacer_instance.vr(2);
325
+ var tmp_10 = Companion_instance_1.sq(_this__u8e3s4.up_1);
326
+ var tmp_11 = orNull(joinToString(_this__u8e3s4.vp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_5(this)));
327
+ var tmp0_safe_receiver = _this__u8e3s4.wp_1;
328
+ var tmp_12;
329
+ if (tmp0_safe_receiver == null) {
330
+ tmp_12 = null;
331
+ } else {
332
+ // Inline function 'kotlin.let' call
333
+ tmp_12 = emit_16(this, tmp0_safe_receiver) + ' body';
334
+ }
335
+ var tmp_13 = joinToString(listOfNotNull([tmp_11, tmp_12]));
336
+ var tmp_14 = Spacer_instance.vr(3);
337
+ var tmp_15 = fixStatus(_this__u8e3s4.up_1);
338
+ // Inline function 'kotlin.let' call
339
+ var tmp_16 = 'new Headers(' + joinToString(_this__u8e3s4.vp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_6(this)) + ')';
340
+ var tmp_17 = _this__u8e3s4.wp_1 == null ? 'null' : 'body';
341
+ var tmp_18 = Spacer_instance.vr(2);
342
+ var tmp_19 = Spacer_instance.vr(1);
343
+ 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.vp_1, 'Headers', 'Wirespec.Response.Headers', JavaEndpointDefinitionEmitter$emit$lambda_7(this)) + '\n |' + Spacer_instance.toString() + '}\n ');
344
+ }
345
+ initMetadataForInterface(JavaEndpointDefinitionEmitter, 'JavaEndpointDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
346
+ function emit_12(identifier) {
279
347
  var tmp;
280
348
  if (identifier instanceof DefinitionIdentifier) {
281
- tmp = this.p1v(identifier.l1());
349
+ tmp = this.u1v(identifier.l1());
282
350
  } else {
283
351
  if (identifier instanceof FieldIdentifier) {
284
- tmp = this.t1v(this.p1v(identifier.l1()));
352
+ tmp = this.y1v(this.u1v(identifier.l1()));
285
353
  } else {
286
354
  noWhenBranchMatchedException();
287
355
  }
@@ -299,11 +367,11 @@ function sanitizeSymbol(_this__u8e3s4) {
299
367
  var item = _iterator__ex2g4s.v();
300
368
  var _unary__edvuaz = index;
301
369
  index = _unary__edvuaz + 1 | 0;
302
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.oq(item) : item;
370
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.sq(item) : item;
303
371
  destination.x(tmp$ret$0);
304
372
  }
305
373
  var tmp = asSequence(joinToString(destination, ''));
306
- return this.s1v(joinToString_0(filter(tmp, JavaIdentifierEmitter$sanitizeSymbol$lambda), ''));
374
+ return this.x1v(joinToString_0(filter(tmp, JavaIdentifierEmitter$sanitizeSymbol$lambda), ''));
307
375
  }
308
376
  function sanitizeFirstIsDigit(_this__u8e3s4) {
309
377
  var tmp;
@@ -323,34 +391,44 @@ function sanitizeFirstIsDigit(_this__u8e3s4) {
323
391
  return tmp;
324
392
  }
325
393
  function sanitizeKeywords(_this__u8e3s4) {
326
- return Companion_getInstance_0().v1v_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
394
+ return Companion_getInstance_0().a1w_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
327
395
  }
328
396
  initMetadataForInterface(JavaIdentifierEmitter, 'JavaIdentifierEmitter');
329
- function emit_10(refined) {
330
- return trimMargin('\n |public record ' + this.wq(refined.br_1) + ' (' + this.xp(refined.cr_1) + ' value) implements Wirespec.Refined<' + this.xp(refined.cr_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.kr(refined) + '\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public ' + this.xp(refined.cr_1) + ' value() { return value; }\n |}\n |\n ');
397
+ function emit_13(enum_0, module_0) {
398
+ var tmp = this.br(enum_0.lr_1);
399
+ return trimMargin('\n |public enum ' + tmp + ' implements Wirespec.Enum {\n |' + spacer(joinToString(enum_0.mr_1, ',\n', VOID, VOID, VOID, VOID, JavaEnumDefinitionEmitter$emit$lambda(this))) + ';\n |' + Spacer_instance.toString() + 'public final String label;\n |' + Spacer_instance.toString() + this.br(enum_0.lr_1) + '(String label) {\n |' + Spacer_instance.vr(2) + 'this.label = label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() {\n |' + Spacer_instance.vr(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String label() {\n |' + Spacer_instance.vr(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
400
+ }
401
+ initMetadataForInterface(JavaEnumDefinitionEmitter, 'JavaEnumDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
402
+ function emit_14(union) {
403
+ var tmp = this.br(union.uo_1);
404
+ return trimMargin('\n |public sealed interface ' + tmp + ' permits ' + joinToString(union.vo_1, VOID, VOID, VOID, VOID, VOID, JavaUnionDefinitionEmitter$emit$lambda) + ' {}\n |\n ');
405
+ }
406
+ initMetadataForInterface(JavaUnionDefinitionEmitter, 'JavaUnionDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
407
+ function emit_15(refined) {
408
+ return trimMargin('\n |public record ' + this.br(refined.gr_1) + ' (' + this.bq(refined.hr_1) + ' value) implements Wirespec.Refined<' + this.bq(refined.hr_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.pr(refined) + '\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public ' + this.bq(refined.hr_1) + ' value() { return value; }\n |}\n |\n ');
331
409
  }
332
410
  function emitValidator(_this__u8e3s4) {
333
411
  var defaultReturn = 'return true;';
334
- var type = _this__u8e3s4.cr_1.ou_1;
412
+ var type = _this__u8e3s4.hr_1.tu_1;
335
413
  var tmp;
336
414
  if (type instanceof Integer) {
337
- var tmp0_safe_receiver = type.tt_1;
338
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.yp(tmp0_safe_receiver);
415
+ var tmp0_safe_receiver = type.yt_1;
416
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.cq(tmp0_safe_receiver);
339
417
  tmp = tmp1_elvis_lhs == null ? defaultReturn : tmp1_elvis_lhs;
340
418
  } else {
341
419
  if (type instanceof Number_0) {
342
- var tmp2_safe_receiver = type.wt_1;
343
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.yp(tmp2_safe_receiver);
420
+ var tmp2_safe_receiver = type.bu_1;
421
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : this.cq(tmp2_safe_receiver);
344
422
  tmp = tmp3_elvis_lhs == null ? defaultReturn : tmp3_elvis_lhs;
345
423
  } else {
346
424
  if (type instanceof String_0) {
347
- var tmp4_safe_receiver = type.qt_1;
425
+ var tmp4_safe_receiver = type.vt_1;
348
426
  var tmp_0;
349
427
  var tmp_1 = tmp4_safe_receiver;
350
428
  if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
351
429
  tmp_0 = null;
352
430
  } else {
353
- tmp_0 = this.yp(new RegExp_0(tmp4_safe_receiver));
431
+ tmp_0 = this.cq(new RegExp_0(tmp4_safe_receiver));
354
432
  }
355
433
  var tmp5_elvis_lhs = tmp_0;
356
434
  tmp = tmp5_elvis_lhs == null ? defaultReturn : tmp5_elvis_lhs;
@@ -370,85 +448,7 @@ function emitValidator(_this__u8e3s4) {
370
448
  return tmp;
371
449
  }
372
450
  initMetadataForInterface(JavaRefinedTypeDefinitionEmitter, 'JavaRefinedTypeDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
373
- function emit_11(endpoint) {
374
- var tmp = emitImports_0(this, endpoint);
375
- var tmp_0 = this.wq(endpoint.ep_1);
376
- var tmp_1 = get_pathParams(endpoint);
377
- var tmp_2 = emitObject(this, tmp_1, 'Path', 'Wirespec.Path', JavaEndpointDefinitionEmitter$emit$lambda(this));
378
- var tmp_3 = emitObject(this, endpoint.hp_1, 'Queries', 'Wirespec.Queries', JavaEndpointDefinitionEmitter$emit$lambda_0(this));
379
- var tmp_4 = emitObject(this, endpoint.ip_1, 'RequestHeaders', 'Wirespec.Request.Headers', JavaEndpointDefinitionEmitter$emit$lambda_1(this));
380
- var tmp_5 = this.q1v(first_0(endpoint.jp_1), endpoint);
381
- var tmp_6 = Spacer_instance.toString();
382
- var tmp_7 = emitStatusInterfaces(this, endpoint);
383
- var tmp_8 = emitResponseInterfaces(this, endpoint);
384
- var tmp_9 = distinctByStatus(endpoint.kp_1);
385
- var tmp_10 = joinToString(tmp_9, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_2(this));
386
- var tmp_11 = Spacer_instance.toString();
387
- var tmp_12 = emitRequestFunctions(this, first_0(endpoint.jp_1), endpoint);
388
- var tmp_13 = Spacer_instance.qr(2);
389
- var tmp_14 = distinctByStatus(endpoint.kp_1);
390
- var tmp_15 = joinToString(tmp_14, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_3(this));
391
- var tmp_16 = Spacer_instance.qr(3);
392
- var tmp_17 = Spacer_instance.qr(2);
393
- var tmp_18 = Spacer_instance.qr(2);
394
- var tmp_19 = emitFromResponse(this, endpoint);
395
- var tmp_20 = Spacer_instance.qr(2);
396
- var tmp_21 = Spacer_instance.qr(2);
397
- var tmp_22 = this.u1v(endpoint);
398
- var tmp_23 = Spacer_instance.qr(2);
399
- var tmp_24 = Spacer_instance.qr(3);
400
- 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.gp_1, '/', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_4) + '"; }\n |' + Spacer_instance.qr(3) + '@Override public String getMethod() { return "' + endpoint.fp_1.toString() + '"; }\n |' + Spacer_instance.qr(3) + '@Override public Wirespec.ServerEdge<Request, Response<?>> getServer(Wirespec.Serialization serialization) {\n |' + Spacer_instance.qr(4) + 'return new Wirespec.ServerEdge<>() {\n |' + Spacer_instance.qr(5) + '@Override public Request from(Wirespec.RawRequest request) { return fromRequest(serialization, request); }\n |' + Spacer_instance.qr(5) + '@Override public Wirespec.RawResponse to(Response<?> response) { return toResponse(serialization, response); }\n |' + Spacer_instance.qr(4) + '};\n |' + Spacer_instance.qr(3) + '}\n |' + Spacer_instance.qr(3) + '@Override public Wirespec.ClientEdge<Request, Response<?>> getClient(Wirespec.Serialization serialization) {\n |' + Spacer_instance.qr(4) + 'return new Wirespec.ClientEdge<>() {\n |' + Spacer_instance.qr(5) + '@Override public Wirespec.RawRequest to(Request request) { return toRequest(serialization, request); }\n |' + Spacer_instance.qr(5) + '@Override public Response<?> from(Wirespec.RawResponse response) { return fromResponse(serialization, response); }\n |' + Spacer_instance.qr(4) + '};\n |' + Spacer_instance.qr(3) + '}\n |' + Spacer_instance.qr(2) + '}\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
401
- }
402
- function emitHandleFunction(endpoint) {
403
- return 'java.util.concurrent.CompletableFuture<Response<?>> ' + Companion_instance_1.pq(this.wq(endpoint.ep_1)) + '(Request request);';
404
- }
405
- function emit_12(_this__u8e3s4, endpoint) {
406
- return trimMargin('\n |' + Spacer_instance.toString() + 'record Request (\n |' + Spacer_instance.qr(2) + 'Path path,\n |' + Spacer_instance.qr(2) + 'Wirespec.Method method,\n |' + Spacer_instance.qr(2) + 'Queries queries,\n |' + Spacer_instance.qr(2) + 'RequestHeaders headers,\n |' + Spacer_instance.qr(2) + emit_16(this, _this__u8e3s4.np_1) + ' body\n |' + Spacer_instance.toString() + ') implements Wirespec.Request<' + emit_16(this, _this__u8e3s4.np_1) + '> {\n |' + Spacer_instance.qr(2) + emitConstructor(this, _this__u8e3s4, endpoint) + '\n |' + Spacer_instance.toString() + '}\n ');
407
- }
408
- function emit_13(_this__u8e3s4) {
409
- var tmp = Spacer_instance.toString();
410
- var tmp_0 = Companion_instance_1.oq(_this__u8e3s4.qp_1);
411
- var tmp_1 = Spacer_instance.qr(2);
412
- var tmp_2 = Spacer_instance.qr(2);
413
- var tmp_3 = Spacer_instance.qr(2);
414
- var tmp_4 = emit_16(this, _this__u8e3s4.sp_1);
415
- var tmp_5 = Spacer_instance.toString();
416
- var tmp_6 = toString_0(first(_this__u8e3s4.qp_1));
417
- var tmp_7 = emit_16(this, _this__u8e3s4.sp_1);
418
- var tmp_8 = concatGenerics(emit_16(this, _this__u8e3s4.sp_1));
419
- var tmp_9 = Spacer_instance.qr(2);
420
- var tmp_10 = Companion_instance_1.oq(_this__u8e3s4.qp_1);
421
- var tmp_11 = orNull(joinToString(_this__u8e3s4.rp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_5(this)));
422
- var tmp0_safe_receiver = _this__u8e3s4.sp_1;
423
- var tmp_12;
424
- if (tmp0_safe_receiver == null) {
425
- tmp_12 = null;
426
- } else {
427
- // Inline function 'kotlin.let' call
428
- tmp_12 = emit_16(this, tmp0_safe_receiver) + ' body';
429
- }
430
- var tmp_13 = joinToString(listOfNotNull([tmp_11, tmp_12]));
431
- var tmp_14 = Spacer_instance.qr(3);
432
- var tmp_15 = fixStatus(_this__u8e3s4.qp_1);
433
- // Inline function 'kotlin.let' call
434
- var tmp_16 = 'new Headers(' + joinToString(_this__u8e3s4.rp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emit$lambda_6(this)) + ')';
435
- var tmp_17 = _this__u8e3s4.sp_1 == null ? 'null' : 'body';
436
- var tmp_18 = Spacer_instance.qr(2);
437
- var tmp_19 = Spacer_instance.qr(1);
438
- 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.rp_1, 'Headers', 'Wirespec.Response.Headers', JavaEndpointDefinitionEmitter$emit$lambda_7(this)) + '\n |' + Spacer_instance.toString() + '}\n ');
439
- }
440
- initMetadataForInterface(JavaEndpointDefinitionEmitter, 'JavaEndpointDefinitionEmitter', VOID, VOID, [JavaTypeDefinitionEmitter]);
441
- function emit_14(union) {
442
- var tmp = this.wq(union.qo_1);
443
- return trimMargin('\n |public sealed interface ' + tmp + ' permits ' + joinToString(union.ro_1, VOID, VOID, VOID, VOID, VOID, JavaUnionDefinitionEmitter$emit$lambda) + ' {}\n |\n ');
444
- }
445
- initMetadataForInterface(JavaUnionDefinitionEmitter, 'JavaUnionDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
446
- function emit_15(enum_0, module_0) {
447
- var tmp = this.wq(enum_0.gr_1);
448
- return trimMargin('\n |public enum ' + tmp + ' implements Wirespec.Enum {\n |' + spacer(joinToString(enum_0.hr_1, ',\n', VOID, VOID, VOID, VOID, JavaEnumDefinitionEmitter$emit$lambda(this))) + ';\n |' + Spacer_instance.toString() + 'public final String label;\n |' + Spacer_instance.toString() + this.wq(enum_0.gr_1) + '(String label) {\n |' + Spacer_instance.qr(2) + 'this.label = label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String toString() {\n |' + Spacer_instance.qr(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + '@Override\n |' + Spacer_instance.toString() + 'public String label() {\n |' + Spacer_instance.qr(2) + 'return label;\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
449
- }
450
- initMetadataForInterface(JavaEnumDefinitionEmitter, 'JavaEnumDefinitionEmitter', VOID, VOID, [JavaIdentifierEmitter]);
451
- initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, LanguageEmitter, [JavaChannelDefinitionEmitter, JavaIdentifierEmitter, JavaRefinedTypeDefinitionEmitter, JavaEndpointDefinitionEmitter, JavaUnionDefinitionEmitter, JavaTypeDefinitionEmitter, JavaEnumDefinitionEmitter, LanguageEmitter]);
451
+ initMetadataForClass(JavaEmitter, 'JavaEmitter', JavaEmitter, LanguageEmitter, [JavaEndpointDefinitionEmitter, JavaTypeDefinitionEmitter, JavaEnumDefinitionEmitter, JavaUnionDefinitionEmitter, JavaChannelDefinitionEmitter, JavaRefinedTypeDefinitionEmitter, JavaIdentifierEmitter, LanguageEmitter]);
452
452
  initMetadataForCompanion(Companion);
453
453
  initMetadataForCompanion(Companion_0);
454
454
  initMetadataForClass(JavaIrEmitter, 'JavaIrEmitter', JavaIrEmitter, VOID, [IrEmitter]);
@@ -462,7 +462,7 @@ function emitImports($this, _this__u8e3s4) {
462
462
  var _iterator__ex2g4s = tmp0.t();
463
463
  while (_iterator__ex2g4s.u()) {
464
464
  var element = _iterator__ex2g4s.v();
465
- if (!(_this__u8e3s4.vq().l1() === element.ku_1)) {
465
+ if (!(_this__u8e3s4.ar().l1() === element.pu_1)) {
466
466
  destination.x(element);
467
467
  }
468
468
  }
@@ -472,7 +472,7 @@ function emitImports($this, _this__u8e3s4) {
472
472
  var _iterator__ex2g4s_0 = destination.t();
473
473
  while (_iterator__ex2g4s_0.u()) {
474
474
  var item = _iterator__ex2g4s_0.v();
475
- var tmp$ret$3 = 'import ' + $this.d1v().mr_1 + '.model.' + item.ku_1 + ';';
475
+ var tmp$ret$3 = 'import ' + $this.i1v().rr_1 + '.model.' + item.pu_1 + ';';
476
476
  destination_0.x(tmp$ret$3);
477
477
  }
478
478
  var tmp = destination_0;
@@ -480,8 +480,8 @@ function emitImports($this, _this__u8e3s4) {
480
480
  }
481
481
  function emitFullyQualified($this, _this__u8e3s4, reference) {
482
482
  var tmp;
483
- if (_this__u8e3s4.vq().l1() === reference.l1()) {
484
- tmp = $this.d1v().mr_1 + '.model.';
483
+ if (_this__u8e3s4.ar().l1() === reference.l1()) {
484
+ tmp = $this.i1v().rr_1 + '.model.';
485
485
  } else {
486
486
  tmp = '';
487
487
  }
@@ -494,49 +494,49 @@ function JavaChannelDefinitionEmitter$emitImports$lambda(it) {
494
494
  function JavaChannelDefinitionEmitter() {
495
495
  }
496
496
  function JavaEmitter(packageName, emitShared) {
497
- packageName = packageName === VOID ? Companion_instance.lr('community.flock.wirespec.generated') : packageName;
498
- emitShared = emitShared === VOID ? Companion_instance_0.go() : emitShared;
497
+ packageName = packageName === VOID ? Companion_instance.qr('community.flock.wirespec.generated') : packageName;
498
+ emitShared = emitShared === VOID ? Companion_instance_0.ko() : emitShared;
499
499
  LanguageEmitter.call(this);
500
- this.g1v_1 = packageName;
501
- this.h1v_1 = emitShared;
502
- this.i1v_1 = '\nimport community.flock.wirespec.java.Wirespec;\n';
503
- this.j1v_1 = FileExtension_Java_getInstance();
504
- this.k1v_1 = JavaShared_getInstance();
505
- this.l1v_1 = '//';
506
- }
507
- protoOf(JavaEmitter).d1v = function () {
508
- return this.g1v_1;
500
+ this.l1v_1 = packageName;
501
+ this.m1v_1 = emitShared;
502
+ this.n1v_1 = '\nimport community.flock.wirespec.java.Wirespec;\n';
503
+ this.o1v_1 = FileExtension_Java_getInstance();
504
+ this.p1v_1 = JavaShared_getInstance();
505
+ this.q1v_1 = '//';
506
+ }
507
+ protoOf(JavaEmitter).i1v = function () {
508
+ return this.l1v_1;
509
509
  };
510
- protoOf(JavaEmitter).eq = function () {
511
- return this.j1v_1;
510
+ protoOf(JavaEmitter).iq = function () {
511
+ return this.o1v_1;
512
512
  };
513
- protoOf(JavaEmitter).m1v = function () {
514
- return this.k1v_1;
513
+ protoOf(JavaEmitter).r1v = function () {
514
+ return this.p1v_1;
515
515
  };
516
- protoOf(JavaEmitter).fq = function () {
517
- return this.l1v_1;
516
+ protoOf(JavaEmitter).jq = function () {
517
+ return this.q1v_1;
518
518
  };
519
- protoOf(JavaEmitter).tq = function (module_0, logger) {
519
+ protoOf(JavaEmitter).yq = function (module_0, logger) {
520
520
  // Inline function 'kotlin.let' call
521
- var it = protoOf(LanguageEmitter).tq.call(this, module_0, logger);
522
- return this.h1v_1.ho_1 ? NonEmptyList__plus_impl_xqmb9(it, new Emitted(Companion_instance.lr('community.flock.wirespec.java').or() + 'Wirespec', this.m1v().o1v_1)) : it;
521
+ var it = protoOf(LanguageEmitter).yq.call(this, module_0, logger);
522
+ return this.m1v_1.lo_1 ? NonEmptyList__plus_impl_xqmb9(it, new Emitted(Companion_instance.qr('community.flock.wirespec.java').tr() + 'Wirespec', this.r1v().t1v_1)) : it;
523
523
  };
524
- protoOf(JavaEmitter).uq = function (definition, module_0, logger) {
524
+ protoOf(JavaEmitter).zq = function (definition, module_0, logger) {
525
525
  // Inline function 'kotlin.let' call
526
- var it = protoOf(LanguageEmitter).uq.call(this, definition, module_0, logger);
527
- var subPackageName = plus(this.d1v(), definition);
528
- var tmp = subPackageName.or() + this.p1v(it.io_1);
526
+ var it = protoOf(LanguageEmitter).zq.call(this, definition, module_0, logger);
527
+ var subPackageName = plus(this.i1v(), definition);
528
+ var tmp = subPackageName.tr() + this.u1v(it.mo_1);
529
529
  // Inline function 'kotlin.text.trimStart' call
530
- var this_0 = trimMargin('\n |package ' + subPackageName.toString() + ';\n |' + (Companion_instance_1.qq(module_0) ? this.i1v_1 : '') + '\n |' + it.jo_1 + '\n ');
530
+ var this_0 = trimMargin('\n |package ' + subPackageName.toString() + ';\n |' + (Companion_instance_1.uq(module_0) ? this.n1v_1 : '') + '\n |' + it.no_1 + '\n ');
531
531
  var tmp$ret$0 = toString(trimStart(isCharSequence(this_0) ? this_0 : THROW_CCE()));
532
532
  return new Emitted(tmp, tmp$ret$0);
533
533
  };
534
534
  function emitGetType($this, _this__u8e3s4) {
535
- return 'Wirespec.getType(' + $this.f1v(_this__u8e3s4, 'Void') + '.class, ' + emitGetTypeRaw($this, _this__u8e3s4) + ')';
535
+ return 'Wirespec.getType(' + $this.k1v(_this__u8e3s4, 'Void') + '.class, ' + emitGetTypeRaw($this, _this__u8e3s4) + ')';
536
536
  }
537
537
  function emitGetTypeRaw($this, _this__u8e3s4) {
538
538
  var tmp;
539
- var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.cu();
539
+ var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.hu();
540
540
  if (tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs) {
541
541
  tmp = 'java.util.Optional.class';
542
542
  } else {
@@ -551,9 +551,9 @@ function emitGetTypeRaw($this, _this__u8e3s4) {
551
551
  function emitConstructor($this, _this__u8e3s4, endpoint) {
552
552
  var tmp = get_pathParams(endpoint);
553
553
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda($this)));
554
- var tmp_1 = orNull(joinToString(endpoint.hp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_0($this)));
555
- var tmp_2 = orNull(joinToString(endpoint.ip_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_1($this)));
556
- var tmp0_safe_receiver = _this__u8e3s4.np_1;
554
+ var tmp_1 = orNull(joinToString(endpoint.lp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_0($this)));
555
+ var tmp_2 = orNull(joinToString(endpoint.mp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_1($this)));
556
+ var tmp0_safe_receiver = _this__u8e3s4.rp_1;
557
557
  var tmp_3;
558
558
  if (tmp0_safe_receiver == null) {
559
559
  tmp_3 = null;
@@ -562,112 +562,112 @@ function emitConstructor($this, _this__u8e3s4, endpoint) {
562
562
  tmp_3 = emit_16($this, tmp0_safe_receiver) + ' body';
563
563
  }
564
564
  var tmp_4 = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]));
565
- var tmp_5 = Spacer_instance.qr(3);
565
+ var tmp_5 = Spacer_instance.vr(3);
566
566
  var tmp_6 = get_pathParams(endpoint);
567
567
  // Inline function 'kotlin.let' call
568
568
  var tmp$ret$3 = 'new Path(' + joinToString(tmp_6, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_2($this)) + ')';
569
569
  var tmp1_elvis_lhs = orNull(tmp$ret$3);
570
570
  var tmp_7 = tmp1_elvis_lhs == null ? 'new Path()' : tmp1_elvis_lhs;
571
- var tmp_8 = 'Wirespec.Method.' + endpoint.fp_1.a3_1;
571
+ var tmp_8 = 'Wirespec.Method.' + endpoint.jp_1.a3_1;
572
572
  // Inline function 'kotlin.let' call
573
- var tmp$ret$5 = 'new Queries(' + joinToString(endpoint.hp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_3($this)) + ')';
573
+ var tmp$ret$5 = 'new Queries(' + joinToString(endpoint.lp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_3($this)) + ')';
574
574
  var tmp2_elvis_lhs = orNull(tmp$ret$5);
575
575
  var tmp_9 = tmp2_elvis_lhs == null ? 'new Queries()' : tmp2_elvis_lhs;
576
576
  // Inline function 'kotlin.let' call
577
- var tmp$ret$7 = 'new RequestHeaders(' + joinToString(endpoint.ip_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_4($this)) + ')';
577
+ var tmp$ret$7 = 'new RequestHeaders(' + joinToString(endpoint.mp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitConstructor$lambda_4($this)) + ')';
578
578
  var tmp3_elvis_lhs = orNull(tmp$ret$7);
579
579
  var tmp_10 = tmp3_elvis_lhs == null ? 'new RequestHeaders()' : tmp3_elvis_lhs;
580
580
  var tmp_11;
581
- if (_this__u8e3s4.np_1 == null) {
581
+ if (_this__u8e3s4.rp_1 == null) {
582
582
  tmp_11 = null;
583
583
  } else {
584
584
  // Inline function 'kotlin.let' call
585
585
  tmp_11 = 'body';
586
586
  }
587
587
  var tmp5_elvis_lhs = tmp_11;
588
- 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.qr(2) + '}';
588
+ 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.vr(2) + '}';
589
589
  }
590
590
  function emitDeserializedParams($this, _this__u8e3s4, endpoint) {
591
591
  var tmp = get_indexedPathParams(endpoint);
592
592
  var tmp_0 = orNull(joinToString(tmp, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda($this)));
593
- var tmp_1 = orNull(joinToString(endpoint.hp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
594
- var tmp_2 = orNull(joinToString(endpoint.ip_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
595
- var tmp0_safe_receiver = _this__u8e3s4.np_1;
593
+ var tmp_1 = orNull(joinToString(endpoint.lp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_0($this)));
594
+ var tmp_2 = orNull(joinToString(endpoint.mp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1($this)));
595
+ var tmp0_safe_receiver = _this__u8e3s4.rp_1;
596
596
  var tmp_3;
597
597
  if (tmp0_safe_receiver == null) {
598
598
  tmp_3 = null;
599
599
  } else {
600
600
  // Inline function 'kotlin.let' call
601
- tmp_3 = Spacer_instance.qr(4) + 'request.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.pp_1) + ')).orElse(null)';
601
+ tmp_3 = Spacer_instance.vr(4) + 'request.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.tp_1) + ')).orElse(null)';
602
602
  }
603
603
  // Inline function 'kotlin.let' call
604
604
  var it = joinToString(listOfNotNull([tmp_0, tmp_1, tmp_2, tmp_3]), ',\n');
605
- return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.qr(3);
605
+ return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.vr(3);
606
606
  }
607
607
  function emitDeserializedParams_0($this, _this__u8e3s4) {
608
- var tmp = orNull(joinToString(_this__u8e3s4.rp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2($this)));
609
- var tmp0_safe_receiver = _this__u8e3s4.sp_1;
608
+ var tmp = orNull(joinToString(_this__u8e3s4.vp_1, ',\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2($this)));
609
+ var tmp0_safe_receiver = _this__u8e3s4.wp_1;
610
610
  var tmp_0;
611
611
  if (tmp0_safe_receiver == null) {
612
612
  tmp_0 = null;
613
613
  } else {
614
614
  // Inline function 'kotlin.let' call
615
- tmp_0 = Spacer_instance.qr(5) + 'response.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.pp_1) + ')).orElse(null)';
615
+ tmp_0 = Spacer_instance.vr(5) + 'response.body().<' + emit_16($this, tmp0_safe_receiver) + '>map(body -> serialization.deserializeBody(body, ' + emitGetType($this, tmp0_safe_receiver.tp_1) + ')).orElse(null)';
616
616
  }
617
617
  // Inline function 'kotlin.let' call
618
618
  var it = joinToString(listOfNotNull([tmp, tmp_0]), ',\n');
619
- return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.qr(4);
619
+ return isBlank(it) ? '' : '\n' + it + '\n' + Spacer_instance.vr(4);
620
620
  }
621
621
  function emitSerialized($this, _this__u8e3s4) {
622
622
  var tmp;
623
- if (!(_this__u8e3s4.sp_1 == null)) {
624
- tmp = 'java.util.Optional.ofNullable(serialization.serializeBody(r.body, ' + emitGetType($this, ensureNotNull(_this__u8e3s4.sp_1).pp_1) + '))';
623
+ if (!(_this__u8e3s4.wp_1 == null)) {
624
+ tmp = 'java.util.Optional.ofNullable(serialization.serializeBody(r.body, ' + emitGetType($this, ensureNotNull(_this__u8e3s4.wp_1).tp_1) + '))';
625
625
  } else {
626
626
  tmp = 'java.util.Optional.empty()';
627
627
  }
628
628
  var body = tmp;
629
629
  var tmp_0;
630
630
  // Inline function 'kotlin.collections.isNotEmpty' call
631
- if (!_this__u8e3s4.rp_1.r()) {
632
- tmp_0 = 'java.util.Map.ofEntries(' + joinToString(_this__u8e3s4.rp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitSerialized$lambda($this)) + ')';
631
+ if (!_this__u8e3s4.vp_1.r()) {
632
+ tmp_0 = 'java.util.Map.ofEntries(' + joinToString(_this__u8e3s4.vp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitSerialized$lambda($this)) + ')';
633
633
  } else {
634
634
  tmp_0 = 'java.util.Collections.emptyMap()';
635
635
  }
636
636
  var headers = tmp_0;
637
- return Spacer_instance.qr(3) + 'if (response instanceof Response' + Companion_instance_1.oq(_this__u8e3s4.qp_1) + ' r) { return new Wirespec.RawResponse(r.status(), ' + headers + ', ' + body + '); }';
637
+ return Spacer_instance.vr(3) + 'if (response instanceof Response' + Companion_instance_1.sq(_this__u8e3s4.up_1) + ' r) { return new Wirespec.RawResponse(r.status(), ' + headers + ', ' + body + '); }';
638
638
  }
639
639
  function emitDeserialized($this, _this__u8e3s4) {
640
- return Spacer_instance.qr(4) + 'case ' + _this__u8e3s4.qp_1 + ' -> new Response' + Companion_instance_1.oq(_this__u8e3s4.qp_1) + '(' + emitDeserializedParams_0($this, _this__u8e3s4) + ');';
640
+ return Spacer_instance.vr(4) + 'case ' + _this__u8e3s4.up_1 + ' -> new Response' + Companion_instance_1.sq(_this__u8e3s4.up_1) + '(' + emitDeserializedParams_0($this, _this__u8e3s4) + ');';
641
641
  }
642
642
  function emitSerializedParams($this, _this__u8e3s4, fields) {
643
- return 'java.util.Map.entry("' + _this__u8e3s4.ap_1.l1() + '", serialization.serializeParam(request.' + (fields === 'queries' ? 'queries' : 'headers') + '().' + $this.wq(_this__u8e3s4.ap_1) + '(), ' + emitGetType($this, _this__u8e3s4.bp_1) + '))';
643
+ return 'java.util.Map.entry("' + _this__u8e3s4.ep_1.l1() + '", serialization.serializeParam(request.' + (fields === 'queries' ? 'queries' : 'headers') + '().' + $this.br(_this__u8e3s4.ep_1) + '(), ' + emitGetType($this, _this__u8e3s4.fp_1) + '))';
644
644
  }
645
645
  function emitDeserialized_0($this, _this__u8e3s4) {
646
- return Spacer_instance.qr(4) + 'serialization.deserializePath(request.path().get(' + _this__u8e3s4.le_1 + '), ' + emitGetType($this, _this__u8e3s4.me_1.mp_1) + ')';
646
+ return Spacer_instance.vr(4) + 'serialization.deserializePath(request.path().get(' + _this__u8e3s4.oe_1 + '), ' + emitGetType($this, _this__u8e3s4.pe_1.qp_1) + ')';
647
647
  }
648
648
  function emitDeserializedParams_1($this, _this__u8e3s4, fields, caseSensitive) {
649
649
  var tmp;
650
650
  if (caseSensitive) {
651
- tmp = 'request.' + fields + '().getOrDefault("' + _this__u8e3s4.ap_1.l1() + '", java.util.Collections.emptyList())';
651
+ tmp = 'request.' + fields + '().getOrDefault("' + _this__u8e3s4.ep_1.l1() + '", java.util.Collections.emptyList())';
652
652
  } else {
653
- tmp = 'request.' + fields + '().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + _this__u8e3s4.ap_1.l1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList())';
653
+ tmp = 'request.' + fields + '().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + _this__u8e3s4.ep_1.l1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList())';
654
654
  }
655
655
  var valuesFromField = tmp;
656
- return Spacer_instance.qr(4) + 'serialization.<' + $this.xp(_this__u8e3s4.bp_1) + '>deserializeParam(' + valuesFromField + ', ' + emitGetType($this, _this__u8e3s4.bp_1) + ')';
656
+ return Spacer_instance.vr(4) + 'serialization.<' + $this.bq(_this__u8e3s4.fp_1) + '>deserializeParam(' + valuesFromField + ', ' + emitGetType($this, _this__u8e3s4.fp_1) + ')';
657
657
  }
658
658
  function emitSerializedHeader($this, _this__u8e3s4) {
659
- return 'java.util.Map.entry("' + _this__u8e3s4.ap_1.l1() + '", serialization.<' + $this.xp(_this__u8e3s4.bp_1) + '>serializeParam(r.headers().' + $this.wq(_this__u8e3s4.ap_1) + '(), ' + emitGetType($this, _this__u8e3s4.bp_1) + '))';
659
+ return 'java.util.Map.entry("' + _this__u8e3s4.ep_1.l1() + '", serialization.<' + $this.bq(_this__u8e3s4.fp_1) + '>serializeParam(r.headers().' + $this.br(_this__u8e3s4.ep_1) + '(), ' + emitGetType($this, _this__u8e3s4.fp_1) + '))';
660
660
  }
661
661
  function emitIdentifier($this, _this__u8e3s4) {
662
- return 'serialization.serializePath(request.path().' + Companion_instance_1.pq($this.wq(_this__u8e3s4.lp_1)) + '(), ' + emitGetType($this, _this__u8e3s4.mp_1) + ')';
662
+ return 'serialization.serializePath(request.path().' + Companion_instance_1.tq($this.br(_this__u8e3s4.pp_1)) + '(), ' + emitGetType($this, _this__u8e3s4.qp_1) + ')';
663
663
  }
664
664
  function emit_16($this, _this__u8e3s4) {
665
- var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.pp_1;
666
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.xp(tmp1_safe_receiver);
665
+ var tmp1_safe_receiver = _this__u8e3s4 == null ? null : _this__u8e3s4.tp_1;
666
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.bq(tmp1_safe_receiver);
667
667
  return tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
668
668
  }
669
669
  function emit_17($this, _this__u8e3s4) {
670
- return $this.xp(_this__u8e3s4.mp_1) + ' ' + $this.wq(_this__u8e3s4.lp_1);
670
+ return $this.bq(_this__u8e3s4.qp_1) + ' ' + $this.br(_this__u8e3s4.pp_1);
671
671
  }
672
672
  function emitImports_0($this, _this__u8e3s4) {
673
673
  // Inline function 'kotlin.collections.filter' call
@@ -677,7 +677,7 @@ function emitImports_0($this, _this__u8e3s4) {
677
677
  var _iterator__ex2g4s = tmp0.t();
678
678
  while (_iterator__ex2g4s.u()) {
679
679
  var element = _iterator__ex2g4s.v();
680
- if (!(_this__u8e3s4.vq().l1() === element.ku_1)) {
680
+ if (!(_this__u8e3s4.ar().l1() === element.pu_1)) {
681
681
  destination.x(element);
682
682
  }
683
683
  }
@@ -687,46 +687,46 @@ function emitImports_0($this, _this__u8e3s4) {
687
687
  var _iterator__ex2g4s_0 = destination.t();
688
688
  while (_iterator__ex2g4s_0.u()) {
689
689
  var item = _iterator__ex2g4s_0.v();
690
- var tmp$ret$3 = 'import ' + $this.d1v().mr_1 + '.model.' + item.ku_1 + ';';
690
+ var tmp$ret$3 = 'import ' + $this.i1v().rr_1 + '.model.' + item.pu_1 + ';';
691
691
  destination_0.x(tmp$ret$3);
692
692
  }
693
693
  var tmp = destination_0;
694
694
  return joinToString(tmp, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitImports$lambda);
695
695
  }
696
696
  function emitRequestFunctions($this, _this__u8e3s4, endpoint) {
697
- var tmp = Spacer_instance.qr(2);
698
- var tmp_0 = Spacer_instance.qr(3);
699
- var tmp_1 = Spacer_instance.qr(4);
700
- var tmp_2 = Spacer_instance.qr(4);
701
- var tmp_3 = joinToString(endpoint.gp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda($this));
702
- var tmp_4 = Spacer_instance.qr(4);
697
+ var tmp = Spacer_instance.vr(2);
698
+ var tmp_0 = Spacer_instance.vr(3);
699
+ var tmp_1 = Spacer_instance.vr(4);
700
+ var tmp_2 = Spacer_instance.vr(4);
701
+ var tmp_3 = joinToString(endpoint.kp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda($this));
702
+ var tmp_4 = Spacer_instance.vr(4);
703
703
  var tmp_5;
704
704
  // Inline function 'kotlin.collections.isNotEmpty' call
705
- if (!endpoint.hp_1.r()) {
706
- tmp_5 = 'java.util.Map.ofEntries(' + joinToString(endpoint.hp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_0($this)) + ')';
705
+ if (!endpoint.lp_1.r()) {
706
+ tmp_5 = 'java.util.Map.ofEntries(' + joinToString(endpoint.lp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_0($this)) + ')';
707
707
  } else {
708
708
  tmp_5 = 'java.util.Collections.emptyMap()';
709
709
  }
710
710
  var tmp_6 = tmp_5;
711
- var tmp_7 = Spacer_instance.qr(4);
711
+ var tmp_7 = Spacer_instance.vr(4);
712
712
  var tmp_8;
713
713
  // Inline function 'kotlin.collections.isNotEmpty' call
714
- if (!endpoint.ip_1.r()) {
715
- tmp_8 = 'java.util.Map.ofEntries(' + joinToString(endpoint.ip_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1($this)) + ')';
714
+ if (!endpoint.mp_1.r()) {
715
+ tmp_8 = 'java.util.Map.ofEntries(' + joinToString(endpoint.mp_1, VOID, VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1($this)) + ')';
716
716
  } else {
717
717
  tmp_8 = 'java.util.Collections.emptyMap()';
718
718
  }
719
719
  var tmp_9 = tmp_8;
720
- var tmp_10 = Spacer_instance.qr(4);
720
+ var tmp_10 = Spacer_instance.vr(4);
721
721
  var tmp_11;
722
- if (!(_this__u8e3s4.np_1 == null)) {
723
- var tmp0_safe_receiver = _this__u8e3s4.np_1;
724
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.pp_1;
722
+ if (!(_this__u8e3s4.rp_1 == null)) {
723
+ var tmp0_safe_receiver = _this__u8e3s4.rp_1;
724
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.tp_1;
725
725
  tmp_11 = 'java.util.Optional.ofNullable(serialization.serializeBody(request.body(), ' + (tmp1_safe_receiver == null ? null : emitGetType($this, tmp1_safe_receiver)) + '))';
726
726
  } else {
727
727
  tmp_11 = 'java.util.Optional.empty()';
728
728
  }
729
- 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.qr(3) + ');\n |' + Spacer_instance.qr(2) + '}\n |\n |' + Spacer_instance.qr(2) + 'static Request fromRequest(Wirespec.Deserializer serialization, Wirespec.RawRequest request) {\n |' + Spacer_instance.qr(3) + 'return new Request(' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + ');\n |' + Spacer_instance.qr(2) + '}\n ');
729
+ 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.vr(3) + ');\n |' + Spacer_instance.vr(2) + '}\n |\n |' + Spacer_instance.vr(2) + 'static Request fromRequest(Wirespec.Deserializer serialization, Wirespec.RawRequest request) {\n |' + Spacer_instance.vr(3) + 'return new Request(' + emitDeserializedParams($this, _this__u8e3s4, endpoint) + ');\n |' + Spacer_instance.vr(2) + '}\n ');
730
730
  }
731
731
  function emitObject($this, _this__u8e3s4, name, extends_0, block) {
732
732
  var tmp;
@@ -740,13 +740,13 @@ function emitObject($this, _this__u8e3s4, name, extends_0, block) {
740
740
  }
741
741
  function emitResponseInterfaces($this, _this__u8e3s4) {
742
742
  // Inline function 'kotlin.collections.map' call
743
- var this_0 = distinctByStatus(_this__u8e3s4.kp_1);
743
+ var this_0 = distinctByStatus(_this__u8e3s4.op_1);
744
744
  // Inline function 'kotlin.collections.mapTo' call
745
745
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
746
746
  var _iterator__ex2g4s = this_0.t();
747
747
  while (_iterator__ex2g4s.u()) {
748
748
  var item = _iterator__ex2g4s.v();
749
- var tmp$ret$0 = emit_16($this, item.sp_1);
749
+ var tmp$ret$0 = emit_16($this, item.wp_1);
750
750
  destination.x(tmp$ret$0);
751
751
  }
752
752
  var tmp = distinct(destination);
@@ -754,13 +754,13 @@ function emitResponseInterfaces($this, _this__u8e3s4) {
754
754
  }
755
755
  function emitStatusInterfaces($this, _this__u8e3s4) {
756
756
  // Inline function 'kotlin.collections.map' call
757
- var this_0 = _this__u8e3s4.kp_1;
757
+ var this_0 = _this__u8e3s4.op_1;
758
758
  // Inline function 'kotlin.collections.mapTo' call
759
759
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
760
760
  var _iterator__ex2g4s = this_0.t();
761
761
  while (_iterator__ex2g4s.u()) {
762
762
  var item = _iterator__ex2g4s.v();
763
- var tmp$ret$0 = new Char(first(item.qp_1));
763
+ var tmp$ret$0 = new Char(first(item.up_1));
764
764
  destination.x(tmp$ret$0);
765
765
  }
766
766
  var tmp = distinct(destination);
@@ -768,26 +768,26 @@ function emitStatusInterfaces($this, _this__u8e3s4) {
768
768
  }
769
769
  function emitFromResponse($this, _this__u8e3s4) {
770
770
  // Inline function 'kotlin.collections.filter' call
771
- var tmp0 = distinctByStatus(_this__u8e3s4.kp_1);
771
+ var tmp0 = distinctByStatus(_this__u8e3s4.op_1);
772
772
  // Inline function 'kotlin.collections.filterTo' call
773
773
  var destination = ArrayList_init_$Create$();
774
774
  var _iterator__ex2g4s = tmp0.t();
775
775
  while (_iterator__ex2g4s.u()) {
776
776
  var element = _iterator__ex2g4s.v();
777
- if (Companion_instance_1.rq(element.qp_1)) {
777
+ if (Companion_instance_1.wq(element.up_1)) {
778
778
  destination.x(element);
779
779
  }
780
780
  }
781
781
  var statusResponses = destination;
782
782
  var tmp;
783
783
  if (statusResponses.r()) {
784
- tmp = trimMargin('\n |' + Spacer_instance.qr(3) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n ');
784
+ tmp = trimMargin('\n |' + Spacer_instance.vr(3) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n ');
785
785
  } else if (statusResponses.a1() === 1) {
786
786
  var response = first_0(statusResponses);
787
- tmp = trimMargin('\n |' + Spacer_instance.qr(3) + 'if (response.statusCode() == ' + response.qp_1 + ') {\n |' + Spacer_instance.qr(4) + 'return new Response' + Companion_instance_1.oq(response.qp_1) + '(' + emitDeserializedParams_0($this, response) + ');\n |' + Spacer_instance.qr(3) + '} else {\n |' + Spacer_instance.qr(4) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.qr(3) + '}\n ');
787
+ tmp = trimMargin('\n |' + Spacer_instance.vr(3) + 'if (response.statusCode() == ' + response.up_1 + ') {\n |' + Spacer_instance.vr(4) + 'return new Response' + Companion_instance_1.sq(response.up_1) + '(' + emitDeserializedParams_0($this, response) + ');\n |' + Spacer_instance.vr(3) + '} else {\n |' + Spacer_instance.vr(4) + 'throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.vr(3) + '}\n ');
788
788
  } else {
789
- var tmp_0 = Spacer_instance.qr(3);
790
- tmp = trimMargin('\n |' + tmp_0 + 'return switch (response.statusCode()) {\n |' + joinToString(statusResponses, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitFromResponse$lambda($this)) + '\n |' + Spacer_instance.qr(4) + 'default -> throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.qr(3) + '};\n ');
789
+ var tmp_0 = Spacer_instance.vr(3);
790
+ tmp = trimMargin('\n |' + tmp_0 + 'return switch (response.statusCode()) {\n |' + joinToString(statusResponses, '\n', VOID, VOID, VOID, VOID, JavaEndpointDefinitionEmitter$emitFromResponse$lambda($this)) + '\n |' + Spacer_instance.vr(4) + 'default -> throw new IllegalStateException("Cannot match response with status: " + response.statusCode());\n |' + Spacer_instance.vr(3) + '};\n ');
791
791
  }
792
792
  return tmp;
793
793
  }
@@ -798,17 +798,17 @@ function JavaEndpointDefinitionEmitter$emit$lambda(this$0) {
798
798
  }
799
799
  function JavaEndpointDefinitionEmitter$emit$lambda_0(this$0) {
800
800
  return function (it) {
801
- return this$0.wp(it);
801
+ return this$0.aq(it);
802
802
  };
803
803
  }
804
804
  function JavaEndpointDefinitionEmitter$emit$lambda_1(this$0) {
805
805
  return function (it) {
806
- return this$0.wp(it);
806
+ return this$0.aq(it);
807
807
  };
808
808
  }
809
809
  function JavaEndpointDefinitionEmitter$emit$lambda_2(this$0) {
810
810
  return function (it) {
811
- return this$0.r1v(it);
811
+ return this$0.w1v(it);
812
812
  };
813
813
  }
814
814
  function JavaEndpointDefinitionEmitter$emit$lambda_3(this$0) {
@@ -826,27 +826,27 @@ function JavaEndpointDefinitionEmitter$emitConstructor$lambda(this$0) {
826
826
  }
827
827
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_0(this$0) {
828
828
  return function (it) {
829
- return this$0.wp(it);
829
+ return this$0.aq(it);
830
830
  };
831
831
  }
832
832
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_1(this$0) {
833
833
  return function (it) {
834
- return this$0.wp(it);
834
+ return this$0.aq(it);
835
835
  };
836
836
  }
837
837
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_2(this$0) {
838
838
  return function (it) {
839
- return this$0.wq(it.lp_1);
839
+ return this$0.br(it.pp_1);
840
840
  };
841
841
  }
842
842
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_3(this$0) {
843
843
  return function (it) {
844
- return this$0.wq(it.ap_1);
844
+ return this$0.br(it.ep_1);
845
845
  };
846
846
  }
847
847
  function JavaEndpointDefinitionEmitter$emitConstructor$lambda_4(this$0) {
848
848
  return function (it) {
849
- return this$0.wq(it.ap_1);
849
+ return this$0.br(it.ep_1);
850
850
  };
851
851
  }
852
852
  function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda(this$0) {
@@ -866,22 +866,22 @@ function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_1(this$0) {
866
866
  }
867
867
  function JavaEndpointDefinitionEmitter$emit$lambda_5(this$0) {
868
868
  return function (it) {
869
- return this$0.wp(it);
869
+ return this$0.aq(it);
870
870
  };
871
871
  }
872
872
  function JavaEndpointDefinitionEmitter$emit$lambda_6(this$0) {
873
873
  return function (it) {
874
- return this$0.wq(it.ap_1);
874
+ return this$0.br(it.ep_1);
875
875
  };
876
876
  }
877
877
  function JavaEndpointDefinitionEmitter$emit$lambda_7(this$0) {
878
878
  return function (it) {
879
- return this$0.wp(it);
879
+ return this$0.aq(it);
880
880
  };
881
881
  }
882
882
  function JavaEndpointDefinitionEmitter$emitDeserializedParams$lambda_2(this$0) {
883
883
  return function (it) {
884
- return Spacer_instance.qr(5) + 'serialization.<' + this$0.xp(it.bp_1) + '>deserializeParam(response.headers().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + it.ap_1.l1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList()), ' + emitGetType(this$0, it.bp_1) + ')';
884
+ return Spacer_instance.vr(5) + 'serialization.<' + this$0.bq(it.fp_1) + '>deserializeParam(response.headers().entrySet().stream().filter(e -> e.getKey().equalsIgnoreCase("' + it.ep_1.l1() + '")).findFirst().map(java.util.Map.Entry::getValue).orElse(java.util.Collections.emptyList()), ' + emitGetType(this$0, it.fp_1) + ')';
885
885
  };
886
886
  }
887
887
  function JavaEndpointDefinitionEmitter$emitSerialized$lambda(this$0) {
@@ -897,7 +897,7 @@ function JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda(this$0) {
897
897
  return function (it) {
898
898
  var tmp;
899
899
  if (it instanceof Literal) {
900
- tmp = '"' + it.hq_1 + '"';
900
+ tmp = '"' + it.lq_1 + '"';
901
901
  } else {
902
902
  if (it instanceof Param) {
903
903
  tmp = emitIdentifier(this$0, it);
@@ -920,7 +920,7 @@ function JavaEndpointDefinitionEmitter$emitRequestFunctions$lambda_1(this$0) {
920
920
  }
921
921
  function JavaEndpointDefinitionEmitter$emitObject$lambda($block) {
922
922
  return function (it) {
923
- return Spacer_instance.qr(2) + $block(it);
923
+ return Spacer_instance.vr(2) + $block(it);
924
924
  };
925
925
  }
926
926
  function JavaEndpointDefinitionEmitter$emitResponseInterfaces$lambda(it) {
@@ -940,7 +940,7 @@ function sanitizeNegative($this, _this__u8e3s4) {
940
940
  return startsWith(_this__u8e3s4, '-') ? '__' + substring(_this__u8e3s4, 1) : _this__u8e3s4;
941
941
  }
942
942
  function sanitizeEnum($this, _this__u8e3s4) {
943
- return $this.t1v($this.s1v(joinToString(split(sanitizeNegative($this, _this__u8e3s4), ['-', ', ', '.', ' ', '//']), '_')));
943
+ return $this.y1v($this.x1v(joinToString(split(sanitizeNegative($this, _this__u8e3s4), ['-', ', ', '.', ' ', '//']), '_')));
944
944
  }
945
945
  function JavaEnumDefinitionEmitter$emit$lambda(this$0) {
946
946
  return function (it) {
@@ -951,7 +951,7 @@ function JavaEnumDefinitionEmitter() {
951
951
  }
952
952
  function Companion() {
953
953
  Companion_instance_2 = this;
954
- this.v1v_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']);
954
+ this.a1w_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']);
955
955
  }
956
956
  var Companion_instance_2;
957
957
  function Companion_getInstance_0() {
@@ -975,7 +975,7 @@ function sanitizeSymbol_0($this, _this__u8e3s4) {
975
975
  var item = _iterator__ex2g4s.v();
976
976
  var _unary__edvuaz = index;
977
977
  index = _unary__edvuaz + 1 | 0;
978
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.oq(item) : item;
978
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance_1.sq(item) : item;
979
979
  destination.x(tmp$ret$0);
980
980
  }
981
981
  // Inline function 'kotlin.text.filter' call
@@ -1015,14 +1015,14 @@ function sanitizeFirstIsDigit_0($this, _this__u8e3s4) {
1015
1015
  return tmp;
1016
1016
  }
1017
1017
  function sanitizeKeywords_0($this, _this__u8e3s4) {
1018
- return Companion_getInstance_1().w1v_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1018
+ return Companion_getInstance_1().b1w_1.u1(_this__u8e3s4) ? '_' + _this__u8e3s4 : _this__u8e3s4;
1019
1019
  }
1020
1020
  function sanitizeEnum_0($this, _this__u8e3s4) {
1021
1021
  return sanitizeKeywords_0($this, sanitizeFirstIsDigit_0($this, joinToString(split(_this__u8e3s4, ['-', ', ', '.', ' ', '//']), '_')));
1022
1022
  }
1023
1023
  function Companion_0() {
1024
1024
  Companion_instance_3 = this;
1025
- this.w1v_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']);
1025
+ this.b1w_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']);
1026
1026
  }
1027
1027
  var Companion_instance_3;
1028
1028
  function Companion_getInstance_1() {
@@ -1034,10 +1034,10 @@ function JavaIrEmitter$sanitizationConfig$lambda(it) {
1034
1034
  return '_' + it;
1035
1035
  }
1036
1036
  function JavaIrEmitter$sanitizationConfig$lambda_0(name) {
1037
- return name.g1h_1.a1() > 1 ? new Name(listOf(name.s1l())) : name;
1037
+ return name.l1h_1.a1() > 1 ? new Name(listOf(name.x1l())) : name;
1038
1038
  }
1039
1039
  function JavaIrEmitter$sanitizationConfig$lambda_1(name) {
1040
- return new Name(listOf(name.s1l()));
1040
+ return new Name(listOf(name.x1l()));
1041
1041
  }
1042
1042
  function JavaIrEmitter$sanitizationConfig$lambda_2(this$0) {
1043
1043
  return function (it) {
@@ -1048,23 +1048,23 @@ function JavaIrEmitter$sanitizationConfig$lambda_3(stmt, tr) {
1048
1048
  var tmp;
1049
1049
  var tmp_0;
1050
1050
  if (stmt instanceof FunctionCall) {
1051
- tmp_0 = stmt.b1m_1.s1h() === 'validate';
1051
+ tmp_0 = stmt.g1m_1.x1h() === 'validate';
1052
1052
  } else {
1053
1053
  tmp_0 = false;
1054
1054
  }
1055
1055
  if (tmp_0) {
1056
- tmp = transformChildren(stmt.f1m(VOID, emptyList()), tr);
1056
+ tmp = transformChildren(stmt.k1m(VOID, emptyList()), tr);
1057
1057
  } else {
1058
1058
  tmp = transformChildren(stmt, tr);
1059
1059
  }
1060
1060
  return tmp;
1061
1061
  }
1062
1062
  function JavaIrEmitter$emitShared$lambda(name) {
1063
- switch (name.s1h()) {
1063
+ switch (name.x1h()) {
1064
1064
  case 'client':
1065
- return Companion_getInstance().f1h('getClient');
1065
+ return Companion_getInstance().k1h('getClient');
1066
1066
  case 'server':
1067
- return Companion_getInstance().f1h('getServer');
1067
+ return Companion_getInstance().k1h('getServer');
1068
1068
  default:
1069
1069
  return null;
1070
1070
  }
@@ -1074,7 +1074,7 @@ function JavaIrEmitter$emitShared$lambda_0($imports) {
1074
1074
  var tmp;
1075
1075
  if (element instanceof File) {
1076
1076
  // Inline function 'kotlin.collections.partition' call
1077
- var this_0 = element.t1m_1;
1077
+ var this_0 = element.y1m_1;
1078
1078
  var first = ArrayList_init_$Create$();
1079
1079
  var second = ArrayList_init_$Create$();
1080
1080
  var _iterator__ex2g4s = this_0.t();
@@ -1087,9 +1087,9 @@ function JavaIrEmitter$emitShared$lambda_0($imports) {
1087
1087
  }
1088
1088
  }
1089
1089
  var _destruct__k2r9zo = new Pair(first, second);
1090
- var packageElements = _destruct__k2r9zo.ne();
1091
- var rest = _destruct__k2r9zo.oe();
1092
- tmp = element.w1m(VOID, plus_1(plus_1(packageElements, $imports), rest));
1090
+ var packageElements = _destruct__k2r9zo.qe();
1091
+ var rest = _destruct__k2r9zo.re();
1092
+ tmp = element.b1n(VOID, plus_1(plus_1(packageElements, $imports), rest));
1093
1093
  } else {
1094
1094
  tmp = element;
1095
1095
  }
@@ -1101,11 +1101,11 @@ function JavaIrEmitter$emitShared$lambda_1($clientServer) {
1101
1101
  return function (element, transformer) {
1102
1102
  var tmp;
1103
1103
  if (element instanceof Namespace) {
1104
- var injected = element.y1m_1.equals(Companion_getInstance().f1h('Wirespec')) ? $clientServer : emptyList();
1104
+ var injected = element.d1n_1.equals(Companion_getInstance().k1h('Wirespec')) ? $clientServer : emptyList();
1105
1105
  var tmp_0;
1106
1106
  // Inline function 'kotlin.collections.isNotEmpty' call
1107
1107
  if (!injected.r()) {
1108
- tmp_0 = withElements(element, plus_1(element.u1m(), injected));
1108
+ tmp_0 = withElements(element, plus_1(element.z1m(), injected));
1109
1109
  } else {
1110
1110
  tmp_0 = element;
1111
1111
  }
@@ -1126,38 +1126,38 @@ function JavaIrEmitter$emit$lambda_0(it) {
1126
1126
  return listOf(function_0('label', VOID, VOID, JavaIrEmitter$emit$lambda$lambda));
1127
1127
  }
1128
1128
  function JavaIrEmitter$emit$lambda$lambda($this$function) {
1129
- $this$function.k1i(String_instance);
1130
- $this$function.j1k(new VariableReference(Companion_getInstance().f1h('label')));
1129
+ $this$function.p1i(String_instance);
1130
+ $this$function.o1k(new VariableReference(Companion_getInstance().k1h('label')));
1131
1131
  return Unit_instance;
1132
1132
  }
1133
1133
  function JavaIrEmitter(packageName, emitShared) {
1134
1134
  Companion_getInstance_1();
1135
- packageName = packageName === VOID ? Companion_instance.lr('community.flock.wirespec.generated') : packageName;
1136
- emitShared = emitShared === VOID ? Companion_instance_0.go() : emitShared;
1137
- this.x1v_1 = packageName;
1138
- this.y1v_1 = emitShared;
1139
- this.z1v_1 = JavaGenerator_instance;
1140
- this.a1w_1 = FileExtension_Java_getInstance();
1141
- this.b1w_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
1135
+ packageName = packageName === VOID ? Companion_instance.qr('community.flock.wirespec.generated') : packageName;
1136
+ emitShared = emitShared === VOID ? Companion_instance_0.ko() : emitShared;
1137
+ this.c1w_1 = packageName;
1138
+ this.d1w_1 = emitShared;
1139
+ this.e1w_1 = JavaGenerator_instance;
1140
+ this.f1w_1 = FileExtension_Java_getInstance();
1141
+ this.g1w_1 = listOf(import_0('community.flock.wirespec.java', 'Wirespec'));
1142
1142
  var tmp = this;
1143
- var tmp_0 = Companion_getInstance_1().w1v_1;
1143
+ var tmp_0 = Companion_getInstance_1().b1w_1;
1144
1144
  var tmp_1 = JavaIrEmitter$sanitizationConfig$lambda;
1145
1145
  var tmp_2 = JavaIrEmitter$sanitizationConfig$lambda_0;
1146
1146
  var tmp_3 = JavaIrEmitter$sanitizationConfig$lambda_1;
1147
1147
  var tmp_4 = JavaIrEmitter$sanitizationConfig$lambda_2(this);
1148
- tmp.c1w_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaIrEmitter$sanitizationConfig$lambda_3);
1148
+ tmp.h1w_1 = new SanitizationConfig(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, JavaIrEmitter$sanitizationConfig$lambda_3);
1149
1149
  }
1150
- protoOf(JavaIrEmitter).d1v = function () {
1151
- return this.x1v_1;
1150
+ protoOf(JavaIrEmitter).i1v = function () {
1151
+ return this.c1w_1;
1152
1152
  };
1153
- protoOf(JavaIrEmitter).k1u = function () {
1154
- return this.z1v_1;
1153
+ protoOf(JavaIrEmitter).p1u = function () {
1154
+ return this.e1w_1;
1155
1155
  };
1156
- protoOf(JavaIrEmitter).eq = function () {
1157
- return this.a1w_1;
1156
+ protoOf(JavaIrEmitter).iq = function () {
1157
+ return this.f1w_1;
1158
1158
  };
1159
- protoOf(JavaIrEmitter).n1u = function () {
1160
- var packageName = Companion_instance.lr('community.flock.wirespec.java');
1159
+ protoOf(JavaIrEmitter).s1u = function () {
1160
+ var packageName = Companion_instance.qr('community.flock.wirespec.java');
1161
1161
  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')]);
1162
1162
  // Inline function 'kotlin.collections.map' call
1163
1163
  var this_0 = convertClientServer(packageName);
@@ -1176,66 +1176,66 @@ protoOf(JavaIrEmitter).n1u = function () {
1176
1176
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1177
1177
  var tmp = scope;
1178
1178
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1179
- var this_2 = scope.x1t_1;
1179
+ var this_2 = scope.c1u_1;
1180
1180
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1181
1181
  // Inline function 'kotlin.apply' call
1182
1182
  var this_3 = new TransformerBuilder();
1183
- this_3.c1h(JavaIrEmitter$emitShared$lambda_0(imports));
1184
- var tmp$ret$5 = this_3.d1h();
1185
- tmp.x1t_1 = transform(this_2, tmp$ret$5);
1183
+ this_3.h1h(JavaIrEmitter$emitShared$lambda_0(imports));
1184
+ var tmp$ret$5 = this_3.i1h();
1185
+ tmp.c1u_1 = transform(this_2, tmp$ret$5);
1186
1186
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1187
1187
  var tmp_0 = scope;
1188
1188
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1189
1189
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1190
- var this_4 = scope.x1t_1;
1190
+ var this_4 = scope.c1u_1;
1191
1191
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1192
1192
  // Inline function 'kotlin.apply' call
1193
1193
  var this_5 = new TransformerBuilder();
1194
- this_5.c1h(JavaIrEmitter$emitShared$lambda_1(clientServer));
1195
- var tmp$ret$10 = this_5.d1h();
1196
- tmp_0.x1t_1 = transform(this_4, tmp$ret$10);
1197
- var tmp_1 = scope.x1t_1;
1194
+ this_5.h1h(JavaIrEmitter$emitShared$lambda_1(clientServer));
1195
+ var tmp$ret$10 = this_5.i1h();
1196
+ tmp_0.c1u_1 = transform(this_4, tmp$ret$10);
1197
+ var tmp_1 = scope.c1u_1;
1198
1198
  var wirespecShared = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1199
1199
  var tmp_2;
1200
- if (this.y1v_1.ho_1) {
1200
+ if (this.d1w_1.lo_1) {
1201
1201
  tmp_2 = wirespecShared;
1202
1202
  } else {
1203
1203
  tmp_2 = null;
1204
1204
  }
1205
1205
  return tmp_2;
1206
1206
  };
1207
- protoOf(JavaIrEmitter).uq = function (definition, module_0, logger) {
1207
+ protoOf(JavaIrEmitter).zq = function (definition, module_0, logger) {
1208
1208
  var file = emit_0.call(this, definition, module_0, logger);
1209
- var tmp = file.w1m(Companion_getInstance().f1h(sanitizeSymbol_0(this, file.s1m_1.h1h())));
1209
+ var tmp = file.b1n(Companion_getInstance().k1h(sanitizeSymbol_0(this, file.x1m_1.m1h())));
1210
1210
  // Inline function 'kotlin.takeIf' call
1211
- var this_0 = this.b1w_1;
1211
+ var this_0 = this.g1w_1;
1212
1212
  var tmp_0;
1213
- if (Companion_instance_1.qq(module_0)) {
1213
+ if (Companion_instance_1.vq(module_0)) {
1214
1214
  tmp_0 = this_0;
1215
1215
  } else {
1216
1216
  tmp_0 = null;
1217
1217
  }
1218
1218
  var tmp$ret$1 = tmp_0;
1219
- return placeInPackage(prependImports(tmp, tmp$ret$1), this.d1v(), definition);
1219
+ return placeInPackage(prependImports(tmp, tmp$ret$1), this.i1v(), definition);
1220
1220
  };
1221
- protoOf(JavaIrEmitter).up = function (type, module_0) {
1222
- return sanitizeNames(convertWithValidation(type, module_0), this.c1w_1);
1221
+ protoOf(JavaIrEmitter).yp = function (type, module_0) {
1222
+ return sanitizeNames(convertWithValidation(type, module_0), this.h1w_1);
1223
1223
  };
1224
- protoOf(JavaIrEmitter).ir = function (enum_0, module_0) {
1224
+ protoOf(JavaIrEmitter).nr = function (enum_0, module_0) {
1225
1225
  var tmp = convert_0(enum_0);
1226
1226
  var tmp_0 = JavaIrEmitter$emit$lambda(this);
1227
- return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaIrEmitter$emit$lambda_0), this.c1w_1);
1227
+ return sanitizeNames(injectEnumLabelField(tmp, tmp_0, JavaIrEmitter$emit$lambda_0), this.h1w_1);
1228
1228
  };
1229
- protoOf(JavaIrEmitter).yq = function (union) {
1230
- return sanitizeNames(convert_1(union), this.c1w_1);
1229
+ protoOf(JavaIrEmitter).dr = function (union) {
1230
+ return sanitizeNames(convert_1(union), this.h1w_1);
1231
1231
  };
1232
- protoOf(JavaIrEmitter).dr = function (refined) {
1233
- return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.c1w_1);
1232
+ protoOf(JavaIrEmitter).ir = function (refined) {
1233
+ return sanitizeNames(applyRefinedStructShape(convert_2(refined), refined), this.h1w_1);
1234
1234
  };
1235
- protoOf(JavaIrEmitter).jr = function (endpoint) {
1236
- var tmp = sanitizeNames(transformTypeDescriptors(injectHandleFunction(convert_3(endpoint), endpoint)), this.c1w_1);
1235
+ protoOf(JavaIrEmitter).or = function (endpoint) {
1236
+ var tmp = sanitizeNames(transformTypeDescriptors(injectHandleFunction(convert_3(endpoint), endpoint)), this.h1w_1);
1237
1237
  // Inline function 'kotlin.takeIf' call
1238
- var this_0 = buildModelImports(endpoint, this.d1v());
1238
+ var this_0 = buildModelImports(endpoint, this.i1v());
1239
1239
  var tmp_0;
1240
1240
  // Inline function 'kotlin.collections.isNotEmpty' call
1241
1241
  if (!this_0.r()) {
@@ -1246,25 +1246,25 @@ protoOf(JavaIrEmitter).jr = function (endpoint) {
1246
1246
  var tmp$ret$2 = tmp_0;
1247
1247
  return prependImports(tmp, tmp$ret$2);
1248
1248
  };
1249
- protoOf(JavaIrEmitter).xq = function (channel) {
1249
+ protoOf(JavaIrEmitter).cr = function (channel) {
1250
1250
  var tmp;
1251
- if (channel.mo_1.l1() === channel.no_1.l1()) {
1252
- tmp = this.d1v().mr_1 + '.model.';
1251
+ if (channel.qo_1.l1() === channel.ro_1.l1()) {
1252
+ tmp = this.i1v().rr_1 + '.model.';
1253
1253
  } else {
1254
1254
  tmp = '';
1255
1255
  }
1256
1256
  var fullyQualifiedPrefix = tmp;
1257
- return applyFunctionalInterface(sanitizeNames(convert_4(channel), this.c1w_1), fullyQualifiedPrefix);
1257
+ return applyFunctionalInterface(sanitizeNames(convert_4(channel), this.h1w_1), fullyQualifiedPrefix);
1258
1258
  };
1259
- protoOf(JavaIrEmitter).p1u = function (endpoint) {
1260
- var imports = buildModelImports(endpoint, this.d1v());
1261
- var endpointImport = import_0(this.d1v().mr_1 + '.endpoint', endpoint.ep_1.l1());
1262
- var endpointName = endpoint.ep_1.l1();
1263
- var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.c1w_1)), endpointName);
1264
- var subPackageName = plus_0(this.d1v(), 'client');
1265
- return new File(Companion_getInstance().f1h(subPackageName.or() + sanitizeSymbol_0(this, file.s1m_1.h1h())), plus_1(plus_1(plus_1(plus_1(listOf(new Package(subPackageName.mr_1)), this.b1w_1), imports), listOf(endpointImport)), file.t1m_1));
1259
+ protoOf(JavaIrEmitter).u1u = function (endpoint) {
1260
+ var imports = buildModelImports(endpoint, this.i1v());
1261
+ var endpointImport = import_0(this.i1v().rr_1 + '.endpoint', endpoint.ip_1.l1());
1262
+ var endpointName = endpoint.ip_1.l1();
1263
+ var file = wrapAsyncReturnInThenApply(transformTypeDescriptors(sanitizeNames(emitEndpointClient.call(this, endpoint), this.h1w_1)), endpointName);
1264
+ var subPackageName = plus_0(this.i1v(), 'client');
1265
+ return new File(Companion_getInstance().k1h(subPackageName.tr() + sanitizeSymbol_0(this, file.x1m_1.m1h())), plus_1(plus_1(plus_1(plus_1(listOf(new Package(subPackageName.rr_1)), this.g1w_1), imports), listOf(endpointImport)), file.y1m_1));
1266
1266
  };
1267
- protoOf(JavaIrEmitter).o1u = function (endpoints, logger) {
1267
+ protoOf(JavaIrEmitter).t1u = function (endpoints, logger) {
1268
1268
  // Inline function 'kotlin.collections.flatMap' call
1269
1269
  // Inline function 'kotlin.collections.flatMapTo' call
1270
1270
  var destination = ArrayList_init_$Create$();
@@ -1280,7 +1280,7 @@ protoOf(JavaIrEmitter).o1u = function (endpoints, logger) {
1280
1280
  var _iterator__ex2g4s_0 = destination.t();
1281
1281
  while (_iterator__ex2g4s_0.u()) {
1282
1282
  var e = _iterator__ex2g4s_0.v();
1283
- var key = e.ku_1;
1283
+ var key = e.pu_1;
1284
1284
  if (set.x(key)) {
1285
1285
  list_0.x(e);
1286
1286
  }
@@ -1307,7 +1307,7 @@ protoOf(JavaIrEmitter).o1u = function (endpoints, logger) {
1307
1307
  var _iterator__ex2g4s_2 = endpoints.t();
1308
1308
  while (_iterator__ex2g4s_2.u()) {
1309
1309
  var element_1 = _iterator__ex2g4s_2.v();
1310
- if (element_1.ep_1.l1() === element_0.ku_1) {
1310
+ if (element_1.ip_1.l1() === element_0.pu_1) {
1311
1311
  tmp$ret$5 = false;
1312
1312
  break $l$block_0;
1313
1313
  }
@@ -1324,7 +1324,7 @@ protoOf(JavaIrEmitter).o1u = function (endpoints, logger) {
1324
1324
  var _iterator__ex2g4s_3 = destination_0.t();
1325
1325
  while (_iterator__ex2g4s_3.u()) {
1326
1326
  var item = _iterator__ex2g4s_3.v();
1327
- var tmp$ret$10 = import_0(this.d1v().mr_1 + '.model', item.ku_1);
1327
+ var tmp$ret$10 = import_0(this.i1v().rr_1 + '.model', item.pu_1);
1328
1328
  destination_1.x(tmp$ret$10);
1329
1329
  }
1330
1330
  var imports = destination_1;
@@ -1334,7 +1334,7 @@ protoOf(JavaIrEmitter).o1u = function (endpoints, logger) {
1334
1334
  var _iterator__ex2g4s_4 = endpoints.t();
1335
1335
  while (_iterator__ex2g4s_4.u()) {
1336
1336
  var item_0 = _iterator__ex2g4s_4.v();
1337
- var tmp$ret$13 = import_0(this.d1v().mr_1 + '.endpoint', item_0.ep_1.l1());
1337
+ var tmp$ret$13 = import_0(this.i1v().rr_1 + '.endpoint', item_0.ip_1.l1());
1338
1338
  destination_2.x(tmp$ret$13);
1339
1339
  }
1340
1340
  var endpointImports = destination_2;
@@ -1344,19 +1344,19 @@ protoOf(JavaIrEmitter).o1u = function (endpoints, logger) {
1344
1344
  var _iterator__ex2g4s_5 = endpoints.t();
1345
1345
  while (_iterator__ex2g4s_5.u()) {
1346
1346
  var item_1 = _iterator__ex2g4s_5.v();
1347
- var tmp$ret$16 = import_0(this.d1v().mr_1 + '.client', item_1.ep_1.l1() + 'Client');
1347
+ var tmp$ret$16 = import_0(this.i1v().rr_1 + '.client', item_1.ip_1.l1() + 'Client');
1348
1348
  destination_3.x(tmp$ret$16);
1349
1349
  }
1350
1350
  var clientImports = destination_3;
1351
1351
  var allImports = plus_1(plus_1(imports, endpointImports), clientImports);
1352
- var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.c1w_1);
1353
- return new File(Companion_getInstance().f1h(this.d1v().or() + sanitizeSymbol_0(this, file.s1m_1.h1h())), plus_1(plus_1(plus_1(listOf(new Package(this.d1v().mr_1)), this.b1w_1), allImports), file.t1m_1));
1352
+ var file = sanitizeNames(emitClient.call(this, endpoints, logger), this.h1w_1);
1353
+ return new File(Companion_getInstance().k1h(this.i1v().tr() + sanitizeSymbol_0(this, file.x1m_1.m1h())), plus_1(plus_1(plus_1(listOf(new Package(this.i1v().rr_1)), this.g1w_1), allImports), file.y1m_1));
1354
1354
  };
1355
1355
  function transformTypeDescriptors(_this__u8e3s4) {
1356
1356
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1357
1357
  var scope = new TransformScope(_this__u8e3s4);
1358
- scope.g1u(transformTypeDescriptors$lambda);
1359
- var tmp = scope.x1t_1;
1358
+ scope.l1u(transformTypeDescriptors$lambda);
1359
+ var tmp = scope.c1u_1;
1360
1360
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
1361
1361
  }
1362
1362
  function applyRefinedStructShape(_this__u8e3s4, refined) {
@@ -1365,14 +1365,14 @@ function applyRefinedStructShape(_this__u8e3s4, refined) {
1365
1365
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1366
1366
  var tmp = scope;
1367
1367
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1368
- var this_0 = scope.x1t_1;
1368
+ var this_0 = scope.c1u_1;
1369
1369
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1370
1370
  // Inline function 'kotlin.apply' call
1371
1371
  var this_1 = new TransformerBuilder();
1372
- this_1.c1h(applyRefinedStructShape$lambda(refined));
1373
- var tmp$ret$2 = this_1.d1h();
1374
- tmp.x1t_1 = transform(this_0, tmp$ret$2);
1375
- var tmp_0 = scope.x1t_1;
1372
+ this_1.h1h(applyRefinedStructShape$lambda(refined));
1373
+ var tmp$ret$2 = this_1.i1h();
1374
+ tmp.c1u_1 = transform(this_0, tmp$ret$2);
1375
+ var tmp_0 = scope.c1u_1;
1376
1376
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1377
1377
  }
1378
1378
  function injectHandleFunction(_this__u8e3s4, endpoint) {
@@ -1382,14 +1382,14 @@ function injectHandleFunction(_this__u8e3s4, endpoint) {
1382
1382
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1383
1383
  var tmp = scope;
1384
1384
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1385
- var this_0 = scope.x1t_1;
1385
+ var this_0 = scope.c1u_1;
1386
1386
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1387
1387
  // Inline function 'kotlin.apply' call
1388
1388
  var this_1 = new TransformerBuilder();
1389
- this_1.c1h(injectHandleFunction$lambda(handlersStruct));
1390
- var tmp$ret$2 = this_1.d1h();
1391
- tmp.x1t_1 = transform(this_0, tmp$ret$2);
1392
- var tmp_0 = scope.x1t_1;
1389
+ this_1.h1h(injectHandleFunction$lambda(handlersStruct));
1390
+ var tmp$ret$2 = this_1.i1h();
1391
+ tmp.c1u_1 = transform(this_0, tmp$ret$2);
1392
+ var tmp_0 = scope.c1u_1;
1393
1393
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1394
1394
  }
1395
1395
  function buildModelImports(_this__u8e3s4, packageName) {
@@ -1400,7 +1400,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
1400
1400
  var _iterator__ex2g4s = tmp0.t();
1401
1401
  while (_iterator__ex2g4s.u()) {
1402
1402
  var element = _iterator__ex2g4s.v();
1403
- if (!(_this__u8e3s4.vq().l1() === element.ku_1)) {
1403
+ if (!(_this__u8e3s4.ar().l1() === element.pu_1)) {
1404
1404
  destination.x(element);
1405
1405
  }
1406
1406
  }
@@ -1410,7 +1410,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
1410
1410
  var _iterator__ex2g4s_0 = destination.t();
1411
1411
  while (_iterator__ex2g4s_0.u()) {
1412
1412
  var item = _iterator__ex2g4s_0.v();
1413
- var tmp$ret$3 = import_0(packageName.mr_1 + '.model', Companion_getInstance().f1h(item.ku_1).h1h());
1413
+ var tmp$ret$3 = import_0(packageName.rr_1 + '.model', Companion_getInstance().k1h(item.pu_1).m1h());
1414
1414
  destination_0.x(tmp$ret$3);
1415
1415
  }
1416
1416
  return destination_0;
@@ -1421,24 +1421,24 @@ function applyFunctionalInterface(_this__u8e3s4, fullyQualifiedPrefix) {
1421
1421
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1422
1422
  var tmp = scope;
1423
1423
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1424
- var this_0 = scope.x1t_1;
1424
+ var this_0 = scope.c1u_1;
1425
1425
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1426
1426
  // Inline function 'kotlin.apply' call
1427
1427
  var this_1 = new TransformerBuilder();
1428
- this_1.c1h(applyFunctionalInterface$lambda(fullyQualifiedPrefix));
1429
- var tmp$ret$2 = this_1.d1h();
1430
- tmp.x1t_1 = transform(this_0, tmp$ret$2);
1428
+ this_1.h1h(applyFunctionalInterface$lambda(fullyQualifiedPrefix));
1429
+ var tmp$ret$2 = this_1.i1h();
1430
+ tmp.c1u_1 = transform(this_0, tmp$ret$2);
1431
1431
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1432
1432
  var tmp_0 = scope;
1433
1433
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1434
- var this_2 = scope.x1t_1;
1434
+ var this_2 = scope.c1u_1;
1435
1435
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1436
1436
  // Inline function 'kotlin.apply' call
1437
1437
  var this_3 = new TransformerBuilder();
1438
- this_3.c1h(applyFunctionalInterface$lambda_0);
1439
- var tmp$ret$7 = this_3.d1h();
1440
- tmp_0.x1t_1 = transform(this_2, tmp$ret$7);
1441
- var tmp_1 = scope.x1t_1;
1438
+ this_3.h1h(applyFunctionalInterface$lambda_0);
1439
+ var tmp$ret$7 = this_3.i1h();
1440
+ tmp_0.c1u_1 = transform(this_2, tmp$ret$7);
1441
+ var tmp_1 = scope.c1u_1;
1442
1442
  return isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1443
1443
  }
1444
1444
  function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
@@ -1447,26 +1447,26 @@ function wrapAsyncReturnInThenApply(_this__u8e3s4, endpointName) {
1447
1447
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
1448
1448
  var tmp = scope;
1449
1449
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1450
- var this_0 = scope.x1t_1;
1450
+ var this_0 = scope.c1u_1;
1451
1451
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1452
1452
  // Inline function 'kotlin.apply' call
1453
1453
  var this_1 = new TransformerBuilder();
1454
- this_1.c1h(wrapAsyncReturnInThenApply$lambda(endpointName));
1455
- var tmp$ret$2 = this_1.d1h();
1456
- tmp.x1t_1 = transform(this_0, tmp$ret$2);
1457
- var tmp_0 = scope.x1t_1;
1454
+ this_1.h1h(wrapAsyncReturnInThenApply$lambda(endpointName));
1455
+ var tmp$ret$2 = this_1.i1h();
1456
+ tmp.c1u_1 = transform(this_0, tmp$ret$2);
1457
+ var tmp_0 = scope.c1u_1;
1458
1458
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
1459
1459
  }
1460
1460
  function findRoot(_this__u8e3s4) {
1461
1461
  var tmp;
1462
1462
  if (_this__u8e3s4 instanceof Nullable) {
1463
- tmp = findRoot(_this__u8e3s4.o1h_1);
1463
+ tmp = findRoot(_this__u8e3s4.t1h_1);
1464
1464
  } else {
1465
1465
  if (_this__u8e3s4 instanceof Array_0) {
1466
- tmp = findRoot(_this__u8e3s4.p1h_1);
1466
+ tmp = findRoot(_this__u8e3s4.u1h_1);
1467
1467
  } else {
1468
1468
  if (_this__u8e3s4 instanceof Dict_0) {
1469
- tmp = findRoot(_this__u8e3s4.k1m_1);
1469
+ tmp = findRoot(_this__u8e3s4.p1m_1);
1470
1470
  } else {
1471
1471
  tmp = _this__u8e3s4;
1472
1472
  }
@@ -1495,7 +1495,7 @@ function toJavaName(_this__u8e3s4) {
1495
1495
  var tmp;
1496
1496
  if (_this__u8e3s4 instanceof Integer_0) {
1497
1497
  var tmp_0;
1498
- switch (_this__u8e3s4.g1m_1.b3_1) {
1498
+ switch (_this__u8e3s4.l1m_1.b3_1) {
1499
1499
  case 0:
1500
1500
  tmp_0 = 'Integer';
1501
1501
  break;
@@ -1510,7 +1510,7 @@ function toJavaName(_this__u8e3s4) {
1510
1510
  } else {
1511
1511
  if (_this__u8e3s4 instanceof Number_1) {
1512
1512
  var tmp_1;
1513
- switch (_this__u8e3s4.h1m_1.b3_1) {
1513
+ switch (_this__u8e3s4.m1m_1.b3_1) {
1514
1514
  case 0:
1515
1515
  tmp_1 = 'Float';
1516
1516
  break;
@@ -1539,7 +1539,7 @@ function toJavaName(_this__u8e3s4) {
1539
1539
  tmp = 'Void';
1540
1540
  } else {
1541
1541
  if (_this__u8e3s4 instanceof Custom_0) {
1542
- tmp = _this__u8e3s4.q1h_1.h1h();
1542
+ tmp = _this__u8e3s4.v1h_1.m1h();
1543
1543
  } else {
1544
1544
  tmp = 'Object';
1545
1545
  }
@@ -1553,7 +1553,7 @@ function toJavaName(_this__u8e3s4) {
1553
1553
  return tmp;
1554
1554
  }
1555
1555
  function buildHandlersStruct(_this__u8e3s4) {
1556
- var pathTemplate = '/' + joinToString(_this__u8e3s4.gp_1, '/', VOID, VOID, VOID, VOID, buildHandlersStruct$lambda);
1556
+ var pathTemplate = '/' + joinToString(_this__u8e3s4.kp_1, '/', VOID, VOID, VOID, VOID, buildHandlersStruct$lambda);
1557
1557
  return struct('Handlers', buildHandlersStruct$lambda_0(pathTemplate, _this__u8e3s4));
1558
1558
  }
1559
1559
  function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
@@ -1563,8 +1563,8 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
1563
1563
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1564
1564
  var scope = new TransformScope(_this__u8e3s4);
1565
1565
  var tmp_0 = withFullyQualifiedPrefix$lambda;
1566
- scope.a1u(tmp_0, withFullyQualifiedPrefix$lambda_0(prefix));
1567
- var tmp_1 = scope.x1t_1;
1566
+ scope.f1u(tmp_0, withFullyQualifiedPrefix$lambda_0(prefix));
1567
+ var tmp_1 = scope.c1u_1;
1568
1568
  tmp = isInterface(tmp_1, Element) ? tmp_1 : THROW_CCE();
1569
1569
  } else {
1570
1570
  tmp = _this__u8e3s4;
@@ -1574,8 +1574,8 @@ function withFullyQualifiedPrefix(_this__u8e3s4, prefix) {
1574
1574
  function transformTypeDescriptors$lambda(stmt, tr) {
1575
1575
  var tmp;
1576
1576
  if (stmt instanceof TypeDescriptor) {
1577
- var rootType = findRoot(stmt.h1o_1);
1578
- var containerStr = rawContainerClass(stmt.h1o_1);
1577
+ var rootType = findRoot(stmt.m1o_1);
1578
+ var containerStr = rawContainerClass(stmt.m1o_1);
1579
1579
  var rootStr = toJavaName(rootType) + '.class';
1580
1580
  var tmp_0;
1581
1581
  if (containerStr == null) {
@@ -1594,8 +1594,8 @@ function transformTypeDescriptors$lambda(stmt, tr) {
1594
1594
  }
1595
1595
  function applyRefinedStructShape$lambda$lambda($refined) {
1596
1596
  return function ($this$function) {
1597
- $this$function.k1i(convert_5($refined.cr_1));
1598
- $this$function.j1k(new VariableReference(Companion_getInstance().f1h('value')));
1597
+ $this$function.p1i(convert_5($refined.hr_1));
1598
+ $this$function.o1k(new VariableReference(Companion_getInstance().k1h('value')));
1599
1599
  return Unit_instance;
1600
1600
  };
1601
1601
  }
@@ -1605,18 +1605,18 @@ function applyRefinedStructShape$lambda($refined) {
1605
1605
  if (element instanceof Struct) {
1606
1606
  var tmp_0 = listOf(Custom_init_$Create$('Wirespec.Refined'));
1607
1607
  // Inline function 'kotlin.collections.map' call
1608
- var this_0 = element.h1n_1;
1608
+ var this_0 = element.m1n_1;
1609
1609
  // Inline function 'kotlin.collections.mapTo' call
1610
1610
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1611
1611
  var _iterator__ex2g4s = this_0.t();
1612
1612
  while (_iterator__ex2g4s.u()) {
1613
1613
  var item = _iterator__ex2g4s.v();
1614
1614
  var tmp0_safe_receiver = item instanceof Function ? item : null;
1615
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b1k(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true);
1615
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g1k(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true);
1616
1616
  var tmp$ret$0 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
1617
1617
  destination.x(tmp$ret$0);
1618
1618
  }
1619
- var tmp_1 = element.j1n(VOID, VOID, VOID, tmp_0, destination);
1619
+ var tmp_1 = element.o1n(VOID, VOID, VOID, tmp_0, destination);
1620
1620
  tmp = plus_3(tmp_1, function_0('value', VOID, true, applyRefinedStructShape$lambda$lambda($refined)));
1621
1621
  } else {
1622
1622
  tmp = element;
@@ -1633,7 +1633,7 @@ function injectHandleFunction$lambda$lambda($handlersStruct) {
1633
1633
  var tmp_0;
1634
1634
  // Inline function 'kotlin.collections.isNotEmpty' call
1635
1635
  if (!injected.r()) {
1636
- tmp_0 = withElements(element, plus_1(element.u1m(), injected));
1636
+ tmp_0 = withElements(element, plus_1(element.z1m(), injected));
1637
1637
  } else {
1638
1638
  tmp_0 = element;
1639
1639
  }
@@ -1650,21 +1650,21 @@ function injectHandleFunction$lambda($handlersStruct) {
1650
1650
  var tmp;
1651
1651
  if (element instanceof Interface) {
1652
1652
  var tmp_0;
1653
- if (element.k1n_1.equals(Companion_getInstance().f1h('Handler'))) {
1653
+ if (element.p1n_1.equals(Companion_getInstance().k1h('Handler'))) {
1654
1654
  // Inline function 'community.flock.wirespec.ir.core.transform' call
1655
1655
  var scope = new TransformScope(element);
1656
1656
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
1657
1657
  var tmp_1 = scope;
1658
1658
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
1659
1659
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
1660
- var this_0 = scope.x1t_1;
1660
+ var this_0 = scope.c1u_1;
1661
1661
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
1662
1662
  // Inline function 'kotlin.apply' call
1663
1663
  var this_1 = new TransformerBuilder();
1664
- this_1.c1h(injectHandleFunction$lambda$lambda($handlersStruct));
1665
- var tmp$ret$2 = this_1.d1h();
1666
- tmp_1.x1t_1 = transform(this_0, tmp$ret$2);
1667
- var tmp_2 = scope.x1t_1;
1664
+ this_1.h1h(injectHandleFunction$lambda$lambda($handlersStruct));
1665
+ var tmp$ret$2 = this_1.i1h();
1666
+ tmp_1.c1u_1 = transform(this_0, tmp$ret$2);
1667
+ var tmp_2 = scope.c1u_1;
1668
1668
  tmp_0 = isInterface(tmp_2, Element) ? tmp_2 : THROW_CCE();
1669
1669
  } else {
1670
1670
  tmp_0 = element;
@@ -1694,7 +1694,7 @@ function applyFunctionalInterface$lambda_0(element, transformer) {
1694
1694
  if (element instanceof File) {
1695
1695
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
1696
1696
  // Inline function 'kotlin.collections.filterIsInstance' call
1697
- var tmp0 = element.u1m();
1697
+ var tmp0 = element.z1m();
1698
1698
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1699
1699
  var destination = ArrayList_init_$Create$();
1700
1700
  var _iterator__ex2g4s = tmp0.t();
@@ -1706,7 +1706,7 @@ function applyFunctionalInterface$lambda_0(element, transformer) {
1706
1706
  }
1707
1707
  var tmp$ret$2 = firstOrNull_0(destination);
1708
1708
  var interfaceElement = ensureNotNull(tmp$ret$2);
1709
- tmp = element.w1m(VOID, listOf_0([new RawElement('@FunctionalInterface\n'), interfaceElement]));
1709
+ tmp = element.b1n(VOID, listOf_0([new RawElement('@FunctionalInterface\n'), interfaceElement]));
1710
1710
  } else {
1711
1711
  tmp = element;
1712
1712
  }
@@ -1719,11 +1719,11 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1719
1719
  if (element instanceof Function) {
1720
1720
  var tmp$ret$0;
1721
1721
  $l$block_1: {
1722
- if (!element.y1j_1 || element.x1j_1.a1() < 2) {
1722
+ if (!element.d1k_1 || element.c1k_1.a1() < 2) {
1723
1723
  tmp$ret$0 = element;
1724
1724
  break $l$block_1;
1725
1725
  }
1726
- var tmp_0 = element.x1j_1.f1(element.x1j_1.a1() - 2 | 0);
1726
+ var tmp_0 = element.c1k_1.b1(element.c1k_1.a1() - 2 | 0);
1727
1727
  var tmp0_elvis_lhs = tmp_0 instanceof Assignment ? tmp_0 : null;
1728
1728
  var tmp_1;
1729
1729
  if (tmp0_elvis_lhs == null) {
@@ -1733,16 +1733,16 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1733
1733
  tmp_1 = tmp0_elvis_lhs;
1734
1734
  }
1735
1735
  var transportAssign = tmp_1;
1736
- var tmp_2 = last(element.x1j_1);
1736
+ var tmp_2 = last(element.c1k_1);
1737
1737
  if (!(tmp_2 instanceof ReturnStatement)) {
1738
1738
  tmp$ret$0 = element;
1739
1739
  break $l$block_1;
1740
1740
  }
1741
- var tmp_3 = dropLast(element.x1j_1, 2);
1742
- var tmp1_name = Companion_getInstance().f1h('thenApply');
1743
- var tmp2_receiver = transportAssign.k1o_1;
1744
- var tmp3_arguments = mapOf(to(Companion_getInstance().f1h('mapper'), new RawExpression('rawResponse -> ' + $endpointName + '.fromRawResponse(serialization(), rawResponse)')));
1745
- tmp$ret$0 = element.b1k(VOID, VOID, VOID, VOID, plus_2(tmp_3, new ReturnStatement(new FunctionCall(tmp2_receiver, VOID, tmp1_name, tmp3_arguments))));
1741
+ var tmp_3 = dropLast(element.c1k_1, 2);
1742
+ var tmp1_name = Companion_getInstance().k1h('thenApply');
1743
+ var tmp2_receiver = transportAssign.p1o_1;
1744
+ var tmp3_arguments = mapOf(to(Companion_getInstance().k1h('mapper'), new RawExpression('rawResponse -> ' + $endpointName + '.fromRawResponse(serialization(), rawResponse)')));
1745
+ tmp$ret$0 = element.g1k(VOID, VOID, VOID, VOID, plus_2(tmp_3, new ReturnStatement(new FunctionCall(tmp2_receiver, VOID, tmp1_name, tmp3_arguments))));
1746
1746
  }
1747
1747
  tmp = tmp$ret$0;
1748
1748
  } else {
@@ -1755,10 +1755,10 @@ function wrapAsyncReturnInThenApply$lambda($endpointName) {
1755
1755
  function buildHandlersStruct$lambda(it) {
1756
1756
  var tmp;
1757
1757
  if (it instanceof Literal) {
1758
- tmp = it.hq_1;
1758
+ tmp = it.lq_1;
1759
1759
  } else {
1760
1760
  if (it instanceof Param) {
1761
- tmp = '{' + it.lp_1.l1() + '}';
1761
+ tmp = '{' + it.pp_1.l1() + '}';
1762
1762
  } else {
1763
1763
  noWhenBranchMatchedException();
1764
1764
  }
@@ -1767,50 +1767,50 @@ function buildHandlersStruct$lambda(it) {
1767
1767
  }
1768
1768
  function buildHandlersStruct$lambda$lambda($pathTemplate) {
1769
1769
  return function ($this$function) {
1770
- $this$function.k1i(String_instance);
1771
- $this$function.j1k($this$function.a1t($pathTemplate));
1770
+ $this$function.p1i(String_instance);
1771
+ $this$function.o1k($this$function.f1t($pathTemplate));
1772
1772
  return Unit_instance;
1773
1773
  };
1774
1774
  }
1775
1775
  function buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct) {
1776
1776
  return function ($this$function) {
1777
- $this$function.k1i(String_instance);
1778
- $this$function.j1k($this$function.a1t($this_buildHandlersStruct.fp_1.a3_1));
1777
+ $this$function.p1i(String_instance);
1778
+ $this$function.o1k($this$function.f1t($this_buildHandlersStruct.jp_1.a3_1));
1779
1779
  return Unit_instance;
1780
1780
  };
1781
1781
  }
1782
1782
  function buildHandlersStruct$lambda$lambda_1($this$function) {
1783
- $this$function.k1i($this$function.t1h('Wirespec.ServerEdge', [$this$function.t1h('Request', []), $this$function.t1h('Response', [Wildcard_instance])]));
1784
- $this$function.l1i('serialization', $this$function.t1h('Wirespec.Serialization', []));
1785
- $this$function.j1k(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}'));
1783
+ $this$function.p1i($this$function.y1h('Wirespec.ServerEdge', [$this$function.y1h('Request', []), $this$function.y1h('Response', [Wildcard_instance])]));
1784
+ $this$function.q1i('serialization', $this$function.y1h('Wirespec.Serialization', []));
1785
+ $this$function.o1k(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}'));
1786
1786
  return Unit_instance;
1787
1787
  }
1788
1788
  function buildHandlersStruct$lambda$lambda_2($this$function) {
1789
- $this$function.k1i($this$function.t1h('Wirespec.ClientEdge', [$this$function.t1h('Request', []), $this$function.t1h('Response', [Wildcard_instance])]));
1790
- $this$function.l1i('serialization', $this$function.t1h('Wirespec.Serialization', []));
1791
- $this$function.j1k(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}'));
1789
+ $this$function.p1i($this$function.y1h('Wirespec.ClientEdge', [$this$function.y1h('Request', []), $this$function.y1h('Response', [Wildcard_instance])]));
1790
+ $this$function.q1i('serialization', $this$function.y1h('Wirespec.Serialization', []));
1791
+ $this$function.o1k(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}'));
1792
1792
  return Unit_instance;
1793
1793
  }
1794
1794
  function buildHandlersStruct$lambda_0($pathTemplate, $this_buildHandlersStruct) {
1795
1795
  return function ($this$struct) {
1796
- $this$struct.k1k($this$struct.t1h('Wirespec.Server', [$this$struct.t1h('Request', []), $this$struct.t1h('Response', [Wildcard_instance])]));
1797
- $this$struct.k1k($this$struct.t1h('Wirespec.Client', [$this$struct.t1h('Request', []), $this$struct.t1h('Response', [Wildcard_instance])]));
1798
- $this$struct.b1i('getPathTemplate', VOID, true, buildHandlersStruct$lambda$lambda($pathTemplate));
1799
- $this$struct.b1i('getMethod', VOID, true, buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct));
1800
- $this$struct.b1i('getServer', VOID, true, buildHandlersStruct$lambda$lambda_1);
1801
- $this$struct.b1i('getClient', VOID, true, buildHandlersStruct$lambda$lambda_2);
1796
+ $this$struct.p1k($this$struct.y1h('Wirespec.Server', [$this$struct.y1h('Request', []), $this$struct.y1h('Response', [Wildcard_instance])]));
1797
+ $this$struct.p1k($this$struct.y1h('Wirespec.Client', [$this$struct.y1h('Request', []), $this$struct.y1h('Response', [Wildcard_instance])]));
1798
+ $this$struct.g1i('getPathTemplate', VOID, true, buildHandlersStruct$lambda$lambda($pathTemplate));
1799
+ $this$struct.g1i('getMethod', VOID, true, buildHandlersStruct$lambda$lambda_0($this_buildHandlersStruct));
1800
+ $this$struct.g1i('getServer', VOID, true, buildHandlersStruct$lambda$lambda_1);
1801
+ $this$struct.g1i('getClient', VOID, true, buildHandlersStruct$lambda$lambda_2);
1802
1802
  return Unit_instance;
1803
1803
  };
1804
1804
  }
1805
1805
  function withFullyQualifiedPrefix$lambda(it) {
1806
- return it.u1o_1.equals(Companion_getInstance().f1h('message'));
1806
+ return it.z1o_1.equals(Companion_getInstance().k1h('message'));
1807
1807
  }
1808
1808
  function withFullyQualifiedPrefix$lambda_0($prefix) {
1809
1809
  return function (param) {
1810
- var t = param.v1o_1;
1810
+ var t = param.a1p_1;
1811
1811
  var tmp;
1812
1812
  if (t instanceof Custom_0) {
1813
- tmp = param.x1o(VOID, t.n1m(Companion_getInstance().f1h($prefix + t.q1h_1.h1h())));
1813
+ tmp = param.c1p(VOID, t.s1m(Companion_getInstance().k1h($prefix + t.v1h_1.m1h())));
1814
1814
  } else {
1815
1815
  tmp = param;
1816
1816
  }
@@ -1821,8 +1821,8 @@ function JavaRefinedTypeDefinitionEmitter() {
1821
1821
  }
1822
1822
  function JavaShared() {
1823
1823
  JavaShared_instance = this;
1824
- this.n1v_1 = 'community.flock.wirespec.java';
1825
- this.o1v_1 = trimMargin('\n |package ' + this.n1v_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.qr(2) + 'Req from(RawRequest request);\n |' + Spacer_instance.qr(2) + 'RawResponse to(Res response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface ClientEdge<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.qr(2) + 'RawRequest to(Req request);\n |' + Spacer_instance.qr(2) + 'Res from(RawResponse response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface Client<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.qr(2) + 'String getPathTemplate();\n |' + Spacer_instance.qr(2) + 'String getMethod();\n |' + Spacer_instance.qr(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.qr(2) + 'String getPathTemplate();\n |' + Spacer_instance.qr(2) + 'String getMethod();\n |' + Spacer_instance.qr(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.qr(2) + 'if(rawType != null) {\n |' + Spacer_instance.qr(3) + 'return new ParameterizedType() {\n |' + Spacer_instance.qr(4) + 'public Type getRawType() { return rawType; }\n |' + Spacer_instance.qr(4) + 'public Type[] getActualTypeArguments() { return new Class<?>[]{actualTypeArguments}; }\n |' + Spacer_instance.qr(4) + 'public Type getOwnerType() { return null; }\n |' + Spacer_instance.qr(3) + '};\n |' + Spacer_instance.qr(2) + '}\n |' + Spacer_instance.qr(2) + 'else { return actualTypeArguments; }\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1824
+ this.s1v_1 = 'community.flock.wirespec.java';
1825
+ this.t1v_1 = trimMargin('\n |package ' + this.s1v_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.vr(2) + 'Req from(RawRequest request);\n |' + Spacer_instance.vr(2) + 'RawResponse to(Res response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface ClientEdge<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.vr(2) + 'RawRequest to(Req request);\n |' + Spacer_instance.vr(2) + 'Res from(RawResponse response);\n |' + Spacer_instance.toString() + '}\n |' + Spacer_instance.toString() + 'interface Client<Req extends Request<?>, Res extends Response<?>> {\n |' + Spacer_instance.vr(2) + 'String getPathTemplate();\n |' + Spacer_instance.vr(2) + 'String getMethod();\n |' + Spacer_instance.vr(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.vr(2) + 'String getPathTemplate();\n |' + Spacer_instance.vr(2) + 'String getMethod();\n |' + Spacer_instance.vr(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.vr(2) + 'if(rawType != null) {\n |' + Spacer_instance.vr(3) + 'return new ParameterizedType() {\n |' + Spacer_instance.vr(4) + 'public Type getRawType() { return rawType; }\n |' + Spacer_instance.vr(4) + 'public Type[] getActualTypeArguments() { return new Class<?>[]{actualTypeArguments}; }\n |' + Spacer_instance.vr(4) + 'public Type getOwnerType() { return null; }\n |' + Spacer_instance.vr(3) + '};\n |' + Spacer_instance.vr(2) + '}\n |' + Spacer_instance.vr(2) + 'else { return actualTypeArguments; }\n |' + Spacer_instance.toString() + '}\n |}\n |\n ');
1826
1826
  }
1827
1827
  protoOf(JavaShared).toString = function () {
1828
1828
  return 'JavaShared';
@@ -1846,10 +1846,10 @@ function JavaShared_getInstance() {
1846
1846
  function emitType($this, _this__u8e3s4) {
1847
1847
  var tmp;
1848
1848
  if (_this__u8e3s4 instanceof Dict) {
1849
- tmp = 'java.util.Map<String, ' + $this.xp(_this__u8e3s4.co_1) + '>';
1849
+ tmp = 'java.util.Map<String, ' + $this.bq(_this__u8e3s4.go_1) + '>';
1850
1850
  } else {
1851
1851
  if (_this__u8e3s4 instanceof Iterable) {
1852
- tmp = 'java.util.List<' + $this.xp(_this__u8e3s4.zn_1) + '>';
1852
+ tmp = 'java.util.List<' + $this.bq(_this__u8e3s4.do_1) + '>';
1853
1853
  } else {
1854
1854
  if (_this__u8e3s4 instanceof Unit) {
1855
1855
  tmp = 'void';
@@ -1858,7 +1858,7 @@ function emitType($this, _this__u8e3s4) {
1858
1858
  tmp = 'Object';
1859
1859
  } else {
1860
1860
  if (_this__u8e3s4 instanceof Custom) {
1861
- tmp = _this__u8e3s4.ku_1;
1861
+ tmp = _this__u8e3s4.pu_1;
1862
1862
  } else {
1863
1863
  if (_this__u8e3s4 instanceof Primitive) {
1864
1864
  tmp = emit_18($this, _this__u8e3s4);
@@ -1873,14 +1873,14 @@ function emitType($this, _this__u8e3s4) {
1873
1873
  return tmp;
1874
1874
  }
1875
1875
  function emit_18($this, _this__u8e3s4) {
1876
- var t = _this__u8e3s4.ou_1;
1876
+ var t = _this__u8e3s4.tu_1;
1877
1877
  var tmp;
1878
1878
  if (t instanceof String_0) {
1879
1879
  tmp = 'String';
1880
1880
  } else {
1881
1881
  if (t instanceof Integer) {
1882
1882
  var tmp_0;
1883
- switch (t.st_1.b3_1) {
1883
+ switch (t.xt_1.b3_1) {
1884
1884
  case 0:
1885
1885
  tmp_0 = 'Integer';
1886
1886
  break;
@@ -1895,7 +1895,7 @@ function emit_18($this, _this__u8e3s4) {
1895
1895
  } else {
1896
1896
  if (t instanceof Number_0) {
1897
1897
  var tmp_1;
1898
- switch (t.vt_1.b3_1) {
1898
+ switch (t.au_1.b3_1) {
1899
1899
  case 0:
1900
1900
  tmp_1 = 'Float';
1901
1901
  break;
@@ -1924,12 +1924,12 @@ function emit_18($this, _this__u8e3s4) {
1924
1924
  }
1925
1925
  function JavaTypeDefinitionEmitter$emit$lambda(this$0) {
1926
1926
  return function (it) {
1927
- return this$0.xp(it);
1927
+ return this$0.bq(it);
1928
1928
  };
1929
1929
  }
1930
1930
  function JavaTypeDefinitionEmitter$emit$lambda_0(this$0) {
1931
1931
  return function (it) {
1932
- return Spacer_instance.toString() + this$0.wp(it) + ',';
1932
+ return Spacer_instance.toString() + this$0.aq(it) + ',';
1933
1933
  };
1934
1934
  }
1935
1935
  function JavaTypeDefinitionEmitter() {
@@ -1940,28 +1940,28 @@ function JavaUnionDefinitionEmitter$emit$lambda(it) {
1940
1940
  function JavaUnionDefinitionEmitter() {
1941
1941
  }
1942
1942
  //region block: post-declaration
1943
- protoOf(JavaEmitter).wq = emit_9;
1944
- protoOf(JavaEmitter).up = emit_3;
1945
- protoOf(JavaEmitter).vp = emit_4;
1946
- protoOf(JavaEmitter).wp = emit_5;
1947
- protoOf(JavaEmitter).xp = emit_6;
1948
- protoOf(JavaEmitter).yp = emit_7;
1949
- protoOf(JavaEmitter).jr = emit_11;
1950
- protoOf(JavaEmitter).q1v = emit_12;
1951
- protoOf(JavaEmitter).r1v = emit_13;
1952
- protoOf(JavaEmitter).xq = emit_8;
1943
+ protoOf(JavaEmitter).br = emit_12;
1944
+ protoOf(JavaEmitter).yp = emit_3;
1945
+ protoOf(JavaEmitter).zp = emit_4;
1946
+ protoOf(JavaEmitter).aq = emit_5;
1947
+ protoOf(JavaEmitter).bq = emit_6;
1948
+ protoOf(JavaEmitter).cq = emit_7;
1949
+ protoOf(JavaEmitter).or = emit_9;
1950
+ protoOf(JavaEmitter).v1v = emit_10;
1951
+ protoOf(JavaEmitter).w1v = emit_11;
1952
+ protoOf(JavaEmitter).cr = emit_8;
1953
+ protoOf(JavaEmitter).nr = emit_13;
1954
+ protoOf(JavaEmitter).dr = emit_14;
1953
1955
  protoOf(JavaEmitter).ir = emit_15;
1954
- protoOf(JavaEmitter).yq = emit_14;
1955
- protoOf(JavaEmitter).dr = emit_10;
1956
- protoOf(JavaEmitter).p1v = sanitizeSymbol;
1957
- protoOf(JavaEmitter).s1v = sanitizeFirstIsDigit;
1958
- protoOf(JavaEmitter).t1v = sanitizeKeywords;
1959
- protoOf(JavaEmitter).f1v = emitRoot;
1960
- protoOf(JavaEmitter).e1v = emitRoot$default;
1961
- protoOf(JavaEmitter).u1v = emitHandleFunction;
1962
- protoOf(JavaEmitter).kr = emitValidator;
1963
- protoOf(JavaIrEmitter).on = emit_1;
1964
- protoOf(JavaIrEmitter).m1u = emit_2;
1956
+ protoOf(JavaEmitter).u1v = sanitizeSymbol;
1957
+ protoOf(JavaEmitter).x1v = sanitizeFirstIsDigit;
1958
+ protoOf(JavaEmitter).y1v = sanitizeKeywords;
1959
+ protoOf(JavaEmitter).k1v = emitRoot;
1960
+ protoOf(JavaEmitter).j1v = emitRoot$default;
1961
+ protoOf(JavaEmitter).z1v = emitHandleFunction;
1962
+ protoOf(JavaEmitter).pr = emitValidator;
1963
+ protoOf(JavaIrEmitter).sn = emit_1;
1964
+ protoOf(JavaIrEmitter).r1u = emit_2;
1965
1965
  //endregion
1966
1966
  //region block: exports
1967
1967
  export {