diff --git a/pkgs/ok_http/CHANGELOG.md b/pkgs/ok_http/CHANGELOG.md index f3d011414f..b608fc14ff 100644 --- a/pkgs/ok_http/CHANGELOG.md +++ b/pkgs/ok_http/CHANGELOG.md @@ -2,8 +2,8 @@ - `OkHttpClient` now receives an `OkHttpClientConfiguration` to configure the client on a per-call basis. - `OkHttpClient` supports setting four types of timeouts: [`connectTimeout`](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/-builder/connect-timeout.html), [`readTimeout`](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/-builder/read-timeout.html), [`writeTimeout`](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/-builder/write-timeout.html), and [`callTimeout`](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/-builder/call-timeout.html), using the `OkHttpClientConfiguration`. -- Upgrade to `jni` 0.14.0 -- Upgrade to `jnigen` 0.14.0 +- Upgrade to `jni` 0.15.0 +- Upgrade to `jnigen` 0.15.0 - `OKHttpClient` supports client certificates. - Support `package:web_socket` 1.0.0. - Set `minSdk=24`. diff --git a/pkgs/ok_http/android/src/main/kotlin/com/example/ok_http/FixedResponseX509ExtendedKeyManager.kt b/pkgs/ok_http/android/src/main/kotlin/com/example/ok_http/FixedResponseX509ExtendedKeyManager.kt index d510a55316..2dbc4128d4 100644 --- a/pkgs/ok_http/android/src/main/kotlin/com/example/ok_http/FixedResponseX509ExtendedKeyManager.kt +++ b/pkgs/ok_http/android/src/main/kotlin/com/example/ok_http/FixedResponseX509ExtendedKeyManager.kt @@ -21,25 +21,25 @@ class FixedResponseX509ExtendedKeyManager( private val alias: String, ) : X509ExtendedKeyManager() { - override fun getClientAliases(keyType: String, issuers: Array?) = arrayOf(alias) + override fun getClientAliases(keyType: String?, issuers: Array?) = arrayOf(alias) override fun chooseClientAlias( - keyType: Array, - issuers: Array?, + keyType: Array?, + issuers: Array?, socket: Socket?, ) = alias - override fun getServerAliases(keyType: String, issuers: Array?) = arrayOf(alias) + override fun getServerAliases(keyType: String?, issuers: Array?) = arrayOf(alias) override fun chooseServerAlias( - keyType: String, - issuers: Array?, + keyType: String?, + issuers: Array?, socket: Socket?, ) = alias - override fun getCertificateChain(alias: String) = certificateChain + override fun getCertificateChain(alias: String?) = certificateChain - override fun getPrivateKey(alias: String) = privateKey + override fun getPrivateKey(alias: String?) = privateKey override fun chooseEngineClientAlias( keyType: Array?, diff --git a/pkgs/ok_http/lib/src/jni/bindings.dart b/pkgs/ok_http/lib/src/jni/bindings.dart index 06df64657f..c44e27eda3 100644 --- a/pkgs/ok_http/lib/src/jni/bindings.dart +++ b/pkgs/ok_http/lib/src/jni/bindings.dart @@ -1,12 +1,13 @@ -// ignore_for_file: prefer_expression_function_bodies +// AUTO GENERATED BY JNIGEN 0.15.0. DO NOT EDIT! -// Autogenerated by jnigen. DO NOT EDIT! +// ignore_for_file: prefer_expression_function_bodies // ignore_for_file: annotate_overrides // ignore_for_file: argument_type_not_assignable // ignore_for_file: camel_case_extensions // ignore_for_file: camel_case_types // ignore_for_file: constant_identifier_names +// ignore_for_file: comment_references // ignore_for_file: doc_directive_unknown // ignore_for_file: file_names // ignore_for_file: inference_failure_on_untyped_parameter @@ -31,8 +32,8 @@ // ignore_for_file: unused_shown_name // ignore_for_file: use_super_parameters -import 'dart:core' show Object, String, bool, double, int; import 'dart:core' as core$_; +import 'dart:core' show Object, String, bool, double, int; import 'package:jni/_internal.dart' as jni$_; import 'package:jni/jni.dart' as jni$_; @@ -41,7 +42,7 @@ import 'package:jni/jni.dart' as jni$_; class Request$Builder extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Request$Builder.fromReference( @@ -52,8 +53,11 @@ class Request$Builder extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Request$Builder'); /// The type which includes information such as the signature of this class. - static const nullableType = $Request$Builder$NullableType(); - static const type = $Request$Builder$Type(); + static const jni$_.JType nullableType = + $Request$Builder$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Request$Builder$Type$(); static final _id_new$ = _class.constructorId( r'()V', ); @@ -120,7 +124,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder url(okhttp3.HttpUrl httpUrl)` + /// from: `public fun url(url: okhttp3.HttpUrl): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder url( jni$_.JObject httpUrl, @@ -128,7 +132,7 @@ class Request$Builder extends jni$_.JObject { final _$httpUrl = httpUrl.reference; return _url( reference.pointer, _id_url as jni$_.JMethodIDPtr, _$httpUrl.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_url$1 = _class.instanceMethodId( @@ -147,7 +151,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder url(java.lang.String string)` + /// from: `public fun url(url: kotlin.String): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder url$1( jni$_.JString string, @@ -155,7 +159,7 @@ class Request$Builder extends jni$_.JObject { final _$string = string.reference; return _url$1(reference.pointer, _id_url$1 as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_url$2 = _class.instanceMethodId( @@ -174,7 +178,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder url(java.net.URL uRL)` + /// from: `public fun url(url: java.net.URL): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder url$2( jni$_.JObject uRL, @@ -182,7 +186,7 @@ class Request$Builder extends jni$_.JObject { final _$uRL = uRL.reference; return _url$2( reference.pointer, _id_url$2 as jni$_.JMethodIDPtr, _$uRL.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_header = _class.instanceMethodId( @@ -207,7 +211,7 @@ class Request$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder header(java.lang.String string, java.lang.String string1)` + /// from: `public fun header(name: kotlin.String, value: kotlin.String): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder header( jni$_.JString string, @@ -217,7 +221,7 @@ class Request$Builder extends jni$_.JObject { final _$string1 = string1.reference; return _header(reference.pointer, _id_header as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_addHeader = _class.instanceMethodId( @@ -242,7 +246,7 @@ class Request$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder addHeader(java.lang.String string, java.lang.String string1)` + /// from: `public fun addHeader(name: kotlin.String, value: kotlin.String): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder addHeader( jni$_.JString string, @@ -252,7 +256,7 @@ class Request$Builder extends jni$_.JObject { final _$string1 = string1.reference; return _addHeader(reference.pointer, _id_addHeader as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_removeHeader = _class.instanceMethodId( @@ -271,7 +275,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder removeHeader(java.lang.String string)` + /// from: `public fun removeHeader(name: kotlin.String): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder removeHeader( jni$_.JString string, @@ -279,7 +283,7 @@ class Request$Builder extends jni$_.JObject { final _$string = string.reference; return _removeHeader(reference.pointer, _id_removeHeader as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_headers = _class.instanceMethodId( @@ -298,7 +302,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder headers(okhttp3.Headers headers)` + /// from: `public fun headers(headers: okhttp3.Headers): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder headers( Headers headers, @@ -306,7 +310,7 @@ class Request$Builder extends jni$_.JObject { final _$headers = headers.reference; return _headers(reference.pointer, _id_headers as jni$_.JMethodIDPtr, _$headers.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_cacheControl = _class.instanceMethodId( @@ -325,7 +329,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder cacheControl(okhttp3.CacheControl cacheControl)` + /// from: `public fun cacheControl(cacheControl: okhttp3.CacheControl): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder cacheControl( jni$_.JObject cacheControl, @@ -333,7 +337,7 @@ class Request$Builder extends jni$_.JObject { final _$cacheControl = cacheControl.reference; return _cacheControl(reference.pointer, _id_cacheControl as jni$_.JMethodIDPtr, _$cacheControl.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_get = _class.instanceMethodId( @@ -353,11 +357,11 @@ class Request$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public okhttp3.Request$Builder get()` + /// from: `public fun get(): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder get() { return _get(reference.pointer, _id_get as jni$_.JMethodIDPtr) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_head = _class.instanceMethodId( @@ -377,11 +381,11 @@ class Request$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public okhttp3.Request$Builder head()` + /// from: `public fun head(): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder head() { return _head(reference.pointer, _id_head as jni$_.JMethodIDPtr) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_post = _class.instanceMethodId( @@ -400,7 +404,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder post(okhttp3.RequestBody requestBody)` + /// from: `public fun post(body: okhttp3.RequestBody): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder post( RequestBody requestBody, @@ -408,7 +412,7 @@ class Request$Builder extends jni$_.JObject { final _$requestBody = requestBody.reference; return _post(reference.pointer, _id_post as jni$_.JMethodIDPtr, _$requestBody.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_delete = _class.instanceMethodId( @@ -427,7 +431,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder delete(okhttp3.RequestBody requestBody)` + /// from: `public fun delete(body: okhttp3.RequestBody?): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder delete( RequestBody? requestBody, @@ -435,7 +439,7 @@ class Request$Builder extends jni$_.JObject { final _$requestBody = requestBody?.reference ?? jni$_.jNullReference; return _delete(reference.pointer, _id_delete as jni$_.JMethodIDPtr, _$requestBody.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_put = _class.instanceMethodId( @@ -454,7 +458,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder put(okhttp3.RequestBody requestBody)` + /// from: `public fun put(body: okhttp3.RequestBody): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder put( RequestBody requestBody, @@ -462,7 +466,7 @@ class Request$Builder extends jni$_.JObject { final _$requestBody = requestBody.reference; return _put(reference.pointer, _id_put as jni$_.JMethodIDPtr, _$requestBody.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_patch = _class.instanceMethodId( @@ -481,7 +485,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder patch(okhttp3.RequestBody requestBody)` + /// from: `public fun patch(body: okhttp3.RequestBody): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder patch( RequestBody requestBody, @@ -489,7 +493,7 @@ class Request$Builder extends jni$_.JObject { final _$requestBody = requestBody.reference; return _patch(reference.pointer, _id_patch as jni$_.JMethodIDPtr, _$requestBody.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_method = _class.instanceMethodId( @@ -514,7 +518,7 @@ class Request$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder method(java.lang.String string, okhttp3.RequestBody requestBody)` + /// from: `public fun method(method: kotlin.String, body: okhttp3.RequestBody?): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder method( jni$_.JString string, @@ -524,7 +528,7 @@ class Request$Builder extends jni$_.JObject { final _$requestBody = requestBody?.reference ?? jni$_.jNullReference; return _method(reference.pointer, _id_method as jni$_.JMethodIDPtr, _$string.pointer, _$requestBody.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_tag = _class.instanceMethodId( @@ -543,7 +547,7 @@ class Request$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder tag(java.lang.Object object)` + /// from: `public fun tag(tag: kotlin.Any?): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder tag( jni$_.JObject? object, @@ -551,7 +555,7 @@ class Request$Builder extends jni$_.JObject { final _$object = object?.reference ?? jni$_.jNullReference; return _tag( reference.pointer, _id_tag as jni$_.JMethodIDPtr, _$object.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_tag$1 = _class.instanceMethodId( @@ -576,18 +580,18 @@ class Request$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public okhttp3.Request$Builder tag(java.lang.Class class, T object)` + /// from: `public fun tag(type: java.lang.Class, tag: T?): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder tag$1<$T extends jni$_.JObject?>( jni$_.JObject class$, $T? object, { - required jni$_.JObjType<$T> T, + required jni$_.JType<$T> T, }) { final _$class$ = class$.reference; final _$object = object?.reference ?? jni$_.jNullReference; return _tag$1(reference.pointer, _id_tag$1 as jni$_.JMethodIDPtr, _$class$.pointer, _$object.pointer) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_build = _class.instanceMethodId( @@ -607,11 +611,11 @@ class Request$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public okhttp3.Request build()` + /// from: `public fun build(): okhttp3.Request` /// The returned object must be released after use, by calling the [release] method. Request build() { return _build(reference.pointer, _id_build as jni$_.JMethodIDPtr) - .object(const $Request$Type()); + .object(const $Request$Type$()); } static final _id_delete$1 = _class.instanceMethodId( @@ -635,14 +639,14 @@ class Request$Builder extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. Request$Builder delete$1() { return _delete$1(reference.pointer, _id_delete$1 as jni$_.JMethodIDPtr) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } } -final class $Request$Builder$NullableType - extends jni$_.JObjType { +final class $Request$Builder$NullableType$ + extends jni$_.JType { @jni$_.internal - const $Request$Builder$NullableType(); + const $Request$Builder$NullableType$(); @jni$_.internal @core$_.override @@ -657,29 +661,29 @@ final class $Request$Builder$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Request$Builder$NullableType).hashCode; + int get hashCode => ($Request$Builder$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Request$Builder$NullableType) && - other is $Request$Builder$NullableType; + return other.runtimeType == ($Request$Builder$NullableType$) && + other is $Request$Builder$NullableType$; } } -final class $Request$Builder$Type extends jni$_.JObjType { +final class $Request$Builder$Type$ extends jni$_.JType { @jni$_.internal - const $Request$Builder$Type(); + const $Request$Builder$Type$(); @jni$_.internal @core$_.override @@ -693,24 +697,24 @@ final class $Request$Builder$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $Request$Builder$NullableType(); + jni$_.JType get nullableType => + const $Request$Builder$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Request$Builder$Type).hashCode; + int get hashCode => ($Request$Builder$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Request$Builder$Type) && - other is $Request$Builder$Type; + return other.runtimeType == ($Request$Builder$Type$) && + other is $Request$Builder$Type$; } } @@ -718,7 +722,7 @@ final class $Request$Builder$Type extends jni$_.JObjType { class Request extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Request.fromReference( @@ -729,8 +733,10 @@ class Request extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Request'); /// The type which includes information such as the signature of this class. - static const nullableType = $Request$NullableType(); - static const type = $Request$Type(); + static const jni$_.JType nullableType = $Request$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Request$Type$(); static final _id_new$ = _class.constructorId( r'(Lokhttp3/HttpUrl;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V', ); @@ -758,7 +764,7 @@ class Request extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void (okhttp3.HttpUrl httpUrl, java.lang.String string, okhttp3.Headers headers, okhttp3.RequestBody requestBody, java.util.Map map)` + /// from: `public void (okhttp3.HttpUrl httpUrl, java.lang.String string, okhttp3.Headers headers, okhttp3.RequestBody requestBody, java.util.Map, ? extends java.lang.Object> map)` /// The returned object must be released after use, by calling the [release] method. factory Request( jni$_.JObject httpUrl, @@ -804,7 +810,7 @@ class Request extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject url() { return _url(reference.pointer, _id_url as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_method = _class.instanceMethodId( @@ -828,7 +834,7 @@ class Request extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString method() { return _method(reference.pointer, _id_method as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_headers = _class.instanceMethodId( @@ -852,7 +858,7 @@ class Request extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. Headers headers() { return _headers(reference.pointer, _id_headers as jni$_.JMethodIDPtr) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); } static final _id_body = _class.instanceMethodId( @@ -876,7 +882,7 @@ class Request extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. RequestBody? body() { return _body(reference.pointer, _id_body as jni$_.JMethodIDPtr) - .object(const $RequestBody$NullableType()); + .object(const $RequestBody$NullableType$()); } static final _id_isHttps = _class.instanceMethodId( @@ -918,7 +924,7 @@ class Request extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.lang.String header(java.lang.String string)` + /// from: `public fun header(name: kotlin.String): kotlin.String?` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? header( jni$_.JString string, @@ -926,7 +932,7 @@ class Request extends jni$_.JObject { final _$string = string.reference; return _header(reference.pointer, _id_header as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_headers$1 = _class.instanceMethodId( @@ -945,7 +951,7 @@ class Request extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.util.List headers(java.lang.String string)` + /// from: `public fun headers(name: kotlin.String): kotlin.collections.List` /// The returned object must be released after use, by calling the [release] method. jni$_.JList headers$1( jni$_.JString string, @@ -954,7 +960,7 @@ class Request extends jni$_.JObject { return _headers$1(reference.pointer, _id_headers$1 as jni$_.JMethodIDPtr, _$string.pointer) .object>( - const jni$_.JListType(jni$_.JStringType())); + const jni$_.$JList$Type$(jni$_.$JString$Type$())); } static final _id_tag = _class.instanceMethodId( @@ -974,11 +980,11 @@ class Request extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.lang.Object tag()` + /// from: `public fun tag(): kotlin.Any?` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? tag() { return _tag(reference.pointer, _id_tag as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_tag$1 = _class.instanceMethodId( @@ -997,11 +1003,11 @@ class Request extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final T tag(java.lang.Class class)` + /// from: `public fun tag(type: java.lang.Class): T?` /// The returned object must be released after use, by calling the [release] method. $T? tag$1<$T extends jni$_.JObject?>( jni$_.JObject class$, { - required jni$_.JObjType<$T> T, + required jni$_.JType<$T> T, }) { final _$class$ = class$.reference; return _tag$1(reference.pointer, _id_tag$1 as jni$_.JMethodIDPtr, @@ -1026,11 +1032,11 @@ class Request extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okhttp3.Request$Builder newBuilder()` + /// from: `public fun newBuilder(): okhttp3.Request.Builder` /// The returned object must be released after use, by calling the [release] method. Request$Builder newBuilder() { return _newBuilder(reference.pointer, _id_newBuilder as jni$_.JMethodIDPtr) - .object(const $Request$Builder$Type()); + .object(const $Request$Builder$Type$()); } static final _id_cacheControl = _class.instanceMethodId( @@ -1055,7 +1061,7 @@ class Request extends jni$_.JObject { jni$_.JObject cacheControl() { return _cacheControl( reference.pointer, _id_cacheControl as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_toString$1 = _class.instanceMethodId( @@ -1075,17 +1081,17 @@ class Request extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String toString()` + /// from: `public fun toString(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString toString$1() { return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } } -final class $Request$NullableType extends jni$_.JObjType { +final class $Request$NullableType$ extends jni$_.JType { @jni$_.internal - const $Request$NullableType(); + const $Request$NullableType$(); @jni$_.internal @core$_.override @@ -1100,29 +1106,29 @@ final class $Request$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Request$NullableType).hashCode; + int get hashCode => ($Request$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Request$NullableType) && - other is $Request$NullableType; + return other.runtimeType == ($Request$NullableType$) && + other is $Request$NullableType$; } } -final class $Request$Type extends jni$_.JObjType { +final class $Request$Type$ extends jni$_.JType { @jni$_.internal - const $Request$Type(); + const $Request$Type$(); @jni$_.internal @core$_.override @@ -1135,22 +1141,22 @@ final class $Request$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $Request$NullableType(); + jni$_.JType get nullableType => const $Request$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Request$Type).hashCode; + int get hashCode => ($Request$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Request$Type) && other is $Request$Type; + return other.runtimeType == ($Request$Type$) && other is $Request$Type$; } } @@ -1158,7 +1164,7 @@ final class $Request$Type extends jni$_.JObjType { class RequestBody$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal RequestBody$Companion.fromReference( @@ -1169,8 +1175,12 @@ class RequestBody$Companion extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/RequestBody$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $RequestBody$Companion$NullableType(); - static const type = $RequestBody$Companion$Type(); + static const jni$_.JType nullableType = + $RequestBody$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $RequestBody$Companion$Type$(); static final _id_create = _class.instanceMethodId( r'create', r'(Ljava/lang/String;Lokhttp3/MediaType;)Lokhttp3/RequestBody;', @@ -1193,7 +1203,7 @@ class RequestBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.RequestBody create(java.lang.String string, okhttp3.MediaType mediaType)` + /// from: `public fun toRequestBody(contentType: okhttp3.MediaType?): okhttp3.RequestBody` /// The returned object must be released after use, by calling the [release] method. RequestBody create( jni$_.JString string, @@ -1203,7 +1213,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create(reference.pointer, _id_create as jni$_.JMethodIDPtr, _$string.pointer, _$mediaType.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$1 = _class.instanceMethodId( @@ -1228,7 +1238,7 @@ class RequestBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.RequestBody create(okio.ByteString byteString, okhttp3.MediaType mediaType)` + /// from: `public fun toRequestBody(contentType: okhttp3.MediaType?): okhttp3.RequestBody` /// The returned object must be released after use, by calling the [release] method. RequestBody create$1( ByteString byteString, @@ -1238,7 +1248,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create$1(reference.pointer, _id_create$1 as jni$_.JMethodIDPtr, _$byteString.pointer, _$mediaType.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$2 = _class.instanceMethodId( @@ -1267,7 +1277,7 @@ class RequestBody$Companion extends jni$_.JObject { int, int)>(); - /// from: `public final okhttp3.RequestBody create(byte[] bs, okhttp3.MediaType mediaType, int i, int i1)` + /// from: `public fun toRequestBody(contentType: okhttp3.MediaType?, offset: kotlin.Int, byteCount: kotlin.Int): okhttp3.RequestBody` /// The returned object must be released after use, by calling the [release] method. RequestBody create$2( jni$_.JByteArray bs, @@ -1279,7 +1289,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create$2(reference.pointer, _id_create$2 as jni$_.JMethodIDPtr, _$bs.pointer, _$mediaType.pointer, i, i1) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$3 = _class.instanceMethodId( @@ -1304,7 +1314,7 @@ class RequestBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.RequestBody create(java.io.File file, okhttp3.MediaType mediaType)` + /// from: `public fun asRequestBody(contentType: okhttp3.MediaType?): okhttp3.RequestBody` /// The returned object must be released after use, by calling the [release] method. RequestBody create$3( jni$_.JObject file, @@ -1314,7 +1324,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create$3(reference.pointer, _id_create$3 as jni$_.JMethodIDPtr, _$file.pointer, _$mediaType.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$4 = _class.instanceMethodId( @@ -1339,7 +1349,7 @@ class RequestBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.RequestBody create(okhttp3.MediaType mediaType, java.lang.String string)` + /// from: `public fun create(contentType: okhttp3.MediaType?, content: kotlin.String): okhttp3.RequestBody` /// The returned object must be released after use, by calling the [release] method. RequestBody create$4( jni$_.JObject? mediaType, @@ -1349,7 +1359,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$string = string.reference; return _create$4(reference.pointer, _id_create$4 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$string.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$5 = _class.instanceMethodId( @@ -1374,7 +1384,7 @@ class RequestBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.RequestBody create(okhttp3.MediaType mediaType, okio.ByteString byteString)` + /// from: `public fun create(contentType: okhttp3.MediaType?, content: okio.ByteString): okhttp3.RequestBody` /// The returned object must be released after use, by calling the [release] method. RequestBody create$5( jni$_.JObject? mediaType, @@ -1384,7 +1394,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$byteString = byteString.reference; return _create$5(reference.pointer, _id_create$5 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$byteString.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$6 = _class.instanceMethodId( @@ -1413,7 +1423,7 @@ class RequestBody$Companion extends jni$_.JObject { int, int)>(); - /// from: `public final okhttp3.RequestBody create(okhttp3.MediaType mediaType, byte[] bs, int i, int i1)` + /// from: `public fun create(contentType: okhttp3.MediaType?, content: kotlin.ByteArray, offset: kotlin.Int, byteCount: kotlin.Int): okhttp3.RequestBody` /// The returned object must be released after use, by calling the [release] method. RequestBody create$6( jni$_.JObject? mediaType, @@ -1425,7 +1435,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$bs = bs.reference; return _create$6(reference.pointer, _id_create$6 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$bs.pointer, i, i1) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$7 = _class.instanceMethodId( @@ -1450,7 +1460,7 @@ class RequestBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.RequestBody create(okhttp3.MediaType mediaType, java.io.File file)` + /// from: `public fun create(contentType: okhttp3.MediaType?, file: java.io.File): okhttp3.RequestBody` /// The returned object must be released after use, by calling the [release] method. RequestBody create$7( jni$_.JObject? mediaType, @@ -1460,7 +1470,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$file = file.reference; return _create$7(reference.pointer, _id_create$7 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$file.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$8 = _class.instanceMethodId( @@ -1498,7 +1508,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create$8(reference.pointer, _id_create$8 as jni$_.JMethodIDPtr, _$bs.pointer, _$mediaType.pointer, i) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$9 = _class.instanceMethodId( @@ -1533,7 +1543,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create$9(reference.pointer, _id_create$9 as jni$_.JMethodIDPtr, _$bs.pointer, _$mediaType.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$10 = _class.instanceMethodId( @@ -1560,7 +1570,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$bs = bs.reference; return _create$10(reference.pointer, _id_create$10 as jni$_.JMethodIDPtr, _$bs.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$11 = _class.instanceMethodId( @@ -1598,7 +1608,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$bs = bs.reference; return _create$11(reference.pointer, _id_create$11 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$bs.pointer, i) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$12 = _class.instanceMethodId( @@ -1633,7 +1643,7 @@ class RequestBody$Companion extends jni$_.JObject { final _$bs = bs.reference; return _create$12(reference.pointer, _id_create$12 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$bs.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_new$ = _class.constructorId( @@ -1664,10 +1674,10 @@ class RequestBody$Companion extends jni$_.JObject { } } -final class $RequestBody$Companion$NullableType - extends jni$_.JObjType { +final class $RequestBody$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $RequestBody$Companion$NullableType(); + const $RequestBody$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -1683,30 +1693,30 @@ final class $RequestBody$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RequestBody$Companion$NullableType).hashCode; + int get hashCode => ($RequestBody$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RequestBody$Companion$NullableType) && - other is $RequestBody$Companion$NullableType; + return other.runtimeType == ($RequestBody$Companion$NullableType$) && + other is $RequestBody$Companion$NullableType$; } } -final class $RequestBody$Companion$Type - extends jni$_.JObjType { +final class $RequestBody$Companion$Type$ + extends jni$_.JType { @jni$_.internal - const $RequestBody$Companion$Type(); + const $RequestBody$Companion$Type$(); @jni$_.internal @core$_.override @@ -1720,24 +1730,24 @@ final class $RequestBody$Companion$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $RequestBody$Companion$NullableType(); + jni$_.JType get nullableType => + const $RequestBody$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RequestBody$Companion$Type).hashCode; + int get hashCode => ($RequestBody$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RequestBody$Companion$Type) && - other is $RequestBody$Companion$Type; + return other.runtimeType == ($RequestBody$Companion$Type$) && + other is $RequestBody$Companion$Type$; } } @@ -1745,7 +1755,7 @@ final class $RequestBody$Companion$Type class RequestBody extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal RequestBody.fromReference( @@ -1756,8 +1766,11 @@ class RequestBody extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/RequestBody'); /// The type which includes information such as the signature of this class. - static const nullableType = $RequestBody$NullableType(); - static const type = $RequestBody$Type(); + static const jni$_.JType nullableType = + $RequestBody$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $RequestBody$Type$(); static final _id_Companion = _class.staticFieldId( r'Companion', r'Lokhttp3/RequestBody$Companion;', @@ -1766,7 +1779,7 @@ class RequestBody extends jni$_.JObject { /// from: `static public final okhttp3.RequestBody$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static RequestBody$Companion get Companion => - _id_Companion.get(_class, const $RequestBody$Companion$Type()); + _id_Companion.get(_class, const $RequestBody$Companion$Type$()); static final _id_contentType = _class.instanceMethodId( r'contentType', @@ -1785,12 +1798,12 @@ class RequestBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract okhttp3.MediaType contentType()` + /// from: `public fun contentType(): okhttp3.MediaType?` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? contentType() { return _contentType( reference.pointer, _id_contentType as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_contentLength = _class.instanceMethodId( @@ -1810,7 +1823,7 @@ class RequestBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public long contentLength()` + /// from: `public fun contentLength(): kotlin.Long` int contentLength() { return _contentLength( reference.pointer, _id_contentLength as jni$_.JMethodIDPtr) @@ -1833,7 +1846,7 @@ class RequestBody extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract void writeTo(okio.BufferedSink bufferedSink)` + /// from: `public fun writeTo(sink: okio.BufferedSink): kotlin.Unit` void writeTo( jni$_.JObject bufferedSink, ) { @@ -1860,7 +1873,7 @@ class RequestBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public boolean isDuplex()` + /// from: `public fun isDuplex(): kotlin.Boolean` bool isDuplex() { return _isDuplex(reference.pointer, _id_isDuplex as jni$_.JMethodIDPtr) .boolean; @@ -1883,7 +1896,7 @@ class RequestBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public boolean isOneShot()` + /// from: `public fun isOneShot(): kotlin.Boolean` bool isOneShot() { return _isOneShot(reference.pointer, _id_isOneShot as jni$_.JMethodIDPtr) .boolean; @@ -1921,7 +1934,7 @@ class RequestBody extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create(_class.reference.pointer, _id_create as jni$_.JMethodIDPtr, _$string.pointer, _$mediaType.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$1 = _class.staticMethodId( @@ -1959,7 +1972,7 @@ class RequestBody extends jni$_.JObject { _id_create$1 as jni$_.JMethodIDPtr, _$byteString.pointer, _$mediaType.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$2 = _class.staticMethodId( @@ -2005,7 +2018,7 @@ class RequestBody extends jni$_.JObject { _$mediaType.pointer, i, i1) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$3 = _class.staticMethodId( @@ -2043,7 +2056,7 @@ class RequestBody extends jni$_.JObject { _id_create$3 as jni$_.JMethodIDPtr, _$file.pointer, _$mediaType.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$4 = _class.staticMethodId( @@ -2081,7 +2094,7 @@ class RequestBody extends jni$_.JObject { _id_create$4 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$string.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$5 = _class.staticMethodId( @@ -2119,7 +2132,7 @@ class RequestBody extends jni$_.JObject { _id_create$5 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$byteString.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$6 = _class.staticMethodId( @@ -2165,7 +2178,7 @@ class RequestBody extends jni$_.JObject { _$bs.pointer, i, i1) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$7 = _class.staticMethodId( @@ -2203,7 +2216,7 @@ class RequestBody extends jni$_.JObject { _id_create$7 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$file.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$8 = _class.staticMethodId( @@ -2245,7 +2258,7 @@ class RequestBody extends jni$_.JObject { _$bs.pointer, _$mediaType.pointer, i) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$9 = _class.staticMethodId( @@ -2283,7 +2296,7 @@ class RequestBody extends jni$_.JObject { _id_create$9 as jni$_.JMethodIDPtr, _$bs.pointer, _$mediaType.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$10 = _class.staticMethodId( @@ -2310,7 +2323,7 @@ class RequestBody extends jni$_.JObject { final _$bs = bs.reference; return _create$10(_class.reference.pointer, _id_create$10 as jni$_.JMethodIDPtr, _$bs.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$11 = _class.staticMethodId( @@ -2352,7 +2365,7 @@ class RequestBody extends jni$_.JObject { _$mediaType.pointer, _$bs.pointer, i) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } static final _id_create$12 = _class.staticMethodId( @@ -2390,13 +2403,13 @@ class RequestBody extends jni$_.JObject { _id_create$12 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$bs.pointer) - .object(const $RequestBody$Type()); + .object(const $RequestBody$Type$()); } } -final class $RequestBody$NullableType extends jni$_.JObjType { +final class $RequestBody$NullableType$ extends jni$_.JType { @jni$_.internal - const $RequestBody$NullableType(); + const $RequestBody$NullableType$(); @jni$_.internal @core$_.override @@ -2411,29 +2424,29 @@ final class $RequestBody$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RequestBody$NullableType).hashCode; + int get hashCode => ($RequestBody$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RequestBody$NullableType) && - other is $RequestBody$NullableType; + return other.runtimeType == ($RequestBody$NullableType$) && + other is $RequestBody$NullableType$; } } -final class $RequestBody$Type extends jni$_.JObjType { +final class $RequestBody$Type$ extends jni$_.JType { @jni$_.internal - const $RequestBody$Type(); + const $RequestBody$Type$(); @jni$_.internal @core$_.override @@ -2447,24 +2460,24 @@ final class $RequestBody$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $RequestBody$NullableType(); + jni$_.JType get nullableType => + const $RequestBody$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RequestBody$Type).hashCode; + int get hashCode => ($RequestBody$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RequestBody$Type) && - other is $RequestBody$Type; + return other.runtimeType == ($RequestBody$Type$) && + other is $RequestBody$Type$; } } @@ -2472,7 +2485,7 @@ final class $RequestBody$Type extends jni$_.JObjType { class Response$Builder extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Response$Builder.fromReference( @@ -2483,8 +2496,11 @@ class Response$Builder extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Response$Builder'); /// The type which includes information such as the signature of this class. - static const nullableType = $Response$Builder$NullableType(); - static const type = $Response$Builder$Type(); + static const jni$_.JType nullableType = + $Response$Builder$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Response$Builder$Type$(); static final _id_new$ = _class.constructorId( r'()V', ); @@ -2551,7 +2567,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder request(okhttp3.Request request)` + /// from: `public fun request(request: okhttp3.Request): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder request( Request request, @@ -2559,7 +2575,7 @@ class Response$Builder extends jni$_.JObject { final _$request = request.reference; return _request(reference.pointer, _id_request as jni$_.JMethodIDPtr, _$request.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_protocol = _class.instanceMethodId( @@ -2578,7 +2594,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder protocol(okhttp3.Protocol protocol)` + /// from: `public fun protocol(protocol: okhttp3.Protocol): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder protocol( jni$_.JObject protocol, @@ -2586,7 +2602,7 @@ class Response$Builder extends jni$_.JObject { final _$protocol = protocol.reference; return _protocol(reference.pointer, _id_protocol as jni$_.JMethodIDPtr, _$protocol.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_code = _class.instanceMethodId( @@ -2604,13 +2620,13 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public okhttp3.Response$Builder code(int i)` + /// from: `public fun code(code: kotlin.Int): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder code( int i, ) { return _code(reference.pointer, _id_code as jni$_.JMethodIDPtr, i) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_message = _class.instanceMethodId( @@ -2629,7 +2645,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder message(java.lang.String string)` + /// from: `public fun message(message: kotlin.String): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder message( jni$_.JString string, @@ -2637,7 +2653,7 @@ class Response$Builder extends jni$_.JObject { final _$string = string.reference; return _message(reference.pointer, _id_message as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_handshake = _class.instanceMethodId( @@ -2656,7 +2672,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder handshake(okhttp3.Handshake handshake)` + /// from: `public fun handshake(handshake: okhttp3.Handshake?): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder handshake( jni$_.JObject? handshake, @@ -2664,7 +2680,7 @@ class Response$Builder extends jni$_.JObject { final _$handshake = handshake?.reference ?? jni$_.jNullReference; return _handshake(reference.pointer, _id_handshake as jni$_.JMethodIDPtr, _$handshake.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_header = _class.instanceMethodId( @@ -2689,7 +2705,7 @@ class Response$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder header(java.lang.String string, java.lang.String string1)` + /// from: `public fun header(name: kotlin.String, value: kotlin.String): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder header( jni$_.JString string, @@ -2699,7 +2715,7 @@ class Response$Builder extends jni$_.JObject { final _$string1 = string1.reference; return _header(reference.pointer, _id_header as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_addHeader = _class.instanceMethodId( @@ -2724,7 +2740,7 @@ class Response$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder addHeader(java.lang.String string, java.lang.String string1)` + /// from: `public fun addHeader(name: kotlin.String, value: kotlin.String): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder addHeader( jni$_.JString string, @@ -2734,7 +2750,7 @@ class Response$Builder extends jni$_.JObject { final _$string1 = string1.reference; return _addHeader(reference.pointer, _id_addHeader as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_removeHeader = _class.instanceMethodId( @@ -2753,7 +2769,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder removeHeader(java.lang.String string)` + /// from: `public fun removeHeader(name: kotlin.String): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder removeHeader( jni$_.JString string, @@ -2761,7 +2777,7 @@ class Response$Builder extends jni$_.JObject { final _$string = string.reference; return _removeHeader(reference.pointer, _id_removeHeader as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_headers = _class.instanceMethodId( @@ -2780,7 +2796,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder headers(okhttp3.Headers headers)` + /// from: `public fun headers(headers: okhttp3.Headers): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder headers( Headers headers, @@ -2788,7 +2804,7 @@ class Response$Builder extends jni$_.JObject { final _$headers = headers.reference; return _headers(reference.pointer, _id_headers as jni$_.JMethodIDPtr, _$headers.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_body = _class.instanceMethodId( @@ -2807,7 +2823,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder body(okhttp3.ResponseBody responseBody)` + /// from: `public fun body(body: okhttp3.ResponseBody?): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder body( ResponseBody? responseBody, @@ -2815,7 +2831,7 @@ class Response$Builder extends jni$_.JObject { final _$responseBody = responseBody?.reference ?? jni$_.jNullReference; return _body(reference.pointer, _id_body as jni$_.JMethodIDPtr, _$responseBody.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_networkResponse = _class.instanceMethodId( @@ -2834,7 +2850,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder networkResponse(okhttp3.Response response)` + /// from: `public fun networkResponse(networkResponse: okhttp3.Response?): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder networkResponse( Response? response, @@ -2842,7 +2858,7 @@ class Response$Builder extends jni$_.JObject { final _$response = response?.reference ?? jni$_.jNullReference; return _networkResponse(reference.pointer, _id_networkResponse as jni$_.JMethodIDPtr, _$response.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_cacheResponse = _class.instanceMethodId( @@ -2861,7 +2877,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder cacheResponse(okhttp3.Response response)` + /// from: `public fun cacheResponse(cacheResponse: okhttp3.Response?): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder cacheResponse( Response? response, @@ -2869,7 +2885,7 @@ class Response$Builder extends jni$_.JObject { final _$response = response?.reference ?? jni$_.jNullReference; return _cacheResponse(reference.pointer, _id_cacheResponse as jni$_.JMethodIDPtr, _$response.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_priorResponse = _class.instanceMethodId( @@ -2888,7 +2904,7 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Response$Builder priorResponse(okhttp3.Response response)` + /// from: `public fun priorResponse(priorResponse: okhttp3.Response?): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder priorResponse( Response? response, @@ -2896,7 +2912,7 @@ class Response$Builder extends jni$_.JObject { final _$response = response?.reference ?? jni$_.jNullReference; return _priorResponse(reference.pointer, _id_priorResponse as jni$_.JMethodIDPtr, _$response.pointer) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_sentRequestAtMillis = _class.instanceMethodId( @@ -2914,14 +2930,14 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public okhttp3.Response$Builder sentRequestAtMillis(long j)` + /// from: `public fun sentRequestAtMillis(sentRequestAtMillis: kotlin.Long): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder sentRequestAtMillis( int j, ) { return _sentRequestAtMillis( reference.pointer, _id_sentRequestAtMillis as jni$_.JMethodIDPtr, j) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_receivedResponseAtMillis = _class.instanceMethodId( @@ -2939,14 +2955,14 @@ class Response$Builder extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public okhttp3.Response$Builder receivedResponseAtMillis(long j)` + /// from: `public fun receivedResponseAtMillis(receivedResponseAtMillis: kotlin.Long): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder receivedResponseAtMillis( int j, ) { return _receivedResponseAtMillis(reference.pointer, _id_receivedResponseAtMillis as jni$_.JMethodIDPtr, j) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_build = _class.instanceMethodId( @@ -2966,18 +2982,18 @@ class Response$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public okhttp3.Response build()` + /// from: `public fun build(): okhttp3.Response` /// The returned object must be released after use, by calling the [release] method. Response build() { return _build(reference.pointer, _id_build as jni$_.JMethodIDPtr) - .object(const $Response$Type()); + .object(const $Response$Type$()); } } -final class $Response$Builder$NullableType - extends jni$_.JObjType { +final class $Response$Builder$NullableType$ + extends jni$_.JType { @jni$_.internal - const $Response$Builder$NullableType(); + const $Response$Builder$NullableType$(); @jni$_.internal @core$_.override @@ -2993,29 +3009,29 @@ final class $Response$Builder$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Response$Builder$NullableType).hashCode; + int get hashCode => ($Response$Builder$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Response$Builder$NullableType) && - other is $Response$Builder$NullableType; + return other.runtimeType == ($Response$Builder$NullableType$) && + other is $Response$Builder$NullableType$; } } -final class $Response$Builder$Type extends jni$_.JObjType { +final class $Response$Builder$Type$ extends jni$_.JType { @jni$_.internal - const $Response$Builder$Type(); + const $Response$Builder$Type$(); @jni$_.internal @core$_.override @@ -3029,24 +3045,24 @@ final class $Response$Builder$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $Response$Builder$NullableType(); + jni$_.JType get nullableType => + const $Response$Builder$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Response$Builder$Type).hashCode; + int get hashCode => ($Response$Builder$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Response$Builder$Type) && - other is $Response$Builder$Type; + return other.runtimeType == ($Response$Builder$Type$) && + other is $Response$Builder$Type$; } } @@ -3054,7 +3070,7 @@ final class $Response$Builder$Type extends jni$_.JObjType { class Response extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Response.fromReference( @@ -3065,8 +3081,10 @@ class Response extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Response'); /// The type which includes information such as the signature of this class. - static const nullableType = $Response$NullableType(); - static const type = $Response$Type(); + static const jni$_.JType nullableType = $Response$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Response$Type$(); static final _id_new$ = _class.constructorId( r'(Lokhttp3/Request;Lokhttp3/Protocol;Ljava/lang/String;ILokhttp3/Handshake;Lokhttp3/Headers;Lokhttp3/ResponseBody;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLokhttp3/internal/connection/Exchange;)V', ); @@ -3177,7 +3195,7 @@ class Response extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. Request request() { return _request(reference.pointer, _id_request as jni$_.JMethodIDPtr) - .object(const $Request$Type()); + .object(const $Request$Type$()); } static final _id_protocol = _class.instanceMethodId( @@ -3201,7 +3219,7 @@ class Response extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject protocol() { return _protocol(reference.pointer, _id_protocol as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_message = _class.instanceMethodId( @@ -3225,7 +3243,7 @@ class Response extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString message() { return _message(reference.pointer, _id_message as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_code = _class.instanceMethodId( @@ -3271,7 +3289,7 @@ class Response extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? handshake() { return _handshake(reference.pointer, _id_handshake as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_headers = _class.instanceMethodId( @@ -3295,7 +3313,7 @@ class Response extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. Headers headers() { return _headers(reference.pointer, _id_headers as jni$_.JMethodIDPtr) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); } static final _id_body = _class.instanceMethodId( @@ -3319,7 +3337,7 @@ class Response extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. ResponseBody? body() { return _body(reference.pointer, _id_body as jni$_.JMethodIDPtr) - .object(const $ResponseBody$NullableType()); + .object(const $ResponseBody$NullableType$()); } static final _id_networkResponse = _class.instanceMethodId( @@ -3344,7 +3362,7 @@ class Response extends jni$_.JObject { Response? networkResponse() { return _networkResponse( reference.pointer, _id_networkResponse as jni$_.JMethodIDPtr) - .object(const $Response$NullableType()); + .object(const $Response$NullableType$()); } static final _id_cacheResponse = _class.instanceMethodId( @@ -3369,7 +3387,7 @@ class Response extends jni$_.JObject { Response? cacheResponse() { return _cacheResponse( reference.pointer, _id_cacheResponse as jni$_.JMethodIDPtr) - .object(const $Response$NullableType()); + .object(const $Response$NullableType$()); } static final _id_priorResponse = _class.instanceMethodId( @@ -3394,7 +3412,7 @@ class Response extends jni$_.JObject { Response? priorResponse() { return _priorResponse( reference.pointer, _id_priorResponse as jni$_.JMethodIDPtr) - .object(const $Response$NullableType()); + .object(const $Response$NullableType$()); } static final _id_sentRequestAtMillis = _class.instanceMethodId( @@ -3466,7 +3484,7 @@ class Response extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? exchange() { return _exchange(reference.pointer, _id_exchange as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_isSuccessful = _class.instanceMethodId( @@ -3509,7 +3527,7 @@ class Response extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.util.List headers(java.lang.String string)` + /// from: `public fun headers(name: kotlin.String): kotlin.collections.List` /// The returned object must be released after use, by calling the [release] method. jni$_.JList headers$1( jni$_.JString string, @@ -3518,7 +3536,7 @@ class Response extends jni$_.JObject { return _headers$1(reference.pointer, _id_headers$1 as jni$_.JMethodIDPtr, _$string.pointer) .object>( - const jni$_.JListType(jni$_.JStringType())); + const jni$_.$JList$Type$(jni$_.$JString$Type$())); } static final _id_header = _class.instanceMethodId( @@ -3543,7 +3561,7 @@ class Response extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final java.lang.String header(java.lang.String string, java.lang.String string1)` + /// from: `public fun header(name: kotlin.String, defaultValue: kotlin.String?): kotlin.String?` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? header( jni$_.JString string, @@ -3553,7 +3571,7 @@ class Response extends jni$_.JObject { final _$string1 = string1?.reference ?? jni$_.jNullReference; return _header(reference.pointer, _id_header as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_trailers = _class.instanceMethodId( @@ -3573,11 +3591,11 @@ class Response extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okhttp3.Headers trailers()` + /// from: `public fun trailers(): okhttp3.Headers` /// The returned object must be released after use, by calling the [release] method. Headers trailers() { return _trailers(reference.pointer, _id_trailers as jni$_.JMethodIDPtr) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); } static final _id_peekBody = _class.instanceMethodId( @@ -3595,13 +3613,13 @@ class Response extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public final okhttp3.ResponseBody peekBody(long j)` + /// from: `public fun peekBody(byteCount: kotlin.Long): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody peekBody( int j, ) { return _peekBody(reference.pointer, _id_peekBody as jni$_.JMethodIDPtr, j) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_newBuilder = _class.instanceMethodId( @@ -3621,11 +3639,11 @@ class Response extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okhttp3.Response$Builder newBuilder()` + /// from: `public fun newBuilder(): okhttp3.Response.Builder` /// The returned object must be released after use, by calling the [release] method. Response$Builder newBuilder() { return _newBuilder(reference.pointer, _id_newBuilder as jni$_.JMethodIDPtr) - .object(const $Response$Builder$Type()); + .object(const $Response$Builder$Type$()); } static final _id_isRedirect = _class.instanceMethodId( @@ -3668,12 +3686,12 @@ class Response extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List challenges()` + /// from: `public fun challenges(): kotlin.collections.List` /// The returned object must be released after use, by calling the [release] method. jni$_.JList challenges() { return _challenges(reference.pointer, _id_challenges as jni$_.JMethodIDPtr) .object>( - const jni$_.JListType(jni$_.JObjectType())); + const jni$_.$JList$Type$(jni$_.$JObject$Type$())); } static final _id_cacheControl = _class.instanceMethodId( @@ -3698,7 +3716,7 @@ class Response extends jni$_.JObject { jni$_.JObject cacheControl() { return _cacheControl( reference.pointer, _id_cacheControl as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_close = _class.instanceMethodId( @@ -3718,7 +3736,7 @@ class Response extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public void close()` + /// from: `public fun close(): kotlin.Unit` void close() { _close(reference.pointer, _id_close as jni$_.JMethodIDPtr).check(); } @@ -3740,11 +3758,11 @@ class Response extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String toString()` + /// from: `public fun toString(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString toString$1() { return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_header$1 = _class.instanceMethodId( @@ -3771,13 +3789,13 @@ class Response extends jni$_.JObject { final _$string = string.reference; return _header$1(reference.pointer, _id_header$1 as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } } -final class $Response$NullableType extends jni$_.JObjType { +final class $Response$NullableType$ extends jni$_.JType { @jni$_.internal - const $Response$NullableType(); + const $Response$NullableType$(); @jni$_.internal @core$_.override @@ -3792,29 +3810,29 @@ final class $Response$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Response$NullableType).hashCode; + int get hashCode => ($Response$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Response$NullableType) && - other is $Response$NullableType; + return other.runtimeType == ($Response$NullableType$) && + other is $Response$NullableType$; } } -final class $Response$Type extends jni$_.JObjType { +final class $Response$Type$ extends jni$_.JType { @jni$_.internal - const $Response$Type(); + const $Response$Type$(); @jni$_.internal @core$_.override @@ -3827,22 +3845,22 @@ final class $Response$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $Response$NullableType(); + jni$_.JType get nullableType => const $Response$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Response$Type).hashCode; + int get hashCode => ($Response$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Response$Type) && other is $Response$Type; + return other.runtimeType == ($Response$Type$) && other is $Response$Type$; } } @@ -3850,7 +3868,7 @@ final class $Response$Type extends jni$_.JObjType { class ResponseBody$BomAwareReader extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal ResponseBody$BomAwareReader.fromReference( @@ -3862,8 +3880,12 @@ class ResponseBody$BomAwareReader extends jni$_.JObject { jni$_.JClass.forName(r'okhttp3/ResponseBody$BomAwareReader'); /// The type which includes information such as the signature of this class. - static const nullableType = $ResponseBody$BomAwareReader$NullableType(); - static const type = $ResponseBody$BomAwareReader$Type(); + static const jni$_.JType nullableType = + $ResponseBody$BomAwareReader$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $ResponseBody$BomAwareReader$Type$(); static final _id_new$ = _class.constructorId( r'(Lokio/BufferedSource;Ljava/nio/charset/Charset;)V', ); @@ -3921,7 +3943,7 @@ class ResponseBody$BomAwareReader extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `public int read(char[] cs, int i, int i1)` + /// from: `public fun read(cbuf: kotlin.CharArray, off: kotlin.Int, len: kotlin.Int): kotlin.Int` int read( jni$_.JCharArray cs, int i, @@ -3950,16 +3972,16 @@ class ResponseBody$BomAwareReader extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public void close()` + /// from: `public fun close(): kotlin.Unit` void close() { _close(reference.pointer, _id_close as jni$_.JMethodIDPtr).check(); } } -final class $ResponseBody$BomAwareReader$NullableType - extends jni$_.JObjType { +final class $ResponseBody$BomAwareReader$NullableType$ + extends jni$_.JType { @jni$_.internal - const $ResponseBody$BomAwareReader$NullableType(); + const $ResponseBody$BomAwareReader$NullableType$(); @jni$_.internal @core$_.override @@ -3975,30 +3997,30 @@ final class $ResponseBody$BomAwareReader$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ResponseBody$BomAwareReader$NullableType).hashCode; + int get hashCode => ($ResponseBody$BomAwareReader$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ResponseBody$BomAwareReader$NullableType) && - other is $ResponseBody$BomAwareReader$NullableType; + return other.runtimeType == ($ResponseBody$BomAwareReader$NullableType$) && + other is $ResponseBody$BomAwareReader$NullableType$; } } -final class $ResponseBody$BomAwareReader$Type - extends jni$_.JObjType { +final class $ResponseBody$BomAwareReader$Type$ + extends jni$_.JType { @jni$_.internal - const $ResponseBody$BomAwareReader$Type(); + const $ResponseBody$BomAwareReader$Type$(); @jni$_.internal @core$_.override @@ -4012,24 +4034,24 @@ final class $ResponseBody$BomAwareReader$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $ResponseBody$BomAwareReader$NullableType(); + jni$_.JType get nullableType => + const $ResponseBody$BomAwareReader$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ResponseBody$BomAwareReader$Type).hashCode; + int get hashCode => ($ResponseBody$BomAwareReader$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ResponseBody$BomAwareReader$Type) && - other is $ResponseBody$BomAwareReader$Type; + return other.runtimeType == ($ResponseBody$BomAwareReader$Type$) && + other is $ResponseBody$BomAwareReader$Type$; } } @@ -4037,7 +4059,7 @@ final class $ResponseBody$BomAwareReader$Type class ResponseBody$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal ResponseBody$Companion.fromReference( @@ -4048,8 +4070,12 @@ class ResponseBody$Companion extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/ResponseBody$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $ResponseBody$Companion$NullableType(); - static const type = $ResponseBody$Companion$Type(); + static const jni$_.JType nullableType = + $ResponseBody$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $ResponseBody$Companion$Type$(); static final _id_create = _class.instanceMethodId( r'create', r'(Ljava/lang/String;Lokhttp3/MediaType;)Lokhttp3/ResponseBody;', @@ -4072,7 +4098,7 @@ class ResponseBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.ResponseBody create(java.lang.String string, okhttp3.MediaType mediaType)` + /// from: `public fun toResponseBody(contentType: okhttp3.MediaType?): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody create( jni$_.JString string, @@ -4082,7 +4108,7 @@ class ResponseBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create(reference.pointer, _id_create as jni$_.JMethodIDPtr, _$string.pointer, _$mediaType.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$1 = _class.instanceMethodId( @@ -4107,7 +4133,7 @@ class ResponseBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.ResponseBody create(byte[] bs, okhttp3.MediaType mediaType)` + /// from: `public fun toResponseBody(contentType: okhttp3.MediaType?): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody create$1( jni$_.JByteArray bs, @@ -4117,7 +4143,7 @@ class ResponseBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create$1(reference.pointer, _id_create$1 as jni$_.JMethodIDPtr, _$bs.pointer, _$mediaType.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$2 = _class.instanceMethodId( @@ -4142,7 +4168,7 @@ class ResponseBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.ResponseBody create(okio.ByteString byteString, okhttp3.MediaType mediaType)` + /// from: `public fun toResponseBody(contentType: okhttp3.MediaType?): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody create$2( ByteString byteString, @@ -4152,7 +4178,7 @@ class ResponseBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create$2(reference.pointer, _id_create$2 as jni$_.JMethodIDPtr, _$byteString.pointer, _$mediaType.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$3 = _class.instanceMethodId( @@ -4179,7 +4205,7 @@ class ResponseBody$Companion extends jni$_.JObject { jni$_.Pointer, int)>(); - /// from: `public final okhttp3.ResponseBody create(okio.BufferedSource bufferedSource, okhttp3.MediaType mediaType, long j)` + /// from: `public fun asResponseBody(contentType: okhttp3.MediaType?, contentLength: kotlin.Long): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody create$3( jni$_.JObject bufferedSource, @@ -4190,7 +4216,7 @@ class ResponseBody$Companion extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create$3(reference.pointer, _id_create$3 as jni$_.JMethodIDPtr, _$bufferedSource.pointer, _$mediaType.pointer, j) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$4 = _class.instanceMethodId( @@ -4215,7 +4241,7 @@ class ResponseBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.ResponseBody create(okhttp3.MediaType mediaType, java.lang.String string)` + /// from: `public fun create(contentType: okhttp3.MediaType?, content: kotlin.String): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody create$4( jni$_.JObject? mediaType, @@ -4225,7 +4251,7 @@ class ResponseBody$Companion extends jni$_.JObject { final _$string = string.reference; return _create$4(reference.pointer, _id_create$4 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$string.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$5 = _class.instanceMethodId( @@ -4250,7 +4276,7 @@ class ResponseBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.ResponseBody create(okhttp3.MediaType mediaType, byte[] bs)` + /// from: `public fun create(contentType: okhttp3.MediaType?, content: kotlin.ByteArray): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody create$5( jni$_.JObject? mediaType, @@ -4260,7 +4286,7 @@ class ResponseBody$Companion extends jni$_.JObject { final _$bs = bs.reference; return _create$5(reference.pointer, _id_create$5 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$bs.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$6 = _class.instanceMethodId( @@ -4285,7 +4311,7 @@ class ResponseBody$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.ResponseBody create(okhttp3.MediaType mediaType, okio.ByteString byteString)` + /// from: `public fun create(contentType: okhttp3.MediaType?, content: okio.ByteString): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody create$6( jni$_.JObject? mediaType, @@ -4295,7 +4321,7 @@ class ResponseBody$Companion extends jni$_.JObject { final _$byteString = byteString.reference; return _create$6(reference.pointer, _id_create$6 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$byteString.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$7 = _class.instanceMethodId( @@ -4322,7 +4348,7 @@ class ResponseBody$Companion extends jni$_.JObject { int, jni$_.Pointer)>(); - /// from: `public final okhttp3.ResponseBody create(okhttp3.MediaType mediaType, long j, okio.BufferedSource bufferedSource)` + /// from: `public fun create(contentType: okhttp3.MediaType?, contentLength: kotlin.Long, content: okio.BufferedSource): okhttp3.ResponseBody` /// The returned object must be released after use, by calling the [release] method. ResponseBody create$7( jni$_.JObject? mediaType, @@ -4333,7 +4359,7 @@ class ResponseBody$Companion extends jni$_.JObject { final _$bufferedSource = bufferedSource.reference; return _create$7(reference.pointer, _id_create$7 as jni$_.JMethodIDPtr, _$mediaType.pointer, j, _$bufferedSource.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_new$ = _class.constructorId( @@ -4364,10 +4390,10 @@ class ResponseBody$Companion extends jni$_.JObject { } } -final class $ResponseBody$Companion$NullableType - extends jni$_.JObjType { +final class $ResponseBody$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $ResponseBody$Companion$NullableType(); + const $ResponseBody$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -4383,30 +4409,30 @@ final class $ResponseBody$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ResponseBody$Companion$NullableType).hashCode; + int get hashCode => ($ResponseBody$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ResponseBody$Companion$NullableType) && - other is $ResponseBody$Companion$NullableType; + return other.runtimeType == ($ResponseBody$Companion$NullableType$) && + other is $ResponseBody$Companion$NullableType$; } } -final class $ResponseBody$Companion$Type - extends jni$_.JObjType { +final class $ResponseBody$Companion$Type$ + extends jni$_.JType { @jni$_.internal - const $ResponseBody$Companion$Type(); + const $ResponseBody$Companion$Type$(); @jni$_.internal @core$_.override @@ -4420,24 +4446,24 @@ final class $ResponseBody$Companion$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $ResponseBody$Companion$NullableType(); + jni$_.JType get nullableType => + const $ResponseBody$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ResponseBody$Companion$Type).hashCode; + int get hashCode => ($ResponseBody$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ResponseBody$Companion$Type) && - other is $ResponseBody$Companion$Type; + return other.runtimeType == ($ResponseBody$Companion$Type$) && + other is $ResponseBody$Companion$Type$; } } @@ -4445,7 +4471,7 @@ final class $ResponseBody$Companion$Type class ResponseBody extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal ResponseBody.fromReference( @@ -4456,8 +4482,11 @@ class ResponseBody extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/ResponseBody'); /// The type which includes information such as the signature of this class. - static const nullableType = $ResponseBody$NullableType(); - static const type = $ResponseBody$Type(); + static const jni$_.JType nullableType = + $ResponseBody$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $ResponseBody$Type$(); static final _id_Companion = _class.staticFieldId( r'Companion', r'Lokhttp3/ResponseBody$Companion;', @@ -4466,7 +4495,7 @@ class ResponseBody extends jni$_.JObject { /// from: `static public final okhttp3.ResponseBody$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static ResponseBody$Companion get Companion => - _id_Companion.get(_class, const $ResponseBody$Companion$Type()); + _id_Companion.get(_class, const $ResponseBody$Companion$Type$()); static final _id_contentType = _class.instanceMethodId( r'contentType', @@ -4485,12 +4514,12 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract okhttp3.MediaType contentType()` + /// from: `public fun contentType(): okhttp3.MediaType?` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? contentType() { return _contentType( reference.pointer, _id_contentType as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_contentLength = _class.instanceMethodId( @@ -4510,7 +4539,7 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract long contentLength()` + /// from: `public fun contentLength(): kotlin.Long` int contentLength() { return _contentLength( reference.pointer, _id_contentLength as jni$_.JMethodIDPtr) @@ -4534,11 +4563,11 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.io.InputStream byteStream()` + /// from: `public fun byteStream(): java.io.InputStream` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject byteStream() { return _byteStream(reference.pointer, _id_byteStream as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_source = _class.instanceMethodId( @@ -4558,11 +4587,11 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract okio.BufferedSource source()` + /// from: `public fun source(): okio.BufferedSource` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject source() { return _source(reference.pointer, _id_source as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_bytes = _class.instanceMethodId( @@ -4582,11 +4611,11 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final byte[] bytes()` + /// from: `public fun bytes(): kotlin.ByteArray` /// The returned object must be released after use, by calling the [release] method. jni$_.JByteArray bytes() { return _bytes(reference.pointer, _id_bytes as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayType()); + .object(const jni$_.$JByteArray$Type$()); } static final _id_byteString = _class.instanceMethodId( @@ -4606,11 +4635,11 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okio.ByteString byteString()` + /// from: `public fun byteString(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString byteString() { return _byteString(reference.pointer, _id_byteString as jni$_.JMethodIDPtr) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_charStream = _class.instanceMethodId( @@ -4630,11 +4659,11 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.io.Reader charStream()` + /// from: `public fun charStream(): java.io.Reader` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject charStream() { return _charStream(reference.pointer, _id_charStream as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_string = _class.instanceMethodId( @@ -4654,11 +4683,11 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.lang.String string()` + /// from: `public fun string(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString string() { return _string(reference.pointer, _id_string as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_close = _class.instanceMethodId( @@ -4678,7 +4707,7 @@ class ResponseBody extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public void close()` + /// from: `public fun close(): kotlin.Unit` void close() { _close(reference.pointer, _id_close as jni$_.JMethodIDPtr).check(); } @@ -4715,7 +4744,7 @@ class ResponseBody extends jni$_.JObject { final _$mediaType = mediaType?.reference ?? jni$_.jNullReference; return _create(_class.reference.pointer, _id_create as jni$_.JMethodIDPtr, _$string.pointer, _$mediaType.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$1 = _class.staticMethodId( @@ -4753,7 +4782,7 @@ class ResponseBody extends jni$_.JObject { _id_create$1 as jni$_.JMethodIDPtr, _$bs.pointer, _$mediaType.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$2 = _class.staticMethodId( @@ -4791,7 +4820,7 @@ class ResponseBody extends jni$_.JObject { _id_create$2 as jni$_.JMethodIDPtr, _$byteString.pointer, _$mediaType.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$3 = _class.staticMethodId( @@ -4833,7 +4862,7 @@ class ResponseBody extends jni$_.JObject { _$bufferedSource.pointer, _$mediaType.pointer, j) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$4 = _class.staticMethodId( @@ -4871,7 +4900,7 @@ class ResponseBody extends jni$_.JObject { _id_create$4 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$string.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$5 = _class.staticMethodId( @@ -4909,7 +4938,7 @@ class ResponseBody extends jni$_.JObject { _id_create$5 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$bs.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$6 = _class.staticMethodId( @@ -4947,7 +4976,7 @@ class ResponseBody extends jni$_.JObject { _id_create$6 as jni$_.JMethodIDPtr, _$mediaType.pointer, _$byteString.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } static final _id_create$7 = _class.staticMethodId( @@ -4989,13 +5018,13 @@ class ResponseBody extends jni$_.JObject { _$mediaType.pointer, j, _$bufferedSource.pointer) - .object(const $ResponseBody$Type()); + .object(const $ResponseBody$Type$()); } } -final class $ResponseBody$NullableType extends jni$_.JObjType { +final class $ResponseBody$NullableType$ extends jni$_.JType { @jni$_.internal - const $ResponseBody$NullableType(); + const $ResponseBody$NullableType$(); @jni$_.internal @core$_.override @@ -5010,29 +5039,29 @@ final class $ResponseBody$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ResponseBody$NullableType).hashCode; + int get hashCode => ($ResponseBody$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ResponseBody$NullableType) && - other is $ResponseBody$NullableType; + return other.runtimeType == ($ResponseBody$NullableType$) && + other is $ResponseBody$NullableType$; } } -final class $ResponseBody$Type extends jni$_.JObjType { +final class $ResponseBody$Type$ extends jni$_.JType { @jni$_.internal - const $ResponseBody$Type(); + const $ResponseBody$Type$(); @jni$_.internal @core$_.override @@ -5046,24 +5075,24 @@ final class $ResponseBody$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $ResponseBody$NullableType(); + jni$_.JType get nullableType => + const $ResponseBody$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ResponseBody$Type).hashCode; + int get hashCode => ($ResponseBody$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ResponseBody$Type) && - other is $ResponseBody$Type; + return other.runtimeType == ($ResponseBody$Type$) && + other is $ResponseBody$Type$; } } @@ -5071,7 +5100,7 @@ final class $ResponseBody$Type extends jni$_.JObjType { class OkHttpClient$Builder extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal OkHttpClient$Builder.fromReference( @@ -5082,8 +5111,12 @@ class OkHttpClient$Builder extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/OkHttpClient$Builder'); /// The type which includes information such as the signature of this class. - static const nullableType = $OkHttpClient$Builder$NullableType(); - static const type = $OkHttpClient$Builder$Type(); + static const jni$_.JType nullableType = + $OkHttpClient$Builder$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $OkHttpClient$Builder$Type$(); static final _id_new$ = _class.constructorId( r'()V', ); @@ -5150,7 +5183,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder dispatcher(okhttp3.Dispatcher dispatcher)` + /// from: `public fun dispatcher(dispatcher: okhttp3.Dispatcher): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder dispatcher( Dispatcher dispatcher, @@ -5158,7 +5191,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$dispatcher = dispatcher.reference; return _dispatcher(reference.pointer, _id_dispatcher as jni$_.JMethodIDPtr, _$dispatcher.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_connectionPool = _class.instanceMethodId( @@ -5177,7 +5210,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder connectionPool(okhttp3.ConnectionPool connectionPool)` + /// from: `public fun connectionPool(connectionPool: okhttp3.ConnectionPool): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder connectionPool( ConnectionPool connectionPool, @@ -5185,7 +5218,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$connectionPool = connectionPool.reference; return _connectionPool(reference.pointer, _id_connectionPool as jni$_.JMethodIDPtr, _$connectionPool.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_interceptors = _class.instanceMethodId( @@ -5205,13 +5238,13 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List interceptors()` + /// from: `public fun interceptors(): kotlin.collections.MutableList` /// The returned object must be released after use, by calling the [release] method. jni$_.JList interceptors() { return _interceptors( reference.pointer, _id_interceptors as jni$_.JMethodIDPtr) .object>( - const jni$_.JListType(jni$_.JObjectType())); + const jni$_.$JList$Type$(jni$_.$JObject$Type$())); } static final _id_addInterceptor = _class.instanceMethodId( @@ -5230,7 +5263,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder addInterceptor(okhttp3.Interceptor interceptor)` + /// from: `public fun addInterceptor(interceptor: okhttp3.Interceptor): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder addInterceptor( jni$_.JObject interceptor, @@ -5238,7 +5271,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$interceptor = interceptor.reference; return _addInterceptor(reference.pointer, _id_addInterceptor as jni$_.JMethodIDPtr, _$interceptor.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_networkInterceptors = _class.instanceMethodId( @@ -5258,13 +5291,13 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List networkInterceptors()` + /// from: `public fun networkInterceptors(): kotlin.collections.MutableList` /// The returned object must be released after use, by calling the [release] method. jni$_.JList networkInterceptors() { return _networkInterceptors( reference.pointer, _id_networkInterceptors as jni$_.JMethodIDPtr) .object>( - const jni$_.JListType(jni$_.JObjectType())); + const jni$_.$JList$Type$(jni$_.$JObject$Type$())); } static final _id_addNetworkInterceptor = _class.instanceMethodId( @@ -5283,7 +5316,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder addNetworkInterceptor(okhttp3.Interceptor interceptor)` + /// from: `public fun addNetworkInterceptor(interceptor: okhttp3.Interceptor): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder addNetworkInterceptor( jni$_.JObject interceptor, @@ -5293,7 +5326,7 @@ class OkHttpClient$Builder extends jni$_.JObject { reference.pointer, _id_addNetworkInterceptor as jni$_.JMethodIDPtr, _$interceptor.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_eventListener = _class.instanceMethodId( @@ -5312,7 +5345,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder eventListener(okhttp3.EventListener eventListener)` + /// from: `public fun eventListener(eventListener: okhttp3.EventListener): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder eventListener( jni$_.JObject eventListener, @@ -5320,7 +5353,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$eventListener = eventListener.reference; return _eventListener(reference.pointer, _id_eventListener as jni$_.JMethodIDPtr, _$eventListener.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_eventListenerFactory = _class.instanceMethodId( @@ -5339,7 +5372,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder eventListenerFactory(okhttp3.EventListener$Factory factory)` + /// from: `public fun eventListenerFactory(eventListenerFactory: okhttp3.EventListener.Factory): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder eventListenerFactory( jni$_.JObject factory, @@ -5347,7 +5380,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$factory = factory.reference; return _eventListenerFactory(reference.pointer, _id_eventListenerFactory as jni$_.JMethodIDPtr, _$factory.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_retryOnConnectionFailure = _class.instanceMethodId( @@ -5365,14 +5398,14 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public final okhttp3.OkHttpClient$Builder retryOnConnectionFailure(boolean z)` + /// from: `public fun retryOnConnectionFailure(retryOnConnectionFailure: kotlin.Boolean): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder retryOnConnectionFailure( bool z, ) { return _retryOnConnectionFailure(reference.pointer, _id_retryOnConnectionFailure as jni$_.JMethodIDPtr, z ? 1 : 0) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_authenticator = _class.instanceMethodId( @@ -5391,7 +5424,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder authenticator(okhttp3.Authenticator authenticator)` + /// from: `public fun authenticator(authenticator: okhttp3.Authenticator): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder authenticator( jni$_.JObject authenticator, @@ -5399,7 +5432,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$authenticator = authenticator.reference; return _authenticator(reference.pointer, _id_authenticator as jni$_.JMethodIDPtr, _$authenticator.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_followRedirects = _class.instanceMethodId( @@ -5417,14 +5450,14 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public final okhttp3.OkHttpClient$Builder followRedirects(boolean z)` + /// from: `public fun followRedirects(followRedirects: kotlin.Boolean): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder followRedirects( bool z, ) { return _followRedirects(reference.pointer, _id_followRedirects as jni$_.JMethodIDPtr, z ? 1 : 0) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_followSslRedirects = _class.instanceMethodId( @@ -5442,14 +5475,14 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public final okhttp3.OkHttpClient$Builder followSslRedirects(boolean z)` + /// from: `public fun followSslRedirects(followProtocolRedirects: kotlin.Boolean): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder followSslRedirects( bool z, ) { return _followSslRedirects(reference.pointer, _id_followSslRedirects as jni$_.JMethodIDPtr, z ? 1 : 0) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_cookieJar = _class.instanceMethodId( @@ -5468,7 +5501,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder cookieJar(okhttp3.CookieJar cookieJar)` + /// from: `public fun cookieJar(cookieJar: okhttp3.CookieJar): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder cookieJar( jni$_.JObject cookieJar, @@ -5476,7 +5509,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$cookieJar = cookieJar.reference; return _cookieJar(reference.pointer, _id_cookieJar as jni$_.JMethodIDPtr, _$cookieJar.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_cache = _class.instanceMethodId( @@ -5495,7 +5528,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder cache(okhttp3.Cache cache)` + /// from: `public fun cache(cache: okhttp3.Cache?): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder cache( Cache? cache, @@ -5503,7 +5536,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$cache = cache?.reference ?? jni$_.jNullReference; return _cache( reference.pointer, _id_cache as jni$_.JMethodIDPtr, _$cache.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_dns = _class.instanceMethodId( @@ -5522,14 +5555,14 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder dns(okhttp3.Dns dns)` + /// from: `public fun dns(dns: okhttp3.Dns): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder dns( jni$_.JObject dns, ) { final _$dns = dns.reference; return _dns(reference.pointer, _id_dns as jni$_.JMethodIDPtr, _$dns.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_proxy = _class.instanceMethodId( @@ -5548,7 +5581,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder proxy(java.net.Proxy proxy)` + /// from: `public fun proxy(proxy: java.net.Proxy?): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder proxy( jni$_.JObject? proxy, @@ -5556,7 +5589,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$proxy = proxy?.reference ?? jni$_.jNullReference; return _proxy( reference.pointer, _id_proxy as jni$_.JMethodIDPtr, _$proxy.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_proxySelector = _class.instanceMethodId( @@ -5575,7 +5608,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder proxySelector(java.net.ProxySelector proxySelector)` + /// from: `public fun proxySelector(proxySelector: java.net.ProxySelector): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder proxySelector( jni$_.JObject proxySelector, @@ -5583,7 +5616,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$proxySelector = proxySelector.reference; return _proxySelector(reference.pointer, _id_proxySelector as jni$_.JMethodIDPtr, _$proxySelector.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_proxyAuthenticator = _class.instanceMethodId( @@ -5602,7 +5635,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder proxyAuthenticator(okhttp3.Authenticator authenticator)` + /// from: `public fun proxyAuthenticator(proxyAuthenticator: okhttp3.Authenticator): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder proxyAuthenticator( jni$_.JObject authenticator, @@ -5612,7 +5645,7 @@ class OkHttpClient$Builder extends jni$_.JObject { reference.pointer, _id_proxyAuthenticator as jni$_.JMethodIDPtr, _$authenticator.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_socketFactory = _class.instanceMethodId( @@ -5631,7 +5664,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder socketFactory(javax.net.SocketFactory socketFactory)` + /// from: `public fun socketFactory(socketFactory: javax.net.SocketFactory): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder socketFactory( SocketFactory socketFactory, @@ -5639,7 +5672,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$socketFactory = socketFactory.reference; return _socketFactory(reference.pointer, _id_socketFactory as jni$_.JMethodIDPtr, _$socketFactory.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_sslSocketFactory = _class.instanceMethodId( @@ -5658,7 +5691,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder sslSocketFactory(javax.net.ssl.SSLSocketFactory sSLSocketFactory)` + /// from: `public fun sslSocketFactory(sslSocketFactory: javax.net.ssl.SSLSocketFactory): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder sslSocketFactory( SSLSocketFactory sSLSocketFactory, @@ -5668,7 +5701,7 @@ class OkHttpClient$Builder extends jni$_.JObject { reference.pointer, _id_sslSocketFactory as jni$_.JMethodIDPtr, _$sSLSocketFactory.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_sslSocketFactory$1 = _class.instanceMethodId( @@ -5693,7 +5726,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder sslSocketFactory(javax.net.ssl.SSLSocketFactory sSLSocketFactory, javax.net.ssl.X509TrustManager x509TrustManager)` + /// from: `public fun sslSocketFactory(sslSocketFactory: javax.net.ssl.SSLSocketFactory, trustManager: javax.net.ssl.X509TrustManager): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder sslSocketFactory$1( SSLSocketFactory sSLSocketFactory, @@ -5706,7 +5739,7 @@ class OkHttpClient$Builder extends jni$_.JObject { _id_sslSocketFactory$1 as jni$_.JMethodIDPtr, _$sSLSocketFactory.pointer, _$x509TrustManager.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_connectionSpecs = _class.instanceMethodId( @@ -5725,7 +5758,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder connectionSpecs(java.util.List list)` + /// from: `public fun connectionSpecs(connectionSpecs: kotlin.collections.List): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder connectionSpecs( jni$_.JList list, @@ -5733,7 +5766,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$list = list.reference; return _connectionSpecs(reference.pointer, _id_connectionSpecs as jni$_.JMethodIDPtr, _$list.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_protocols = _class.instanceMethodId( @@ -5752,7 +5785,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder protocols(java.util.List list)` + /// from: `public fun protocols(protocols: kotlin.collections.List): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder protocols( jni$_.JList list, @@ -5760,7 +5793,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$list = list.reference; return _protocols(reference.pointer, _id_protocols as jni$_.JMethodIDPtr, _$list.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_hostnameVerifier = _class.instanceMethodId( @@ -5779,7 +5812,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder hostnameVerifier(javax.net.ssl.HostnameVerifier hostnameVerifier)` + /// from: `public fun hostnameVerifier(hostnameVerifier: javax.net.ssl.HostnameVerifier): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder hostnameVerifier( HostnameVerifier hostnameVerifier, @@ -5789,7 +5822,7 @@ class OkHttpClient$Builder extends jni$_.JObject { reference.pointer, _id_hostnameVerifier as jni$_.JMethodIDPtr, _$hostnameVerifier.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_certificatePinner = _class.instanceMethodId( @@ -5808,7 +5841,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder certificatePinner(okhttp3.CertificatePinner certificatePinner)` + /// from: `public fun certificatePinner(certificatePinner: okhttp3.CertificatePinner): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder certificatePinner( jni$_.JObject certificatePinner, @@ -5818,7 +5851,7 @@ class OkHttpClient$Builder extends jni$_.JObject { reference.pointer, _id_certificatePinner as jni$_.JMethodIDPtr, _$certificatePinner.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_callTimeout = _class.instanceMethodId( @@ -5838,7 +5871,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder callTimeout(long j, java.util.concurrent.TimeUnit timeUnit)` + /// from: `public fun callTimeout(timeout: kotlin.Long, unit: java.util.concurrent.TimeUnit): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder callTimeout( int j, @@ -5847,7 +5880,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$timeUnit = timeUnit.reference; return _callTimeout(reference.pointer, _id_callTimeout as jni$_.JMethodIDPtr, j, _$timeUnit.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_callTimeout$1 = _class.instanceMethodId( @@ -5866,7 +5899,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder callTimeout(java.time.Duration duration)` + /// from: `public fun callTimeout(duration: java.time.Duration): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder callTimeout$1( jni$_.JObject duration, @@ -5874,7 +5907,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$duration = duration.reference; return _callTimeout$1(reference.pointer, _id_callTimeout$1 as jni$_.JMethodIDPtr, _$duration.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_connectTimeout = _class.instanceMethodId( @@ -5894,7 +5927,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder connectTimeout(long j, java.util.concurrent.TimeUnit timeUnit)` + /// from: `public fun connectTimeout(timeout: kotlin.Long, unit: java.util.concurrent.TimeUnit): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder connectTimeout( int j, @@ -5903,7 +5936,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$timeUnit = timeUnit.reference; return _connectTimeout(reference.pointer, _id_connectTimeout as jni$_.JMethodIDPtr, j, _$timeUnit.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_connectTimeout$1 = _class.instanceMethodId( @@ -5922,7 +5955,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder connectTimeout(java.time.Duration duration)` + /// from: `public fun connectTimeout(duration: java.time.Duration): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder connectTimeout$1( jni$_.JObject duration, @@ -5930,7 +5963,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$duration = duration.reference; return _connectTimeout$1(reference.pointer, _id_connectTimeout$1 as jni$_.JMethodIDPtr, _$duration.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_readTimeout = _class.instanceMethodId( @@ -5950,7 +5983,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder readTimeout(long j, java.util.concurrent.TimeUnit timeUnit)` + /// from: `public fun readTimeout(timeout: kotlin.Long, unit: java.util.concurrent.TimeUnit): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder readTimeout( int j, @@ -5959,7 +5992,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$timeUnit = timeUnit.reference; return _readTimeout(reference.pointer, _id_readTimeout as jni$_.JMethodIDPtr, j, _$timeUnit.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_readTimeout$1 = _class.instanceMethodId( @@ -5978,7 +6011,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder readTimeout(java.time.Duration duration)` + /// from: `public fun readTimeout(duration: java.time.Duration): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder readTimeout$1( jni$_.JObject duration, @@ -5986,7 +6019,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$duration = duration.reference; return _readTimeout$1(reference.pointer, _id_readTimeout$1 as jni$_.JMethodIDPtr, _$duration.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_writeTimeout = _class.instanceMethodId( @@ -6006,7 +6039,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder writeTimeout(long j, java.util.concurrent.TimeUnit timeUnit)` + /// from: `public fun writeTimeout(timeout: kotlin.Long, unit: java.util.concurrent.TimeUnit): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder writeTimeout( int j, @@ -6015,7 +6048,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$timeUnit = timeUnit.reference; return _writeTimeout(reference.pointer, _id_writeTimeout as jni$_.JMethodIDPtr, j, _$timeUnit.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_writeTimeout$1 = _class.instanceMethodId( @@ -6034,7 +6067,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder writeTimeout(java.time.Duration duration)` + /// from: `public fun writeTimeout(duration: java.time.Duration): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder writeTimeout$1( jni$_.JObject duration, @@ -6042,7 +6075,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$duration = duration.reference; return _writeTimeout$1(reference.pointer, _id_writeTimeout$1 as jni$_.JMethodIDPtr, _$duration.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_pingInterval = _class.instanceMethodId( @@ -6062,7 +6095,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder pingInterval(long j, java.util.concurrent.TimeUnit timeUnit)` + /// from: `public fun pingInterval(interval: kotlin.Long, unit: java.util.concurrent.TimeUnit): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder pingInterval( int j, @@ -6071,7 +6104,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$timeUnit = timeUnit.reference; return _pingInterval(reference.pointer, _id_pingInterval as jni$_.JMethodIDPtr, j, _$timeUnit.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_pingInterval$1 = _class.instanceMethodId( @@ -6090,7 +6123,7 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder pingInterval(java.time.Duration duration)` + /// from: `public fun pingInterval(duration: java.time.Duration): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder pingInterval$1( jni$_.JObject duration, @@ -6098,7 +6131,7 @@ class OkHttpClient$Builder extends jni$_.JObject { final _$duration = duration.reference; return _pingInterval$1(reference.pointer, _id_pingInterval$1 as jni$_.JMethodIDPtr, _$duration.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_minWebSocketMessageToCompress = _class.instanceMethodId( @@ -6116,14 +6149,14 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public final okhttp3.OkHttpClient$Builder minWebSocketMessageToCompress(long j)` + /// from: `public fun minWebSocketMessageToCompress(bytes: kotlin.Long): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder minWebSocketMessageToCompress( int j, ) { return _minWebSocketMessageToCompress(reference.pointer, _id_minWebSocketMessageToCompress as jni$_.JMethodIDPtr, j) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_build = _class.instanceMethodId( @@ -6143,18 +6176,18 @@ class OkHttpClient$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okhttp3.OkHttpClient build()` + /// from: `public fun build(): okhttp3.OkHttpClient` /// The returned object must be released after use, by calling the [release] method. OkHttpClient build() { return _build(reference.pointer, _id_build as jni$_.JMethodIDPtr) - .object(const $OkHttpClient$Type()); + .object(const $OkHttpClient$Type$()); } } -final class $OkHttpClient$Builder$NullableType - extends jni$_.JObjType { +final class $OkHttpClient$Builder$NullableType$ + extends jni$_.JType { @jni$_.internal - const $OkHttpClient$Builder$NullableType(); + const $OkHttpClient$Builder$NullableType$(); @jni$_.internal @core$_.override @@ -6170,30 +6203,30 @@ final class $OkHttpClient$Builder$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($OkHttpClient$Builder$NullableType).hashCode; + int get hashCode => ($OkHttpClient$Builder$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($OkHttpClient$Builder$NullableType) && - other is $OkHttpClient$Builder$NullableType; + return other.runtimeType == ($OkHttpClient$Builder$NullableType$) && + other is $OkHttpClient$Builder$NullableType$; } } -final class $OkHttpClient$Builder$Type - extends jni$_.JObjType { +final class $OkHttpClient$Builder$Type$ + extends jni$_.JType { @jni$_.internal - const $OkHttpClient$Builder$Type(); + const $OkHttpClient$Builder$Type$(); @jni$_.internal @core$_.override @@ -6207,24 +6240,24 @@ final class $OkHttpClient$Builder$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $OkHttpClient$Builder$NullableType(); + jni$_.JType get nullableType => + const $OkHttpClient$Builder$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($OkHttpClient$Builder$Type).hashCode; + int get hashCode => ($OkHttpClient$Builder$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($OkHttpClient$Builder$Type) && - other is $OkHttpClient$Builder$Type; + return other.runtimeType == ($OkHttpClient$Builder$Type$) && + other is $OkHttpClient$Builder$Type$; } } @@ -6232,7 +6265,7 @@ final class $OkHttpClient$Builder$Type class OkHttpClient$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal OkHttpClient$Companion.fromReference( @@ -6243,8 +6276,12 @@ class OkHttpClient$Companion extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/OkHttpClient$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $OkHttpClient$Companion$NullableType(); - static const type = $OkHttpClient$Companion$Type(); + static const jni$_.JType nullableType = + $OkHttpClient$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $OkHttpClient$Companion$Type$(); static final _id_new$ = _class.constructorId( r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); @@ -6273,10 +6310,10 @@ class OkHttpClient$Companion extends jni$_.JObject { } } -final class $OkHttpClient$Companion$NullableType - extends jni$_.JObjType { +final class $OkHttpClient$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $OkHttpClient$Companion$NullableType(); + const $OkHttpClient$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -6292,30 +6329,30 @@ final class $OkHttpClient$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($OkHttpClient$Companion$NullableType).hashCode; + int get hashCode => ($OkHttpClient$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($OkHttpClient$Companion$NullableType) && - other is $OkHttpClient$Companion$NullableType; + return other.runtimeType == ($OkHttpClient$Companion$NullableType$) && + other is $OkHttpClient$Companion$NullableType$; } } -final class $OkHttpClient$Companion$Type - extends jni$_.JObjType { +final class $OkHttpClient$Companion$Type$ + extends jni$_.JType { @jni$_.internal - const $OkHttpClient$Companion$Type(); + const $OkHttpClient$Companion$Type$(); @jni$_.internal @core$_.override @@ -6329,24 +6366,24 @@ final class $OkHttpClient$Companion$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $OkHttpClient$Companion$NullableType(); + jni$_.JType get nullableType => + const $OkHttpClient$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($OkHttpClient$Companion$Type).hashCode; + int get hashCode => ($OkHttpClient$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($OkHttpClient$Companion$Type) && - other is $OkHttpClient$Companion$Type; + return other.runtimeType == ($OkHttpClient$Companion$Type$) && + other is $OkHttpClient$Companion$Type$; } } @@ -6354,7 +6391,7 @@ final class $OkHttpClient$Companion$Type class OkHttpClient extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal OkHttpClient.fromReference( @@ -6365,8 +6402,11 @@ class OkHttpClient extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/OkHttpClient'); /// The type which includes information such as the signature of this class. - static const nullableType = $OkHttpClient$NullableType(); - static const type = $OkHttpClient$Type(); + static const jni$_.JType nullableType = + $OkHttpClient$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $OkHttpClient$Type$(); static final _id_Companion = _class.staticFieldId( r'Companion', r'Lokhttp3/OkHttpClient$Companion;', @@ -6375,7 +6415,7 @@ class OkHttpClient extends jni$_.JObject { /// from: `static public final okhttp3.OkHttpClient$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static OkHttpClient$Companion get Companion => - _id_Companion.get(_class, const $OkHttpClient$Companion$Type()); + _id_Companion.get(_class, const $OkHttpClient$Companion$Type$()); static final _id_new$ = _class.constructorId( r'(Lokhttp3/OkHttpClient$Builder;)V', @@ -6424,7 +6464,7 @@ class OkHttpClient extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. Dispatcher dispatcher() { return _dispatcher(reference.pointer, _id_dispatcher as jni$_.JMethodIDPtr) - .object(const $Dispatcher$Type()); + .object(const $Dispatcher$Type$()); } static final _id_connectionPool = _class.instanceMethodId( @@ -6449,7 +6489,7 @@ class OkHttpClient extends jni$_.JObject { ConnectionPool connectionPool() { return _connectionPool( reference.pointer, _id_connectionPool as jni$_.JMethodIDPtr) - .object(const $ConnectionPool$Type()); + .object(const $ConnectionPool$Type$()); } static final _id_interceptors = _class.instanceMethodId( @@ -6469,13 +6509,13 @@ class OkHttpClient extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List interceptors()` + /// from: `public final java.util.List interceptors()` /// The returned object must be released after use, by calling the [release] method. jni$_.JList interceptors() { return _interceptors( reference.pointer, _id_interceptors as jni$_.JMethodIDPtr) .object>( - const jni$_.JListType(jni$_.JObjectType())); + const jni$_.$JList$Type$(jni$_.$JObject$Type$())); } static final _id_networkInterceptors = _class.instanceMethodId( @@ -6495,13 +6535,13 @@ class OkHttpClient extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List networkInterceptors()` + /// from: `public final java.util.List networkInterceptors()` /// The returned object must be released after use, by calling the [release] method. jni$_.JList networkInterceptors() { return _networkInterceptors( reference.pointer, _id_networkInterceptors as jni$_.JMethodIDPtr) .object>( - const jni$_.JListType(jni$_.JObjectType())); + const jni$_.$JList$Type$(jni$_.$JObject$Type$())); } static final _id_eventListenerFactory = _class.instanceMethodId( @@ -6526,7 +6566,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.JObject eventListenerFactory() { return _eventListenerFactory( reference.pointer, _id_eventListenerFactory as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_retryOnConnectionFailure = _class.instanceMethodId( @@ -6575,7 +6615,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.JObject authenticator() { return _authenticator( reference.pointer, _id_authenticator as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_followRedirects = _class.instanceMethodId( @@ -6647,7 +6687,7 @@ class OkHttpClient extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject cookieJar() { return _cookieJar(reference.pointer, _id_cookieJar as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_cache = _class.instanceMethodId( @@ -6671,7 +6711,7 @@ class OkHttpClient extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. Cache? cache() { return _cache(reference.pointer, _id_cache as jni$_.JMethodIDPtr) - .object(const $Cache$NullableType()); + .object(const $Cache$NullableType$()); } static final _id_dns = _class.instanceMethodId( @@ -6695,7 +6735,7 @@ class OkHttpClient extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject dns() { return _dns(reference.pointer, _id_dns as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_proxy = _class.instanceMethodId( @@ -6719,7 +6759,7 @@ class OkHttpClient extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? proxy() { return _proxy(reference.pointer, _id_proxy as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_proxySelector = _class.instanceMethodId( @@ -6744,7 +6784,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.JObject proxySelector() { return _proxySelector( reference.pointer, _id_proxySelector as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_proxyAuthenticator = _class.instanceMethodId( @@ -6769,7 +6809,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.JObject proxyAuthenticator() { return _proxyAuthenticator( reference.pointer, _id_proxyAuthenticator as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_socketFactory = _class.instanceMethodId( @@ -6794,7 +6834,7 @@ class OkHttpClient extends jni$_.JObject { SocketFactory socketFactory() { return _socketFactory( reference.pointer, _id_socketFactory as jni$_.JMethodIDPtr) - .object(const $SocketFactory$Type()); + .object(const $SocketFactory$Type$()); } static final _id_sslSocketFactory = _class.instanceMethodId( @@ -6819,7 +6859,7 @@ class OkHttpClient extends jni$_.JObject { SSLSocketFactory sslSocketFactory() { return _sslSocketFactory( reference.pointer, _id_sslSocketFactory as jni$_.JMethodIDPtr) - .object(const $SSLSocketFactory$Type()); + .object(const $SSLSocketFactory$Type$()); } static final _id_x509TrustManager = _class.instanceMethodId( @@ -6844,7 +6884,7 @@ class OkHttpClient extends jni$_.JObject { X509TrustManager? x509TrustManager() { return _x509TrustManager( reference.pointer, _id_x509TrustManager as jni$_.JMethodIDPtr) - .object(const $X509TrustManager$NullableType()); + .object(const $X509TrustManager$NullableType$()); } static final _id_connectionSpecs = _class.instanceMethodId( @@ -6864,13 +6904,13 @@ class OkHttpClient extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List connectionSpecs()` + /// from: `public final java.util.List connectionSpecs()` /// The returned object must be released after use, by calling the [release] method. jni$_.JList connectionSpecs() { return _connectionSpecs( reference.pointer, _id_connectionSpecs as jni$_.JMethodIDPtr) .object>( - const jni$_.JListType(jni$_.JObjectType())); + const jni$_.$JList$Type$(jni$_.$JObject$Type$())); } static final _id_protocols = _class.instanceMethodId( @@ -6890,12 +6930,12 @@ class OkHttpClient extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List protocols()` + /// from: `public final java.util.List protocols()` /// The returned object must be released after use, by calling the [release] method. jni$_.JList protocols() { return _protocols(reference.pointer, _id_protocols as jni$_.JMethodIDPtr) .object>( - const jni$_.JListType(jni$_.JObjectType())); + const jni$_.$JList$Type$(jni$_.$JObject$Type$())); } static final _id_hostnameVerifier = _class.instanceMethodId( @@ -6920,7 +6960,7 @@ class OkHttpClient extends jni$_.JObject { HostnameVerifier hostnameVerifier() { return _hostnameVerifier( reference.pointer, _id_hostnameVerifier as jni$_.JMethodIDPtr) - .object(const $HostnameVerifier$Type()); + .object(const $HostnameVerifier$Type$()); } static final _id_certificatePinner = _class.instanceMethodId( @@ -6945,7 +6985,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.JObject certificatePinner() { return _certificatePinner( reference.pointer, _id_certificatePinner as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_certificateChainCleaner = _class.instanceMethodId( @@ -6970,7 +7010,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.JObject? certificateChainCleaner() { return _certificateChainCleaner(reference.pointer, _id_certificateChainCleaner as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_callTimeoutMillis = _class.instanceMethodId( @@ -7140,7 +7180,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.JObject getRouteDatabase() { return _getRouteDatabase( reference.pointer, _id_getRouteDatabase as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_new$1 = _class.constructorId( @@ -7183,7 +7223,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okhttp3.Call newCall(okhttp3.Request request)` + /// from: `public fun newCall(request: okhttp3.Request): okhttp3.Call` /// The returned object must be released after use, by calling the [release] method. Call newCall( Request request, @@ -7191,7 +7231,7 @@ class OkHttpClient extends jni$_.JObject { final _$request = request.reference; return _newCall(reference.pointer, _id_newCall as jni$_.JMethodIDPtr, _$request.pointer) - .object(const $Call$Type()); + .object(const $Call$Type$()); } static final _id_newWebSocket = _class.instanceMethodId( @@ -7216,7 +7256,7 @@ class OkHttpClient extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public okhttp3.WebSocket newWebSocket(okhttp3.Request request, okhttp3.WebSocketListener webSocketListener)` + /// from: `public fun newWebSocket(request: okhttp3.Request, listener: okhttp3.WebSocketListener): okhttp3.WebSocket` /// The returned object must be released after use, by calling the [release] method. WebSocket newWebSocket( Request request, @@ -7229,7 +7269,7 @@ class OkHttpClient extends jni$_.JObject { _id_newWebSocket as jni$_.JMethodIDPtr, _$request.pointer, _$webSocketListener.pointer) - .object(const $WebSocket$Type()); + .object(const $WebSocket$Type$()); } static final _id_newBuilder = _class.instanceMethodId( @@ -7249,11 +7289,11 @@ class OkHttpClient extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public okhttp3.OkHttpClient$Builder newBuilder()` + /// from: `public fun newBuilder(): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder newBuilder() { return _newBuilder(reference.pointer, _id_newBuilder as jni$_.JMethodIDPtr) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_clone = _class.instanceMethodId( @@ -7277,13 +7317,13 @@ class OkHttpClient extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject clone() { return _clone(reference.pointer, _id_clone as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } } -final class $OkHttpClient$NullableType extends jni$_.JObjType { +final class $OkHttpClient$NullableType$ extends jni$_.JType { @jni$_.internal - const $OkHttpClient$NullableType(); + const $OkHttpClient$NullableType$(); @jni$_.internal @core$_.override @@ -7298,29 +7338,29 @@ final class $OkHttpClient$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($OkHttpClient$NullableType).hashCode; + int get hashCode => ($OkHttpClient$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($OkHttpClient$NullableType) && - other is $OkHttpClient$NullableType; + return other.runtimeType == ($OkHttpClient$NullableType$) && + other is $OkHttpClient$NullableType$; } } -final class $OkHttpClient$Type extends jni$_.JObjType { +final class $OkHttpClient$Type$ extends jni$_.JType { @jni$_.internal - const $OkHttpClient$Type(); + const $OkHttpClient$Type$(); @jni$_.internal @core$_.override @@ -7334,24 +7374,24 @@ final class $OkHttpClient$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $OkHttpClient$NullableType(); + jni$_.JType get nullableType => + const $OkHttpClient$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($OkHttpClient$Type).hashCode; + int get hashCode => ($OkHttpClient$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($OkHttpClient$Type) && - other is $OkHttpClient$Type; + return other.runtimeType == ($OkHttpClient$Type$) && + other is $OkHttpClient$Type$; } } @@ -7359,7 +7399,7 @@ final class $OkHttpClient$Type extends jni$_.JObjType { class Call$Factory extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Call$Factory.fromReference( @@ -7370,8 +7410,11 @@ class Call$Factory extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Call$Factory'); /// The type which includes information such as the signature of this class. - static const nullableType = $Call$Factory$NullableType(); - static const type = $Call$Factory$Type(); + static const jni$_.JType nullableType = + $Call$Factory$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Call$Factory$Type$(); static final _id_newCall = _class.instanceMethodId( r'newCall', r'(Lokhttp3/Request;)Lokhttp3/Call;', @@ -7388,7 +7431,7 @@ class Call$Factory extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract okhttp3.Call newCall(okhttp3.Request request)` + /// from: `public fun newCall(request: okhttp3.Request): okhttp3.Call` /// The returned object must be released after use, by calling the [release] method. Call newCall( Request request, @@ -7396,7 +7439,7 @@ class Call$Factory extends jni$_.JObject { final _$request = request.reference; return _newCall(reference.pointer, _id_newCall as jni$_.JMethodIDPtr, _$request.pointer) - .object(const $Call$Type()); + .object(const $Call$Type$()); } /// Maps a specific port to the implemented interface. @@ -7431,10 +7474,10 @@ class Call$Factory extends jni$_.JObject { final $a = $i.args; if ($d == r'newCall(Lokhttp3/Request;)Lokhttp3/Call;') { final $r = _$impls[$p]!.newCall( - $a![0]!.as(const $Request$Type(), releaseOriginal: true), + $a![0]!.as(const $Request$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -7501,9 +7544,9 @@ final class _$Call$Factory with $Call$Factory { } } -final class $Call$Factory$NullableType extends jni$_.JObjType { +final class $Call$Factory$NullableType$ extends jni$_.JType { @jni$_.internal - const $Call$Factory$NullableType(); + const $Call$Factory$NullableType$(); @jni$_.internal @core$_.override @@ -7518,29 +7561,29 @@ final class $Call$Factory$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Call$Factory$NullableType).hashCode; + int get hashCode => ($Call$Factory$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Call$Factory$NullableType) && - other is $Call$Factory$NullableType; + return other.runtimeType == ($Call$Factory$NullableType$) && + other is $Call$Factory$NullableType$; } } -final class $Call$Factory$Type extends jni$_.JObjType { +final class $Call$Factory$Type$ extends jni$_.JType { @jni$_.internal - const $Call$Factory$Type(); + const $Call$Factory$Type$(); @jni$_.internal @core$_.override @@ -7554,24 +7597,24 @@ final class $Call$Factory$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $Call$Factory$NullableType(); + jni$_.JType get nullableType => + const $Call$Factory$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Call$Factory$Type).hashCode; + int get hashCode => ($Call$Factory$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Call$Factory$Type) && - other is $Call$Factory$Type; + return other.runtimeType == ($Call$Factory$Type$) && + other is $Call$Factory$Type$; } } @@ -7579,7 +7622,7 @@ final class $Call$Factory$Type extends jni$_.JObjType { class Call extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Call.fromReference( @@ -7590,8 +7633,10 @@ class Call extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Call'); /// The type which includes information such as the signature of this class. - static const nullableType = $Call$NullableType(); - static const type = $Call$Type(); + static const jni$_.JType nullableType = $Call$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Call$Type$(); static final _id_request = _class.instanceMethodId( r'request', r'()Lokhttp3/Request;', @@ -7609,11 +7654,11 @@ class Call extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract okhttp3.Request request()` + /// from: `public fun request(): okhttp3.Request` /// The returned object must be released after use, by calling the [release] method. Request request() { return _request(reference.pointer, _id_request as jni$_.JMethodIDPtr) - .object(const $Request$Type()); + .object(const $Request$Type$()); } static final _id_execute = _class.instanceMethodId( @@ -7633,11 +7678,11 @@ class Call extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract okhttp3.Response execute()` + /// from: `public fun execute(): okhttp3.Response` /// The returned object must be released after use, by calling the [release] method. Response execute() { return _execute(reference.pointer, _id_execute as jni$_.JMethodIDPtr) - .object(const $Response$Type()); + .object(const $Response$Type$()); } static final _id_enqueue = _class.instanceMethodId( @@ -7656,7 +7701,7 @@ class Call extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract void enqueue(okhttp3.Callback callback)` + /// from: `public fun enqueue(responseCallback: okhttp3.Callback): kotlin.Unit` void enqueue( Callback callback, ) { @@ -7683,7 +7728,7 @@ class Call extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract void cancel()` + /// from: `public fun cancel(): kotlin.Unit` void cancel() { _cancel(reference.pointer, _id_cancel as jni$_.JMethodIDPtr).check(); } @@ -7705,7 +7750,7 @@ class Call extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract boolean isExecuted()` + /// from: `public fun isExecuted(): kotlin.Boolean` bool isExecuted() { return _isExecuted(reference.pointer, _id_isExecuted as jni$_.JMethodIDPtr) .boolean; @@ -7728,7 +7773,7 @@ class Call extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract boolean isCanceled()` + /// from: `public fun isCanceled(): kotlin.Boolean` bool isCanceled() { return _isCanceled(reference.pointer, _id_isCanceled as jni$_.JMethodIDPtr) .boolean; @@ -7751,11 +7796,11 @@ class Call extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract okio.Timeout timeout()` + /// from: `public fun timeout(): okio.Timeout` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject timeout() { return _timeout(reference.pointer, _id_timeout as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_clone = _class.instanceMethodId( @@ -7775,11 +7820,11 @@ class Call extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract okhttp3.Call clone()` + /// from: `public fun clone(): okhttp3.Call` /// The returned object must be released after use, by calling the [release] method. Call clone() { return _clone(reference.pointer, _id_clone as jni$_.JMethodIDPtr) - .object(const $Call$Type()); + .object(const $Call$Type$()); } /// Maps a specific port to the implemented interface. @@ -7815,7 +7860,7 @@ class Call extends jni$_.JObject { if ($d == r'request()Lokhttp3/Request;') { final $r = _$impls[$p]!.request(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -7823,14 +7868,14 @@ class Call extends jni$_.JObject { if ($d == r'execute()Lokhttp3/Response;') { final $r = _$impls[$p]!.execute(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } if ($d == r'enqueue(Lokhttp3/Callback;)V') { _$impls[$p]!.enqueue( - $a![0]!.as(const $Callback$Type(), releaseOriginal: true), + $a![0]!.as(const $Callback$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -7849,7 +7894,7 @@ class Call extends jni$_.JObject { if ($d == r'timeout()Lokio/Timeout;') { final $r = _$impls[$p]!.timeout(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -7857,7 +7902,7 @@ class Call extends jni$_.JObject { if ($d == r'clone()Lokhttp3/Call;') { final $r = _$impls[$p]!.clone(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -7998,9 +8043,9 @@ final class _$Call with $Call { } } -final class $Call$NullableType extends jni$_.JObjType { +final class $Call$NullableType$ extends jni$_.JType { @jni$_.internal - const $Call$NullableType(); + const $Call$NullableType$(); @jni$_.internal @core$_.override @@ -8015,29 +8060,29 @@ final class $Call$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Call$NullableType).hashCode; + int get hashCode => ($Call$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Call$NullableType) && - other is $Call$NullableType; + return other.runtimeType == ($Call$NullableType$) && + other is $Call$NullableType$; } } -final class $Call$Type extends jni$_.JObjType { +final class $Call$Type$ extends jni$_.JType { @jni$_.internal - const $Call$Type(); + const $Call$Type$(); @jni$_.internal @core$_.override @@ -8050,22 +8095,22 @@ final class $Call$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $Call$NullableType(); + jni$_.JType get nullableType => const $Call$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Call$Type).hashCode; + int get hashCode => ($Call$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Call$Type) && other is $Call$Type; + return other.runtimeType == ($Call$Type$) && other is $Call$Type$; } } @@ -8073,7 +8118,7 @@ final class $Call$Type extends jni$_.JObjType { class Headers$Builder extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Headers$Builder.fromReference( @@ -8084,8 +8129,11 @@ class Headers$Builder extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Headers$Builder'); /// The type which includes information such as the signature of this class. - static const nullableType = $Headers$Builder$NullableType(); - static const type = $Headers$Builder$Type(); + static const jni$_.JType nullableType = + $Headers$Builder$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Headers$Builder$Type$(); static final _id_new$ = _class.constructorId( r'()V', ); @@ -8126,7 +8174,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder add(java.lang.String string)` + /// from: `public fun add(line: kotlin.String): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder add( jni$_.JString string, @@ -8134,7 +8182,7 @@ class Headers$Builder extends jni$_.JObject { final _$string = string.reference; return _add( reference.pointer, _id_add as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_add$1 = _class.instanceMethodId( @@ -8159,7 +8207,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder add(java.lang.String string, java.lang.String string1)` + /// from: `public fun add(name: kotlin.String, value: kotlin.String): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder add$1( jni$_.JString string, @@ -8169,7 +8217,7 @@ class Headers$Builder extends jni$_.JObject { final _$string1 = string1.reference; return _add$1(reference.pointer, _id_add$1 as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_addUnsafeNonAscii = _class.instanceMethodId( @@ -8194,7 +8242,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder addUnsafeNonAscii(java.lang.String string, java.lang.String string1)` + /// from: `public fun addUnsafeNonAscii(name: kotlin.String, value: kotlin.String): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder addUnsafeNonAscii( jni$_.JString string, @@ -8207,7 +8255,7 @@ class Headers$Builder extends jni$_.JObject { _id_addUnsafeNonAscii as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_addAll = _class.instanceMethodId( @@ -8226,7 +8274,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder addAll(okhttp3.Headers headers)` + /// from: `public fun addAll(headers: okhttp3.Headers): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder addAll( Headers headers, @@ -8234,7 +8282,7 @@ class Headers$Builder extends jni$_.JObject { final _$headers = headers.reference; return _addAll(reference.pointer, _id_addAll as jni$_.JMethodIDPtr, _$headers.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_add$2 = _class.instanceMethodId( @@ -8259,7 +8307,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder add(java.lang.String string, java.util.Date date)` + /// from: `public fun add(name: kotlin.String, value: java.util.Date): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder add$2( jni$_.JString string, @@ -8269,7 +8317,7 @@ class Headers$Builder extends jni$_.JObject { final _$date = date.reference; return _add$2(reference.pointer, _id_add$2 as jni$_.JMethodIDPtr, _$string.pointer, _$date.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_add$3 = _class.instanceMethodId( @@ -8294,7 +8342,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder add(java.lang.String string, java.time.Instant instant)` + /// from: `public fun add(name: kotlin.String, value: java.time.Instant): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder add$3( jni$_.JString string, @@ -8304,7 +8352,7 @@ class Headers$Builder extends jni$_.JObject { final _$instant = instant.reference; return _add$3(reference.pointer, _id_add$3 as jni$_.JMethodIDPtr, _$string.pointer, _$instant.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_set = _class.instanceMethodId( @@ -8329,7 +8377,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder set(java.lang.String string, java.util.Date date)` + /// from: `public operator fun set(name: kotlin.String, value: java.util.Date): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder set( jni$_.JString string, @@ -8339,7 +8387,7 @@ class Headers$Builder extends jni$_.JObject { final _$date = date.reference; return _set(reference.pointer, _id_set as jni$_.JMethodIDPtr, _$string.pointer, _$date.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_set$1 = _class.instanceMethodId( @@ -8364,7 +8412,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder set(java.lang.String string, java.time.Instant instant)` + /// from: `public operator fun set(name: kotlin.String, value: java.time.Instant): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder set$1( jni$_.JString string, @@ -8374,7 +8422,7 @@ class Headers$Builder extends jni$_.JObject { final _$instant = instant.reference; return _set$1(reference.pointer, _id_set$1 as jni$_.JMethodIDPtr, _$string.pointer, _$instant.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_removeAll = _class.instanceMethodId( @@ -8393,7 +8441,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder removeAll(java.lang.String string)` + /// from: `public fun removeAll(name: kotlin.String): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder removeAll( jni$_.JString string, @@ -8401,7 +8449,7 @@ class Headers$Builder extends jni$_.JObject { final _$string = string.reference; return _removeAll(reference.pointer, _id_removeAll as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_set$2 = _class.instanceMethodId( @@ -8426,7 +8474,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers$Builder set(java.lang.String string, java.lang.String string1)` + /// from: `public operator fun set(name: kotlin.String, value: kotlin.String): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder set$2( jni$_.JString string, @@ -8436,7 +8484,7 @@ class Headers$Builder extends jni$_.JObject { final _$string1 = string1.reference; return _set$2(reference.pointer, _id_set$2 as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_get = _class.instanceMethodId( @@ -8455,7 +8503,7 @@ class Headers$Builder extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.lang.String get(java.lang.String string)` + /// from: `public operator fun get(name: kotlin.String): kotlin.String?` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? get( jni$_.JString string, @@ -8463,7 +8511,7 @@ class Headers$Builder extends jni$_.JObject { final _$string = string.reference; return _get( reference.pointer, _id_get as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_build = _class.instanceMethodId( @@ -8483,18 +8531,26 @@ class Headers$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okhttp3.Headers build()` + /// from: `public fun build(): okhttp3.Headers` /// The returned object must be released after use, by calling the [release] method. Headers build() { return _build(reference.pointer, _id_build as jni$_.JMethodIDPtr) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); + } + + void operator []=(jni$_.JString string, jni$_.JObject date) { + set(string, date); + } + + jni$_.JString? operator [](jni$_.JString string) { + return get(string); } } -final class $Headers$Builder$NullableType - extends jni$_.JObjType { +final class $Headers$Builder$NullableType$ + extends jni$_.JType { @jni$_.internal - const $Headers$Builder$NullableType(); + const $Headers$Builder$NullableType$(); @jni$_.internal @core$_.override @@ -8509,29 +8565,29 @@ final class $Headers$Builder$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Headers$Builder$NullableType).hashCode; + int get hashCode => ($Headers$Builder$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Headers$Builder$NullableType) && - other is $Headers$Builder$NullableType; + return other.runtimeType == ($Headers$Builder$NullableType$) && + other is $Headers$Builder$NullableType$; } } -final class $Headers$Builder$Type extends jni$_.JObjType { +final class $Headers$Builder$Type$ extends jni$_.JType { @jni$_.internal - const $Headers$Builder$Type(); + const $Headers$Builder$Type$(); @jni$_.internal @core$_.override @@ -8545,24 +8601,24 @@ final class $Headers$Builder$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $Headers$Builder$NullableType(); + jni$_.JType get nullableType => + const $Headers$Builder$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Headers$Builder$Type).hashCode; + int get hashCode => ($Headers$Builder$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Headers$Builder$Type) && - other is $Headers$Builder$Type; + return other.runtimeType == ($Headers$Builder$Type$) && + other is $Headers$Builder$Type$; } } @@ -8570,7 +8626,7 @@ final class $Headers$Builder$Type extends jni$_.JObjType { class Headers$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Headers$Companion.fromReference( @@ -8581,8 +8637,11 @@ class Headers$Companion extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Headers$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $Headers$Companion$NullableType(); - static const type = $Headers$Companion$Type(); + static const jni$_.JType nullableType = + $Headers$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Headers$Companion$Type$(); static final _id_of = _class.instanceMethodId( r'of', r'([Ljava/lang/String;)Lokhttp3/Headers;', @@ -8599,7 +8658,7 @@ class Headers$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers of(java.lang.String[] strings)` + /// from: `public fun headersOf(vararg namesAndValues: kotlin.String): okhttp3.Headers` /// The returned object must be released after use, by calling the [release] method. Headers of( jni$_.JArray strings, @@ -8607,7 +8666,7 @@ class Headers$Companion extends jni$_.JObject { final _$strings = strings.reference; return _of( reference.pointer, _id_of as jni$_.JMethodIDPtr, _$strings.pointer) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); } static final _id_of$1 = _class.instanceMethodId( @@ -8626,7 +8685,7 @@ class Headers$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers of(java.util.Map map)` + /// from: `public fun toHeaders(): okhttp3.Headers` /// The returned object must be released after use, by calling the [release] method. Headers of$1( jni$_.JMap map, @@ -8634,7 +8693,7 @@ class Headers$Companion extends jni$_.JObject { final _$map = map.reference; return _of$1( reference.pointer, _id_of$1 as jni$_.JMethodIDPtr, _$map.pointer) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); } static final _id_new$ = _class.constructorId( @@ -8665,10 +8724,10 @@ class Headers$Companion extends jni$_.JObject { } } -final class $Headers$Companion$NullableType - extends jni$_.JObjType { +final class $Headers$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $Headers$Companion$NullableType(); + const $Headers$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -8684,29 +8743,29 @@ final class $Headers$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Headers$Companion$NullableType).hashCode; + int get hashCode => ($Headers$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Headers$Companion$NullableType) && - other is $Headers$Companion$NullableType; + return other.runtimeType == ($Headers$Companion$NullableType$) && + other is $Headers$Companion$NullableType$; } } -final class $Headers$Companion$Type extends jni$_.JObjType { +final class $Headers$Companion$Type$ extends jni$_.JType { @jni$_.internal - const $Headers$Companion$Type(); + const $Headers$Companion$Type$(); @jni$_.internal @core$_.override @@ -8720,24 +8779,24 @@ final class $Headers$Companion$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $Headers$Companion$NullableType(); + jni$_.JType get nullableType => + const $Headers$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Headers$Companion$Type).hashCode; + int get hashCode => ($Headers$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Headers$Companion$Type) && - other is $Headers$Companion$Type; + return other.runtimeType == ($Headers$Companion$Type$) && + other is $Headers$Companion$Type$; } } @@ -8745,7 +8804,7 @@ final class $Headers$Companion$Type extends jni$_.JObjType { class Headers extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Headers.fromReference( @@ -8756,8 +8815,10 @@ class Headers extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Headers'); /// The type which includes information such as the signature of this class. - static const nullableType = $Headers$NullableType(); - static const type = $Headers$Type(); + static const jni$_.JType nullableType = $Headers$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Headers$Type$(); static final _id_Companion = _class.staticFieldId( r'Companion', r'Lokhttp3/Headers$Companion;', @@ -8766,7 +8827,7 @@ class Headers extends jni$_.JObject { /// from: `static public final okhttp3.Headers$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static Headers$Companion get Companion => - _id_Companion.get(_class, const $Headers$Companion$Type()); + _id_Companion.get(_class, const $Headers$Companion$Type$()); static final _id_get = _class.instanceMethodId( r'get', @@ -8784,7 +8845,7 @@ class Headers extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.lang.String get(java.lang.String string)` + /// from: `public operator fun get(name: kotlin.String): kotlin.String?` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? get( jni$_.JString string, @@ -8792,7 +8853,7 @@ class Headers extends jni$_.JObject { final _$string = string.reference; return _get( reference.pointer, _id_get as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getDate = _class.instanceMethodId( @@ -8811,7 +8872,7 @@ class Headers extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.util.Date getDate(java.lang.String string)` + /// from: `public fun getDate(name: kotlin.String): java.util.Date?` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getDate( jni$_.JString string, @@ -8819,7 +8880,7 @@ class Headers extends jni$_.JObject { final _$string = string.reference; return _getDate(reference.pointer, _id_getDate as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_getInstant = _class.instanceMethodId( @@ -8838,7 +8899,7 @@ class Headers extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.time.Instant getInstant(java.lang.String string)` + /// from: `public fun getInstant(name: kotlin.String): java.time.Instant?` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getInstant( jni$_.JString string, @@ -8846,7 +8907,7 @@ class Headers extends jni$_.JObject { final _$string = string.reference; return _getInstant(reference.pointer, _id_getInstant as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_size = _class.instanceMethodId( @@ -8886,13 +8947,13 @@ class Headers extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public final java.lang.String name(int i)` + /// from: `public fun name(index: kotlin.Int): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString name( int i, ) { return _name(reference.pointer, _id_name as jni$_.JMethodIDPtr, i) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_value = _class.instanceMethodId( @@ -8910,13 +8971,13 @@ class Headers extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public final java.lang.String value(int i)` + /// from: `public fun value(index: kotlin.Int): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString value( int i, ) { return _value(reference.pointer, _id_value as jni$_.JMethodIDPtr, i) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_names = _class.instanceMethodId( @@ -8936,12 +8997,12 @@ class Headers extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.Set names()` + /// from: `public fun names(): kotlin.collections.Set` /// The returned object must be released after use, by calling the [release] method. jni$_.JSet names() { return _names(reference.pointer, _id_names as jni$_.JMethodIDPtr) .object>( - const jni$_.JSetType(jni$_.JStringType())); + const jni$_.$JSet$Type$(jni$_.$JString$Type$())); } static final _id_values = _class.instanceMethodId( @@ -8960,7 +9021,7 @@ class Headers extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.util.List values(java.lang.String string)` + /// from: `public fun values(name: kotlin.String): kotlin.collections.List` /// The returned object must be released after use, by calling the [release] method. jni$_.JList values( jni$_.JString string, @@ -8969,7 +9030,7 @@ class Headers extends jni$_.JObject { return _values(reference.pointer, _id_values as jni$_.JMethodIDPtr, _$string.pointer) .object>( - const jni$_.JListType(jni$_.JStringType())); + const jni$_.$JList$Type$(jni$_.$JString$Type$())); } static final _id_byteCount = _class.instanceMethodId( @@ -8989,7 +9050,7 @@ class Headers extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final long byteCount()` + /// from: `public fun byteCount(): kotlin.Long` int byteCount() { return _byteCount(reference.pointer, _id_byteCount as jni$_.JMethodIDPtr) .long; @@ -9012,12 +9073,13 @@ class Headers extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.util.Iterator iterator()` + /// from: `public operator fun iterator(): kotlin.collections.Iterator>` /// The returned object must be released after use, by calling the [release] method. jni$_.JIterator iterator() { return _iterator(reference.pointer, _id_iterator as jni$_.JMethodIDPtr) .object>( - const jni$_.JIteratorType(jni$_.JObjectType())); + const jni$_.$JIterator$Type$( + jni$_.$JObject$Type$())); } static final _id_newBuilder = _class.instanceMethodId( @@ -9037,11 +9099,11 @@ class Headers extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okhttp3.Headers$Builder newBuilder()` + /// from: `public fun newBuilder(): okhttp3.Headers.Builder` /// The returned object must be released after use, by calling the [release] method. Headers$Builder newBuilder() { return _newBuilder(reference.pointer, _id_newBuilder as jni$_.JMethodIDPtr) - .object(const $Headers$Builder$Type()); + .object(const $Headers$Builder$Type$()); } static final _id_equals = _class.instanceMethodId( @@ -9060,7 +9122,7 @@ class Headers extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public boolean equals(java.lang.Object object)` + /// from: `public operator fun equals(other: kotlin.Any?): kotlin.Boolean` bool equals( jni$_.JObject? object, ) { @@ -9087,7 +9149,7 @@ class Headers extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public int hashCode()` + /// from: `public fun hashCode(): kotlin.Int` int hashCode$1() { return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) .integer; @@ -9110,11 +9172,11 @@ class Headers extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String toString()` + /// from: `public fun toString(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString toString$1() { return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_toMultimap = _class.instanceMethodId( @@ -9134,14 +9196,14 @@ class Headers extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.Map toMultimap()` + /// from: `public fun toMultimap(): kotlin.collections.Map>` /// The returned object must be released after use, by calling the [release] method. jni$_.JMap> toMultimap() { return _toMultimap(reference.pointer, _id_toMultimap as jni$_.JMethodIDPtr) .object>>( - const jni$_.JMapType>( - jni$_.JStringType(), - jni$_.JListType(jni$_.JStringType()))); + const jni$_.$JMap$Type$>( + jni$_.$JString$Type$(), + jni$_.$JList$Type$(jni$_.$JString$Type$()))); } static final _id_of = _class.staticMethodId( @@ -9168,7 +9230,7 @@ class Headers extends jni$_.JObject { final _$strings = strings.reference; return _of(_class.reference.pointer, _id_of as jni$_.JMethodIDPtr, _$strings.pointer) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); } static final _id_of$1 = _class.staticMethodId( @@ -9187,7 +9249,7 @@ class Headers extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public final okhttp3.Headers of(java.util.Map map)` + /// from: `static public final okhttp3.Headers of(java.util.Map map)` /// The returned object must be released after use, by calling the [release] method. static Headers of$1( jni$_.JMap map, @@ -9195,7 +9257,7 @@ class Headers extends jni$_.JObject { final _$map = map.reference; return _of$1(_class.reference.pointer, _id_of$1 as jni$_.JMethodIDPtr, _$map.pointer) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); } static final _id_new$ = _class.constructorId( @@ -9235,11 +9297,15 @@ class Headers extends jni$_.JObject { _$defaultConstructorMarker.pointer) .reference); } + + jni$_.JString? operator [](jni$_.JString string) { + return get(string); + } } -final class $Headers$NullableType extends jni$_.JObjType { +final class $Headers$NullableType$ extends jni$_.JType { @jni$_.internal - const $Headers$NullableType(); + const $Headers$NullableType$(); @jni$_.internal @core$_.override @@ -9254,29 +9320,29 @@ final class $Headers$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Headers$NullableType).hashCode; + int get hashCode => ($Headers$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Headers$NullableType) && - other is $Headers$NullableType; + return other.runtimeType == ($Headers$NullableType$) && + other is $Headers$NullableType$; } } -final class $Headers$Type extends jni$_.JObjType { +final class $Headers$Type$ extends jni$_.JType { @jni$_.internal - const $Headers$Type(); + const $Headers$Type$(); @jni$_.internal @core$_.override @@ -9289,22 +9355,22 @@ final class $Headers$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $Headers$NullableType(); + jni$_.JType get nullableType => const $Headers$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Headers$Type).hashCode; + int get hashCode => ($Headers$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Headers$Type) && other is $Headers$Type; + return other.runtimeType == ($Headers$Type$) && other is $Headers$Type$; } } @@ -9312,7 +9378,7 @@ final class $Headers$Type extends jni$_.JObjType { class Callback extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Callback.fromReference( @@ -9323,8 +9389,10 @@ class Callback extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Callback'); /// The type which includes information such as the signature of this class. - static const nullableType = $Callback$NullableType(); - static const type = $Callback$Type(); + static const jni$_.JType nullableType = $Callback$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Callback$Type$(); static final _id_onFailure = _class.instanceMethodId( r'onFailure', r'(Lokhttp3/Call;Ljava/io/IOException;)V', @@ -9347,7 +9415,7 @@ class Callback extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onFailure(okhttp3.Call call, java.io.IOException iOException)` + /// from: `public fun onFailure(call: okhttp3.Call, e: java.io.IOException): kotlin.Unit` void onFailure( Call call, jni$_.JObject iOException, @@ -9381,7 +9449,7 @@ class Callback extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onResponse(okhttp3.Call call, okhttp3.Response response)` + /// from: `public fun onResponse(call: okhttp3.Call, response: okhttp3.Response): kotlin.Unit` void onResponse( Call call, Response response, @@ -9425,15 +9493,15 @@ class Callback extends jni$_.JObject { final $a = $i.args; if ($d == r'onFailure(Lokhttp3/Call;Ljava/io/IOException;)V') { _$impls[$p]!.onFailure( - $a![0]!.as(const $Call$Type(), releaseOriginal: true), - $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![0]!.as(const $Call$Type$(), releaseOriginal: true), + $a![1]!.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onResponse(Lokhttp3/Call;Lokhttp3/Response;)V') { _$impls[$p]!.onResponse( - $a![0]!.as(const $Call$Type(), releaseOriginal: true), - $a![1]!.as(const $Response$Type(), releaseOriginal: true), + $a![0]!.as(const $Call$Type$(), releaseOriginal: true), + $a![1]!.as(const $Response$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -9521,9 +9589,9 @@ final class _$Callback with $Callback { } } -final class $Callback$NullableType extends jni$_.JObjType { +final class $Callback$NullableType$ extends jni$_.JType { @jni$_.internal - const $Callback$NullableType(); + const $Callback$NullableType$(); @jni$_.internal @core$_.override @@ -9538,29 +9606,29 @@ final class $Callback$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Callback$NullableType).hashCode; + int get hashCode => ($Callback$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Callback$NullableType) && - other is $Callback$NullableType; + return other.runtimeType == ($Callback$NullableType$) && + other is $Callback$NullableType$; } } -final class $Callback$Type extends jni$_.JObjType { +final class $Callback$Type$ extends jni$_.JType { @jni$_.internal - const $Callback$Type(); + const $Callback$Type$(); @jni$_.internal @core$_.override @@ -9573,22 +9641,22 @@ final class $Callback$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $Callback$NullableType(); + jni$_.JType get nullableType => const $Callback$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Callback$Type).hashCode; + int get hashCode => ($Callback$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Callback$Type) && other is $Callback$Type; + return other.runtimeType == ($Callback$Type$) && other is $Callback$Type$; } } @@ -9596,7 +9664,7 @@ final class $Callback$Type extends jni$_.JObjType { class ConnectionPool extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal ConnectionPool.fromReference( @@ -9607,8 +9675,11 @@ class ConnectionPool extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/ConnectionPool'); /// The type which includes information such as the signature of this class. - static const nullableType = $ConnectionPool$NullableType(); - static const type = $ConnectionPool$Type(); + static const jni$_.JType nullableType = + $ConnectionPool$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $ConnectionPool$Type$(); static final _id_new$ = _class.constructorId( r'(Lokhttp3/internal/connection/RealConnectionPool;)V', ); @@ -9708,7 +9779,7 @@ class ConnectionPool extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int idleConnectionCount()` + /// from: `public fun idleConnectionCount(): kotlin.Int` int idleConnectionCount() { return _idleConnectionCount( reference.pointer, _id_idleConnectionCount as jni$_.JMethodIDPtr) @@ -9732,7 +9803,7 @@ class ConnectionPool extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int connectionCount()` + /// from: `public fun connectionCount(): kotlin.Int` int connectionCount() { return _connectionCount( reference.pointer, _id_connectionCount as jni$_.JMethodIDPtr) @@ -9756,16 +9827,15 @@ class ConnectionPool extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final void evictAll()` + /// from: `public fun evictAll(): kotlin.Unit` void evictAll() { _evictAll(reference.pointer, _id_evictAll as jni$_.JMethodIDPtr).check(); } } -final class $ConnectionPool$NullableType - extends jni$_.JObjType { +final class $ConnectionPool$NullableType$ extends jni$_.JType { @jni$_.internal - const $ConnectionPool$NullableType(); + const $ConnectionPool$NullableType$(); @jni$_.internal @core$_.override @@ -9780,29 +9850,29 @@ final class $ConnectionPool$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ConnectionPool$NullableType).hashCode; + int get hashCode => ($ConnectionPool$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ConnectionPool$NullableType) && - other is $ConnectionPool$NullableType; + return other.runtimeType == ($ConnectionPool$NullableType$) && + other is $ConnectionPool$NullableType$; } } -final class $ConnectionPool$Type extends jni$_.JObjType { +final class $ConnectionPool$Type$ extends jni$_.JType { @jni$_.internal - const $ConnectionPool$Type(); + const $ConnectionPool$Type$(); @jni$_.internal @core$_.override @@ -9816,24 +9886,24 @@ final class $ConnectionPool$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $ConnectionPool$NullableType(); + jni$_.JType get nullableType => + const $ConnectionPool$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ConnectionPool$Type).hashCode; + int get hashCode => ($ConnectionPool$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ConnectionPool$Type) && - other is $ConnectionPool$Type; + return other.runtimeType == ($ConnectionPool$Type$) && + other is $ConnectionPool$Type$; } } @@ -9841,7 +9911,7 @@ final class $ConnectionPool$Type extends jni$_.JObjType { class Dispatcher extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Dispatcher.fromReference( @@ -9852,8 +9922,11 @@ class Dispatcher extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Dispatcher'); /// The type which includes information such as the signature of this class. - static const nullableType = $Dispatcher$NullableType(); - static const type = $Dispatcher$Type(); + static const jni$_.JType nullableType = + $Dispatcher$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Dispatcher$Type$(); static final _id_new$ = _class.constructorId( r'()V', ); @@ -9996,7 +10069,7 @@ class Dispatcher extends jni$_.JObject { jni$_.JObject? getIdleCallback() { return _getIdleCallback( reference.pointer, _id_getIdleCallback as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_setIdleCallback = _class.instanceMethodId( @@ -10047,7 +10120,7 @@ class Dispatcher extends jni$_.JObject { ExecutorService executorService() { return _executorService( reference.pointer, _id_executorService as jni$_.JMethodIDPtr) - .object(const $ExecutorService$Type()); + .object(const $ExecutorService$Type$()); } static final _id_new$1 = _class.constructorId( @@ -10093,7 +10166,7 @@ class Dispatcher extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final void cancelAll()` + /// from: `public fun cancelAll(): kotlin.Unit` void cancelAll() { _cancelAll(reference.pointer, _id_cancelAll as jni$_.JMethodIDPtr).check(); } @@ -10115,12 +10188,13 @@ class Dispatcher extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List queuedCalls()` + /// from: `public fun queuedCalls(): kotlin.collections.List` /// The returned object must be released after use, by calling the [release] method. jni$_.JList queuedCalls() { return _queuedCalls( reference.pointer, _id_queuedCalls as jni$_.JMethodIDPtr) - .object>(const jni$_.JListType($Call$Type())); + .object>( + const jni$_.$JList$Type$($Call$Type$())); } static final _id_runningCalls = _class.instanceMethodId( @@ -10140,12 +10214,13 @@ class Dispatcher extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.List runningCalls()` + /// from: `public fun runningCalls(): kotlin.collections.List` /// The returned object must be released after use, by calling the [release] method. jni$_.JList runningCalls() { return _runningCalls( reference.pointer, _id_runningCalls as jni$_.JMethodIDPtr) - .object>(const jni$_.JListType($Call$Type())); + .object>( + const jni$_.$JList$Type$($Call$Type$())); } static final _id_queuedCallsCount = _class.instanceMethodId( @@ -10165,7 +10240,7 @@ class Dispatcher extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int queuedCallsCount()` + /// from: `public fun queuedCallsCount(): kotlin.Int` int queuedCallsCount() { return _queuedCallsCount( reference.pointer, _id_queuedCallsCount as jni$_.JMethodIDPtr) @@ -10189,7 +10264,7 @@ class Dispatcher extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int runningCallsCount()` + /// from: `public fun runningCallsCount(): kotlin.Int` int runningCallsCount() { return _runningCallsCount( reference.pointer, _id_runningCallsCount as jni$_.JMethodIDPtr) @@ -10197,9 +10272,9 @@ class Dispatcher extends jni$_.JObject { } } -final class $Dispatcher$NullableType extends jni$_.JObjType { +final class $Dispatcher$NullableType$ extends jni$_.JType { @jni$_.internal - const $Dispatcher$NullableType(); + const $Dispatcher$NullableType$(); @jni$_.internal @core$_.override @@ -10214,29 +10289,29 @@ final class $Dispatcher$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Dispatcher$NullableType).hashCode; + int get hashCode => ($Dispatcher$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Dispatcher$NullableType) && - other is $Dispatcher$NullableType; + return other.runtimeType == ($Dispatcher$NullableType$) && + other is $Dispatcher$NullableType$; } } -final class $Dispatcher$Type extends jni$_.JObjType { +final class $Dispatcher$Type$ extends jni$_.JType { @jni$_.internal - const $Dispatcher$Type(); + const $Dispatcher$Type$(); @jni$_.internal @core$_.override @@ -10250,23 +10325,24 @@ final class $Dispatcher$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $Dispatcher$NullableType(); + jni$_.JType get nullableType => + const $Dispatcher$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Dispatcher$Type).hashCode; + int get hashCode => ($Dispatcher$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Dispatcher$Type) && other is $Dispatcher$Type; + return other.runtimeType == ($Dispatcher$Type$) && + other is $Dispatcher$Type$; } } @@ -10274,7 +10350,7 @@ final class $Dispatcher$Type extends jni$_.JObjType { class ExecutorService extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal ExecutorService.fromReference( @@ -10286,8 +10362,254 @@ class ExecutorService extends jni$_.JObject { jni$_.JClass.forName(r'java/util/concurrent/ExecutorService'); /// The type which includes information such as the signature of this class. - static const nullableType = $ExecutorService$NullableType(); - static const type = $ExecutorService$Type(); + static const jni$_.JType nullableType = + $ExecutorService$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $ExecutorService$Type$(); + static final _id_awaitTermination = _class.instanceMethodId( + r'awaitTermination', + r'(JLjava/util/concurrent/TimeUnit;)Z', + ); + + static final _awaitTermination = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Int64, jni$_.Pointer)>)>>( + 'globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + + /// from: `public abstract boolean awaitTermination(long j, java.util.concurrent.TimeUnit timeUnit)` + bool awaitTermination( + int j, + TimeUnit? timeUnit, + ) { + final _$timeUnit = timeUnit?.reference ?? jni$_.jNullReference; + return _awaitTermination(reference.pointer, + _id_awaitTermination as jni$_.JMethodIDPtr, j, _$timeUnit.pointer) + .boolean; + } + + static final _id_close = _class.instanceMethodId( + r'close', + r'()V', + ); + + static final _close = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public void close()` + void close() { + _close(reference.pointer, _id_close as jni$_.JMethodIDPtr).check(); + } + + static final _id_invokeAll = _class.instanceMethodId( + r'invokeAll', + r'(Ljava/util/Collection;)Ljava/util/List;', + ); + + static final _invokeAll = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public abstract java.util.List> invokeAll(java.util.Collection collection)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JList? invokeAll<$T extends jni$_.JObject?>( + jni$_.JObject? collection, { + required jni$_.JType<$T> T, + }) { + final _$collection = collection?.reference ?? jni$_.jNullReference; + return _invokeAll(reference.pointer, _id_invokeAll as jni$_.JMethodIDPtr, + _$collection.pointer) + .object?>( + const jni$_.$JList$NullableType$( + jni$_.$JObject$NullableType$())); + } + + static final _id_invokeAll$1 = _class.instanceMethodId( + r'invokeAll', + r'(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;', + ); + + static final _invokeAll$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int64, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + jni$_.Pointer)>(); + + /// from: `public abstract java.util.List> invokeAll(java.util.Collection collection, long j, java.util.concurrent.TimeUnit timeUnit)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JList? invokeAll$1<$T extends jni$_.JObject?>( + jni$_.JObject? collection, + int j, + TimeUnit? timeUnit, { + required jni$_.JType<$T> T, + }) { + final _$collection = collection?.reference ?? jni$_.jNullReference; + final _$timeUnit = timeUnit?.reference ?? jni$_.jNullReference; + return _invokeAll$1( + reference.pointer, + _id_invokeAll$1 as jni$_.JMethodIDPtr, + _$collection.pointer, + j, + _$timeUnit.pointer) + .object?>( + const jni$_.$JList$NullableType$( + jni$_.$JObject$NullableType$())); + } + + static final _id_invokeAny = _class.instanceMethodId( + r'invokeAny', + r'(Ljava/util/Collection;)Ljava/lang/Object;', + ); + + static final _invokeAny = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public abstract T invokeAny(java.util.Collection collection)` + /// The returned object must be released after use, by calling the [release] method. + $T? invokeAny<$T extends jni$_.JObject?>( + jni$_.JObject? collection, { + required jni$_.JType<$T> T, + }) { + final _$collection = collection?.reference ?? jni$_.jNullReference; + return _invokeAny(reference.pointer, _id_invokeAny as jni$_.JMethodIDPtr, + _$collection.pointer) + .object<$T?>(T.nullableType); + } + + static final _id_invokeAny$1 = _class.instanceMethodId( + r'invokeAny', + r'(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;', + ); + + static final _invokeAny$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int64, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + jni$_.Pointer)>(); + + /// from: `public abstract T invokeAny(java.util.Collection collection, long j, java.util.concurrent.TimeUnit timeUnit)` + /// The returned object must be released after use, by calling the [release] method. + $T? invokeAny$1<$T extends jni$_.JObject?>( + jni$_.JObject? collection, + int j, + TimeUnit? timeUnit, { + required jni$_.JType<$T> T, + }) { + final _$collection = collection?.reference ?? jni$_.jNullReference; + final _$timeUnit = timeUnit?.reference ?? jni$_.jNullReference; + return _invokeAny$1( + reference.pointer, + _id_invokeAny$1 as jni$_.JMethodIDPtr, + _$collection.pointer, + j, + _$timeUnit.pointer) + .object<$T?>(T.nullableType); + } + + static final _id_isShutdown = _class.instanceMethodId( + r'isShutdown', + r'()Z', + ); + + static final _isShutdown = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract boolean isShutdown()` + bool isShutdown() { + return _isShutdown(reference.pointer, _id_isShutdown as jni$_.JMethodIDPtr) + .boolean; + } + + static final _id_isTerminated = _class.instanceMethodId( + r'isTerminated', + r'()Z', + ); + + static final _isTerminated = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract boolean isTerminated()` + bool isTerminated() { + return _isTerminated( + reference.pointer, _id_isTerminated as jni$_.JMethodIDPtr) + .boolean; + } + static final _id_shutdown = _class.instanceMethodId( r'shutdown', r'()V', @@ -10327,94 +10649,19 @@ class ExecutorService extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract java.util.List shutdownNow()` + /// from: `public abstract java.util.List shutdownNow()` /// The returned object must be released after use, by calling the [release] method. jni$_.JList? shutdownNow() { return _shutdownNow( reference.pointer, _id_shutdownNow as jni$_.JMethodIDPtr) .object?>( - const jni$_.JListNullableType( - jni$_.JObjectNullableType())); - } - - static final _id_isShutdown = _class.instanceMethodId( - r'isShutdown', - r'()Z', - ); - - static final _isShutdown = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public abstract boolean isShutdown()` - bool isShutdown() { - return _isShutdown(reference.pointer, _id_isShutdown as jni$_.JMethodIDPtr) - .boolean; - } - - static final _id_isTerminated = _class.instanceMethodId( - r'isTerminated', - r'()Z', - ); - - static final _isTerminated = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public abstract boolean isTerminated()` - bool isTerminated() { - return _isTerminated( - reference.pointer, _id_isTerminated as jni$_.JMethodIDPtr) - .boolean; - } - - static final _id_awaitTermination = _class.instanceMethodId( - r'awaitTermination', - r'(JLjava/util/concurrent/TimeUnit;)Z', - ); - - static final _awaitTermination = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int64, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); - - /// from: `public abstract boolean awaitTermination(long j, java.util.concurrent.TimeUnit timeUnit)` - bool awaitTermination( - int j, - TimeUnit? timeUnit, - ) { - final _$timeUnit = timeUnit?.reference ?? jni$_.jNullReference; - return _awaitTermination(reference.pointer, - _id_awaitTermination as jni$_.JMethodIDPtr, j, _$timeUnit.pointer) - .boolean; + const jni$_.$JList$NullableType$( + jni$_.$JObject$NullableType$())); } static final _id_submit = _class.instanceMethodId( r'submit', - r'(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;', + r'(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;', ); static final _submit = jni$_.ProtectedJniExtensions.lookup< @@ -10428,16 +10675,15 @@ class ExecutorService extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract java.util.concurrent.Future submit(java.util.concurrent.Callable callable)` + /// from: `public abstract java.util.concurrent.Future submit(java.lang.Runnable runnable)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? submit<$T extends jni$_.JObject?>( - jni$_.JObject? callable, { - required jni$_.JObjType<$T> T, - }) { - final _$callable = callable?.reference ?? jni$_.jNullReference; + jni$_.JObject? submit( + jni$_.JObject? runnable, + ) { + final _$runnable = runnable?.reference ?? jni$_.jNullReference; return _submit(reference.pointer, _id_submit as jni$_.JMethodIDPtr, - _$callable.pointer) - .object(const jni$_.JObjectNullableType()); + _$runnable.pointer) + .object(const jni$_.$JObject$NullableType$()); } static final _id_submit$1 = _class.instanceMethodId( @@ -10462,23 +10708,23 @@ class ExecutorService extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract java.util.concurrent.Future submit(java.lang.Runnable runnable, T object)` + /// from: `public abstract java.util.concurrent.Future submit(java.lang.Runnable runnable, T object)` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? submit$1<$T extends jni$_.JObject?>( jni$_.JObject? runnable, $T? object, { - required jni$_.JObjType<$T> T, + required jni$_.JType<$T> T, }) { final _$runnable = runnable?.reference ?? jni$_.jNullReference; final _$object = object?.reference ?? jni$_.jNullReference; return _submit$1(reference.pointer, _id_submit$1 as jni$_.JMethodIDPtr, _$runnable.pointer, _$object.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_submit$2 = _class.instanceMethodId( r'submit', - r'(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;', + r'(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;', ); static final _submit$2 = jni$_.ProtectedJniExtensions.lookup< @@ -10492,161 +10738,16 @@ class ExecutorService extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract java.util.concurrent.Future submit(java.lang.Runnable runnable)` + /// from: `public abstract java.util.concurrent.Future submit(java.util.concurrent.Callable callable)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? submit$2( - jni$_.JObject? runnable, - ) { - final _$runnable = runnable?.reference ?? jni$_.jNullReference; - return _submit$2(reference.pointer, _id_submit$2 as jni$_.JMethodIDPtr, - _$runnable.pointer) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_invokeAll = _class.instanceMethodId( - r'invokeAll', - r'(Ljava/util/Collection;)Ljava/util/List;', - ); - - static final _invokeAll = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `public abstract java.util.List invokeAll(java.util.Collection collection)` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JList? invokeAll<$T extends jni$_.JObject?>( - jni$_.JObject? collection, { - required jni$_.JObjType<$T> T, - }) { - final _$collection = collection?.reference ?? jni$_.jNullReference; - return _invokeAll(reference.pointer, _id_invokeAll as jni$_.JMethodIDPtr, - _$collection.pointer) - .object?>( - const jni$_.JListNullableType( - jni$_.JObjectNullableType())); - } - - static final _id_invokeAll$1 = _class.instanceMethodId( - r'invokeAll', - r'(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;', - ); - - static final _invokeAll$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int64, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - jni$_.Pointer)>(); - - /// from: `public abstract java.util.List invokeAll(java.util.Collection collection, long j, java.util.concurrent.TimeUnit timeUnit)` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JList? invokeAll$1<$T extends jni$_.JObject?>( - jni$_.JObject? collection, - int j, - TimeUnit? timeUnit, { - required jni$_.JObjType<$T> T, - }) { - final _$collection = collection?.reference ?? jni$_.jNullReference; - final _$timeUnit = timeUnit?.reference ?? jni$_.jNullReference; - return _invokeAll$1( - reference.pointer, - _id_invokeAll$1 as jni$_.JMethodIDPtr, - _$collection.pointer, - j, - _$timeUnit.pointer) - .object?>( - const jni$_.JListNullableType( - jni$_.JObjectNullableType())); - } - - static final _id_invokeAny = _class.instanceMethodId( - r'invokeAny', - r'(Ljava/util/Collection;)Ljava/lang/Object;', - ); - - static final _invokeAny = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `public abstract T invokeAny(java.util.Collection collection)` - /// The returned object must be released after use, by calling the [release] method. - $T? invokeAny<$T extends jni$_.JObject?>( - jni$_.JObject? collection, { - required jni$_.JObjType<$T> T, - }) { - final _$collection = collection?.reference ?? jni$_.jNullReference; - return _invokeAny(reference.pointer, _id_invokeAny as jni$_.JMethodIDPtr, - _$collection.pointer) - .object<$T?>(T.nullableType); - } - - static final _id_invokeAny$1 = _class.instanceMethodId( - r'invokeAny', - r'(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;', - ); - - static final _invokeAny$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int64, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - jni$_.Pointer)>(); - - /// from: `public abstract T invokeAny(java.util.Collection collection, long j, java.util.concurrent.TimeUnit timeUnit)` - /// The returned object must be released after use, by calling the [release] method. - $T? invokeAny$1<$T extends jni$_.JObject?>( - jni$_.JObject? collection, - int j, - TimeUnit? timeUnit, { - required jni$_.JObjType<$T> T, + jni$_.JObject? submit$2<$T extends jni$_.JObject?>( + jni$_.JObject? callable, { + required jni$_.JType<$T> T, }) { - final _$collection = collection?.reference ?? jni$_.jNullReference; - final _$timeUnit = timeUnit?.reference ?? jni$_.jNullReference; - return _invokeAny$1( - reference.pointer, - _id_invokeAny$1 as jni$_.JMethodIDPtr, - _$collection.pointer, - j, - _$timeUnit.pointer) - .object<$T?>(T.nullableType); + final _$callable = callable?.reference ?? jni$_.jNullReference; + return _submit$2(reference.pointer, _id_submit$2 as jni$_.JMethodIDPtr, + _$callable.pointer) + .object(const jni$_.$JObject$NullableType$()); } /// Maps a specific port to the implemented interface. @@ -10679,114 +10780,118 @@ class ExecutorService extends jni$_.JObject { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; - if ($d == r'shutdown()V') { - _$impls[$p]!.shutdown(); - return jni$_.nullptr; - } - if ($d == r'shutdownNow()Ljava/util/List;') { - final $r = _$impls[$p]!.shutdownNow(); - return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) - .reference - .toPointer() ?? - jni$_.nullptr; - } - if ($d == r'isShutdown()Z') { - final $r = _$impls[$p]!.isShutdown(); - return jni$_.JBoolean($r).reference.toPointer(); - } - if ($d == r'isTerminated()Z') { - final $r = _$impls[$p]!.isTerminated(); - return jni$_.JBoolean($r).reference.toPointer(); - } if ($d == r'awaitTermination(JLjava/util/concurrent/TimeUnit;)Z') { final $r = _$impls[$p]!.awaitTermination( $a![0]! - .as(const jni$_.JLongType(), releaseOriginal: true) + .as(const jni$_.$JLong$Type$(), releaseOriginal: true) .longValue(releaseOriginal: true), - $a![1]?.as(const $TimeUnit$Type(), releaseOriginal: true), + $a![1]?.as(const $TimeUnit$Type$(), releaseOriginal: true), ); return jni$_.JBoolean($r).reference.toPointer(); } - if ($d == - r'submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;') { - final $r = _$impls[$p]!.submit( - $a![0]?.as(const jni$_.JObjectType(), releaseOriginal: true), + if ($d == r'close()V') { + _$impls[$p]!.close(); + return jni$_.nullptr; + } + if ($d == r'invokeAll(Ljava/util/Collection;)Ljava/util/List;') { + final $r = _$impls[$p]!.invokeAll( + $a![0]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } if ($d == - r'submit(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;') { - final $r = _$impls[$p]!.submit$1( - $a![0]?.as(const jni$_.JObjectType(), releaseOriginal: true), - $a![1]?.as(const jni$_.JObjectType(), releaseOriginal: true), + r'invokeAll(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;') { + final $r = _$impls[$p]!.invokeAll$1( + $a![0]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), + $a![1]! + .as(const jni$_.$JLong$Type$(), releaseOriginal: true) + .longValue(releaseOriginal: true), + $a![2]?.as(const $TimeUnit$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } - if ($d == r'submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;') { - final $r = _$impls[$p]!.submit$2( - $a![0]?.as(const jni$_.JObjectType(), releaseOriginal: true), + if ($d == r'invokeAny(Ljava/util/Collection;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.invokeAny( + $a![0]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } - if ($d == r'invokeAll(Ljava/util/Collection;)Ljava/util/List;') { - final $r = _$impls[$p]!.invokeAll( - $a![0]?.as(const jni$_.JObjectType(), releaseOriginal: true), + if ($d == + r'invokeAny(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;') { + final $r = _$impls[$p]!.invokeAny$1( + $a![0]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), + $a![1]! + .as(const jni$_.$JLong$Type$(), releaseOriginal: true) + .longValue(releaseOriginal: true), + $a![2]?.as(const $TimeUnit$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } - if ($d == - r'invokeAll(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;') { - final $r = _$impls[$p]!.invokeAll$1( - $a![0]?.as(const jni$_.JObjectType(), releaseOriginal: true), - $a![1]! - .as(const jni$_.JLongType(), releaseOriginal: true) - .longValue(releaseOriginal: true), - $a![2]?.as(const $TimeUnit$Type(), releaseOriginal: true), + if ($d == r'isShutdown()Z') { + final $r = _$impls[$p]!.isShutdown(); + return jni$_.JBoolean($r).reference.toPointer(); + } + if ($d == r'isTerminated()Z') { + final $r = _$impls[$p]!.isTerminated(); + return jni$_.JBoolean($r).reference.toPointer(); + } + if ($d == r'shutdown()V') { + _$impls[$p]!.shutdown(); + return jni$_.nullptr; + } + if ($d == r'shutdownNow()Ljava/util/List;') { + final $r = _$impls[$p]!.shutdownNow(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.$JObject$Type$()) + .reference + .toPointer() ?? + jni$_.nullptr; + } + if ($d == r'submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;') { + final $r = _$impls[$p]!.submit( + $a![0]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } - if ($d == r'invokeAny(Ljava/util/Collection;)Ljava/lang/Object;') { - final $r = _$impls[$p]!.invokeAny( - $a![0]?.as(const jni$_.JObjectType(), releaseOriginal: true), + if ($d == + r'submit(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;') { + final $r = _$impls[$p]!.submit$1( + $a![0]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), + $a![1]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } if ($d == - r'invokeAny(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;') { - final $r = _$impls[$p]!.invokeAny$1( - $a![0]?.as(const jni$_.JObjectType(), releaseOriginal: true), - $a![1]! - .as(const jni$_.JLongType(), releaseOriginal: true) - .longValue(releaseOriginal: true), - $a![2]?.as(const $TimeUnit$Type(), releaseOriginal: true), + r'submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;') { + final $r = _$impls[$p]!.submit$2( + $a![0]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -10817,6 +10922,7 @@ class ExecutorService extends jni$_.JObject { $p, _$invokePointer, [ + if ($impl.close$async) r'close()V', if ($impl.shutdown$async) r'shutdown()V', ], ); @@ -10837,17 +10943,9 @@ class ExecutorService extends jni$_.JObject { abstract base mixin class $ExecutorService { factory $ExecutorService({ - required void Function() shutdown, - bool shutdown$async, - required jni$_.JList? Function() shutdownNow, - required bool Function() isShutdown, - required bool Function() isTerminated, required bool Function(int j, TimeUnit? timeUnit) awaitTermination, - required jni$_.JObject? Function(jni$_.JObject? callable) submit, - required jni$_.JObject? Function( - jni$_.JObject? runnable, jni$_.JObject? object) - submit$1, - required jni$_.JObject? Function(jni$_.JObject? runnable) submit$2, + required void Function() close, + bool close$async, required jni$_.JList? Function(jni$_.JObject? collection) invokeAll, required jni$_.JList? Function( @@ -10857,38 +10955,42 @@ abstract base mixin class $ExecutorService { required jni$_.JObject? Function( jni$_.JObject? collection, int j, TimeUnit? timeUnit) invokeAny$1, + required bool Function() isShutdown, + required bool Function() isTerminated, + required void Function() shutdown, + bool shutdown$async, + required jni$_.JList? Function() shutdownNow, + required jni$_.JObject? Function(jni$_.JObject? runnable) submit, + required jni$_.JObject? Function( + jni$_.JObject? runnable, jni$_.JObject? object) + submit$1, + required jni$_.JObject? Function(jni$_.JObject? callable) submit$2, }) = _$ExecutorService; - void shutdown(); - bool get shutdown$async => false; - jni$_.JList? shutdownNow(); - bool isShutdown(); - bool isTerminated(); bool awaitTermination(int j, TimeUnit? timeUnit); - jni$_.JObject? submit(jni$_.JObject? callable); - jni$_.JObject? submit$1(jni$_.JObject? runnable, jni$_.JObject? object); - jni$_.JObject? submit$2(jni$_.JObject? runnable); + void close(); + bool get close$async => false; jni$_.JList? invokeAll(jni$_.JObject? collection); jni$_.JList? invokeAll$1( jni$_.JObject? collection, int j, TimeUnit? timeUnit); jni$_.JObject? invokeAny(jni$_.JObject? collection); jni$_.JObject? invokeAny$1( jni$_.JObject? collection, int j, TimeUnit? timeUnit); + bool isShutdown(); + bool isTerminated(); + void shutdown(); + bool get shutdown$async => false; + jni$_.JList? shutdownNow(); + jni$_.JObject? submit(jni$_.JObject? runnable); + jni$_.JObject? submit$1(jni$_.JObject? runnable, jni$_.JObject? object); + jni$_.JObject? submit$2(jni$_.JObject? callable); } final class _$ExecutorService with $ExecutorService { _$ExecutorService({ - required void Function() shutdown, - this.shutdown$async = false, - required jni$_.JList? Function() shutdownNow, - required bool Function() isShutdown, - required bool Function() isTerminated, required bool Function(int j, TimeUnit? timeUnit) awaitTermination, - required jni$_.JObject? Function(jni$_.JObject? callable) submit, - required jni$_.JObject? Function( - jni$_.JObject? runnable, jni$_.JObject? object) - submit$1, - required jni$_.JObject? Function(jni$_.JObject? runnable) submit$2, + required void Function() close, + this.close$async = false, required jni$_.JList? Function(jni$_.JObject? collection) invokeAll, required jni$_.JList? Function( @@ -10898,29 +11000,33 @@ final class _$ExecutorService with $ExecutorService { required jni$_.JObject? Function( jni$_.JObject? collection, int j, TimeUnit? timeUnit) invokeAny$1, - }) : _shutdown = shutdown, - _shutdownNow = shutdownNow, + required bool Function() isShutdown, + required bool Function() isTerminated, + required void Function() shutdown, + this.shutdown$async = false, + required jni$_.JList? Function() shutdownNow, + required jni$_.JObject? Function(jni$_.JObject? runnable) submit, + required jni$_.JObject? Function( + jni$_.JObject? runnable, jni$_.JObject? object) + submit$1, + required jni$_.JObject? Function(jni$_.JObject? callable) submit$2, + }) : _awaitTermination = awaitTermination, + _close = close, + _invokeAll = invokeAll, + _invokeAll$1 = invokeAll$1, + _invokeAny = invokeAny, + _invokeAny$1 = invokeAny$1, _isShutdown = isShutdown, _isTerminated = isTerminated, - _awaitTermination = awaitTermination, + _shutdown = shutdown, + _shutdownNow = shutdownNow, _submit = submit, _submit$1 = submit$1, - _submit$2 = submit$2, - _invokeAll = invokeAll, - _invokeAll$1 = invokeAll$1, - _invokeAny = invokeAny, - _invokeAny$1 = invokeAny$1; + _submit$2 = submit$2; - final void Function() _shutdown; - final bool shutdown$async; - final jni$_.JList? Function() _shutdownNow; - final bool Function() _isShutdown; - final bool Function() _isTerminated; final bool Function(int j, TimeUnit? timeUnit) _awaitTermination; - final jni$_.JObject? Function(jni$_.JObject? callable) _submit; - final jni$_.JObject? Function(jni$_.JObject? runnable, jni$_.JObject? object) - _submit$1; - final jni$_.JObject? Function(jni$_.JObject? runnable) _submit$2; + final void Function() _close; + final bool close$async; final jni$_.JList? Function(jni$_.JObject? collection) _invokeAll; final jni$_.JList? Function( @@ -10928,37 +11034,22 @@ final class _$ExecutorService with $ExecutorService { final jni$_.JObject? Function(jni$_.JObject? collection) _invokeAny; final jni$_.JObject? Function( jni$_.JObject? collection, int j, TimeUnit? timeUnit) _invokeAny$1; - - void shutdown() { - return _shutdown(); - } - - jni$_.JList? shutdownNow() { - return _shutdownNow(); - } - - bool isShutdown() { - return _isShutdown(); - } - - bool isTerminated() { - return _isTerminated(); - } + final bool Function() _isShutdown; + final bool Function() _isTerminated; + final void Function() _shutdown; + final bool shutdown$async; + final jni$_.JList? Function() _shutdownNow; + final jni$_.JObject? Function(jni$_.JObject? runnable) _submit; + final jni$_.JObject? Function(jni$_.JObject? runnable, jni$_.JObject? object) + _submit$1; + final jni$_.JObject? Function(jni$_.JObject? callable) _submit$2; bool awaitTermination(int j, TimeUnit? timeUnit) { return _awaitTermination(j, timeUnit); } - jni$_.JObject? submit(jni$_.JObject? callable) { - return _submit(callable); - } - - jni$_.JObject? submit$1(jni$_.JObject? runnable, jni$_.JObject? object) { - return _submit$1(runnable, object); - } - - jni$_.JObject? submit$2(jni$_.JObject? runnable) { - return _submit$2(runnable); + void close() { + return _close(); } jni$_.JList? invokeAll(jni$_.JObject? collection) { @@ -10978,12 +11069,40 @@ final class _$ExecutorService with $ExecutorService { jni$_.JObject? collection, int j, TimeUnit? timeUnit) { return _invokeAny$1(collection, j, timeUnit); } + + bool isShutdown() { + return _isShutdown(); + } + + bool isTerminated() { + return _isTerminated(); + } + + void shutdown() { + return _shutdown(); + } + + jni$_.JList? shutdownNow() { + return _shutdownNow(); + } + + jni$_.JObject? submit(jni$_.JObject? runnable) { + return _submit(runnable); + } + + jni$_.JObject? submit$1(jni$_.JObject? runnable, jni$_.JObject? object) { + return _submit$1(runnable, object); + } + + jni$_.JObject? submit$2(jni$_.JObject? callable) { + return _submit$2(callable); + } } -final class $ExecutorService$NullableType - extends jni$_.JObjType { +final class $ExecutorService$NullableType$ + extends jni$_.JType { @jni$_.internal - const $ExecutorService$NullableType(); + const $ExecutorService$NullableType$(); @jni$_.internal @core$_.override @@ -10998,29 +11117,29 @@ final class $ExecutorService$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ExecutorService$NullableType).hashCode; + int get hashCode => ($ExecutorService$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ExecutorService$NullableType) && - other is $ExecutorService$NullableType; + return other.runtimeType == ($ExecutorService$NullableType$) && + other is $ExecutorService$NullableType$; } } -final class $ExecutorService$Type extends jni$_.JObjType { +final class $ExecutorService$Type$ extends jni$_.JType { @jni$_.internal - const $ExecutorService$Type(); + const $ExecutorService$Type$(); @jni$_.internal @core$_.override @@ -11034,24 +11153,24 @@ final class $ExecutorService$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $ExecutorService$NullableType(); + jni$_.JType get nullableType => + const $ExecutorService$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ExecutorService$Type).hashCode; + int get hashCode => ($ExecutorService$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ExecutorService$Type) && - other is $ExecutorService$Type; + return other.runtimeType == ($ExecutorService$Type$) && + other is $ExecutorService$Type$; } } @@ -11059,7 +11178,7 @@ final class $ExecutorService$Type extends jni$_.JObjType { class Cache$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Cache$Companion.fromReference( @@ -11070,8 +11189,11 @@ class Cache$Companion extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Cache$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $Cache$Companion$NullableType(); - static const type = $Cache$Companion$Type(); + static const jni$_.JType nullableType = + $Cache$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Cache$Companion$Type$(); static final _id_key = _class.instanceMethodId( r'key', r'(Lokhttp3/HttpUrl;)Ljava/lang/String;', @@ -11088,7 +11210,7 @@ class Cache$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.lang.String key(okhttp3.HttpUrl httpUrl)` + /// from: `public fun key(url: okhttp3.HttpUrl): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString key( jni$_.JObject httpUrl, @@ -11096,7 +11218,7 @@ class Cache$Companion extends jni$_.JObject { final _$httpUrl = httpUrl.reference; return _key( reference.pointer, _id_key as jni$_.JMethodIDPtr, _$httpUrl.pointer) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_varyMatches = _class.instanceMethodId( @@ -11123,7 +11245,7 @@ class Cache$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final boolean varyMatches(okhttp3.Response response, okhttp3.Headers headers, okhttp3.Request request)` + /// from: `public fun varyMatches(cachedResponse: okhttp3.Response, cachedRequest: okhttp3.Headers, newRequest: okhttp3.Request): kotlin.Boolean` bool varyMatches( Response response, Headers headers, @@ -11157,7 +11279,7 @@ class Cache$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final boolean hasVaryAll(okhttp3.Response response)` + /// from: `public fun hasVaryAll(): kotlin.Boolean` bool hasVaryAll( Response response, ) { @@ -11183,7 +11305,7 @@ class Cache$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.Headers varyHeaders(okhttp3.Response response)` + /// from: `public fun varyHeaders(): okhttp3.Headers` /// The returned object must be released after use, by calling the [release] method. Headers varyHeaders( Response response, @@ -11191,7 +11313,7 @@ class Cache$Companion extends jni$_.JObject { final _$response = response.reference; return _varyHeaders(reference.pointer, _id_varyHeaders as jni$_.JMethodIDPtr, _$response.pointer) - .object(const $Headers$Type()); + .object(const $Headers$Type$()); } static final _id_new$ = _class.constructorId( @@ -11222,10 +11344,10 @@ class Cache$Companion extends jni$_.JObject { } } -final class $Cache$Companion$NullableType - extends jni$_.JObjType { +final class $Cache$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $Cache$Companion$NullableType(); + const $Cache$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -11240,29 +11362,29 @@ final class $Cache$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Cache$Companion$NullableType).hashCode; + int get hashCode => ($Cache$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Cache$Companion$NullableType) && - other is $Cache$Companion$NullableType; + return other.runtimeType == ($Cache$Companion$NullableType$) && + other is $Cache$Companion$NullableType$; } } -final class $Cache$Companion$Type extends jni$_.JObjType { +final class $Cache$Companion$Type$ extends jni$_.JType { @jni$_.internal - const $Cache$Companion$Type(); + const $Cache$Companion$Type$(); @jni$_.internal @core$_.override @@ -11276,24 +11398,24 @@ final class $Cache$Companion$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $Cache$Companion$NullableType(); + jni$_.JType get nullableType => + const $Cache$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Cache$Companion$Type).hashCode; + int get hashCode => ($Cache$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Cache$Companion$Type) && - other is $Cache$Companion$Type; + return other.runtimeType == ($Cache$Companion$Type$) && + other is $Cache$Companion$Type$; } } @@ -11301,7 +11423,7 @@ final class $Cache$Companion$Type extends jni$_.JObjType { class JObject$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal JObject$Companion.fromReference( @@ -11312,8 +11434,11 @@ class JObject$Companion extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Cache$Entry$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $JObject$Companion$NullableType(); - static const type = $JObject$Companion$Type(); + static const jni$_.JType nullableType = + $JObject$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $JObject$Companion$Type$(); static final _id_new$ = _class.constructorId( r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); @@ -11342,10 +11467,10 @@ class JObject$Companion extends jni$_.JObject { } } -final class $JObject$Companion$NullableType - extends jni$_.JObjType { +final class $JObject$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $JObject$Companion$NullableType(); + const $JObject$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -11361,29 +11486,29 @@ final class $JObject$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($JObject$Companion$NullableType).hashCode; + int get hashCode => ($JObject$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($JObject$Companion$NullableType) && - other is $JObject$Companion$NullableType; + return other.runtimeType == ($JObject$Companion$NullableType$) && + other is $JObject$Companion$NullableType$; } } -final class $JObject$Companion$Type extends jni$_.JObjType { +final class $JObject$Companion$Type$ extends jni$_.JType { @jni$_.internal - const $JObject$Companion$Type(); + const $JObject$Companion$Type$(); @jni$_.internal @core$_.override @@ -11397,24 +11522,24 @@ final class $JObject$Companion$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $JObject$Companion$NullableType(); + jni$_.JType get nullableType => + const $JObject$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($JObject$Companion$Type).hashCode; + int get hashCode => ($JObject$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($JObject$Companion$Type) && - other is $JObject$Companion$Type; + return other.runtimeType == ($JObject$Companion$Type$) && + other is $JObject$Companion$Type$; } } @@ -11422,7 +11547,7 @@ final class $JObject$Companion$Type extends jni$_.JObjType { class Cache extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Cache.fromReference( @@ -11433,8 +11558,10 @@ class Cache extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/Cache'); /// The type which includes information such as the signature of this class. - static const nullableType = $Cache$NullableType(); - static const type = $Cache$Type(); + static const jni$_.JType nullableType = $Cache$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Cache$Type$(); static final _id_Companion = _class.staticFieldId( r'Companion', r'Lokhttp3/Cache$Companion;', @@ -11443,7 +11570,7 @@ class Cache extends jni$_.JObject { /// from: `static public final okhttp3.Cache$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static Cache$Companion get Companion => - _id_Companion.get(_class, const $Cache$Companion$Type()); + _id_Companion.get(_class, const $Cache$Companion$Type$()); static final _id_new$ = _class.constructorId( r'(Ljava/io/File;JLokhttp3/internal/io/FileSystem;)V', @@ -11554,7 +11681,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final void initialize()` + /// from: `public fun initialize(): kotlin.Unit` void initialize() { _initialize(reference.pointer, _id_initialize as jni$_.JMethodIDPtr) .check(); @@ -11577,7 +11704,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final void delete()` + /// from: `public fun delete(): kotlin.Unit` void delete() { _delete(reference.pointer, _id_delete as jni$_.JMethodIDPtr).check(); } @@ -11599,7 +11726,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final void evictAll()` + /// from: `public fun evictAll(): kotlin.Unit` void evictAll() { _evictAll(reference.pointer, _id_evictAll as jni$_.JMethodIDPtr).check(); } @@ -11621,12 +11748,12 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.Iterator urls()` + /// from: `public fun urls(): kotlin.collections.MutableIterator` /// The returned object must be released after use, by calling the [release] method. jni$_.JIterator urls() { - return _urls(reference.pointer, _id_urls as jni$_.JMethodIDPtr) - .object>( - const jni$_.JIteratorType(jni$_.JStringType())); + return _urls(reference.pointer, _id_urls as jni$_.JMethodIDPtr).object< + jni$_.JIterator>( + const jni$_.$JIterator$Type$(jni$_.$JString$Type$())); } static final _id_writeAbortCount = _class.instanceMethodId( @@ -11646,7 +11773,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int writeAbortCount()` + /// from: `public fun writeAbortCount(): kotlin.Int` int writeAbortCount() { return _writeAbortCount( reference.pointer, _id_writeAbortCount as jni$_.JMethodIDPtr) @@ -11670,7 +11797,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int writeSuccessCount()` + /// from: `public fun writeSuccessCount(): kotlin.Int` int writeSuccessCount() { return _writeSuccessCount( reference.pointer, _id_writeSuccessCount as jni$_.JMethodIDPtr) @@ -11694,7 +11821,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final long size()` + /// from: `public fun size(): kotlin.Long` int size() { return _size(reference.pointer, _id_size as jni$_.JMethodIDPtr).long; } @@ -11716,7 +11843,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final long maxSize()` + /// from: `public fun maxSize(): kotlin.Long` int maxSize() { return _maxSize(reference.pointer, _id_maxSize as jni$_.JMethodIDPtr).long; } @@ -11738,7 +11865,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public void flush()` + /// from: `public fun flush(): kotlin.Unit` void flush() { _flush(reference.pointer, _id_flush as jni$_.JMethodIDPtr).check(); } @@ -11760,7 +11887,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public void close()` + /// from: `public fun close(): kotlin.Unit` void close() { _close(reference.pointer, _id_close as jni$_.JMethodIDPtr).check(); } @@ -11786,7 +11913,7 @@ class Cache extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject directory() { return _directory(reference.pointer, _id_directory as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_networkCount = _class.instanceMethodId( @@ -11806,7 +11933,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int networkCount()` + /// from: `public fun networkCount(): kotlin.Int` int networkCount() { return _networkCount( reference.pointer, _id_networkCount as jni$_.JMethodIDPtr) @@ -11830,7 +11957,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int hitCount()` + /// from: `public fun hitCount(): kotlin.Int` int hitCount() { return _hitCount(reference.pointer, _id_hitCount as jni$_.JMethodIDPtr) .integer; @@ -11853,7 +11980,7 @@ class Cache extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final int requestCount()` + /// from: `public fun requestCount(): kotlin.Int` int requestCount() { return _requestCount( reference.pointer, _id_requestCount as jni$_.JMethodIDPtr) @@ -11884,13 +12011,13 @@ class Cache extends jni$_.JObject { final _$httpUrl = httpUrl.reference; return _key(_class.reference.pointer, _id_key as jni$_.JMethodIDPtr, _$httpUrl.pointer) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } } -final class $Cache$NullableType extends jni$_.JObjType { +final class $Cache$NullableType$ extends jni$_.JType { @jni$_.internal - const $Cache$NullableType(); + const $Cache$NullableType$(); @jni$_.internal @core$_.override @@ -11905,29 +12032,29 @@ final class $Cache$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Cache$NullableType).hashCode; + int get hashCode => ($Cache$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Cache$NullableType) && - other is $Cache$NullableType; + return other.runtimeType == ($Cache$NullableType$) && + other is $Cache$NullableType$; } } -final class $Cache$Type extends jni$_.JObjType { +final class $Cache$Type$ extends jni$_.JType { @jni$_.internal - const $Cache$Type(); + const $Cache$Type$(); @jni$_.internal @core$_.override @@ -11940,22 +12067,22 @@ final class $Cache$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $Cache$NullableType(); + jni$_.JType get nullableType => const $Cache$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Cache$Type).hashCode; + int get hashCode => ($Cache$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Cache$Type) && other is $Cache$Type; + return other.runtimeType == ($Cache$Type$) && other is $Cache$Type$; } } @@ -11963,7 +12090,7 @@ final class $Cache$Type extends jni$_.JObjType { class RedirectReceivedCallback extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal RedirectReceivedCallback.fromReference( @@ -11975,8 +12102,12 @@ class RedirectReceivedCallback extends jni$_.JObject { jni$_.JClass.forName(r'com/example/ok_http/RedirectReceivedCallback'); /// The type which includes information such as the signature of this class. - static const nullableType = $RedirectReceivedCallback$NullableType(); - static const type = $RedirectReceivedCallback$Type(); + static const jni$_.JType nullableType = + $RedirectReceivedCallback$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $RedirectReceivedCallback$Type$(); static final _id_onRedirectReceived = _class.instanceMethodId( r'onRedirectReceived', r'(Lokhttp3/Response;Ljava/lang/String;)V', @@ -11999,7 +12130,7 @@ class RedirectReceivedCallback extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onRedirectReceived(okhttp3.Response response, java.lang.String string)` + /// from: `public fun onRedirectReceived(response: okhttp3.Response, location: kotlin.String): kotlin.Unit` void onRedirectReceived( Response response, jni$_.JString string, @@ -12046,8 +12177,8 @@ class RedirectReceivedCallback extends jni$_.JObject { final $a = $i.args; if ($d == r'onRedirectReceived(Lokhttp3/Response;Ljava/lang/String;)V') { _$impls[$p]!.onRedirectReceived( - $a![0]!.as(const $Response$Type(), releaseOriginal: true), - $a![1]!.as(const jni$_.JStringType(), releaseOriginal: true), + $a![0]!.as(const $Response$Type$(), releaseOriginal: true), + $a![1]!.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -12123,10 +12254,10 @@ final class _$RedirectReceivedCallback with $RedirectReceivedCallback { } } -final class $RedirectReceivedCallback$NullableType - extends jni$_.JObjType { +final class $RedirectReceivedCallback$NullableType$ + extends jni$_.JType { @jni$_.internal - const $RedirectReceivedCallback$NullableType(); + const $RedirectReceivedCallback$NullableType$(); @jni$_.internal @core$_.override @@ -12142,30 +12273,30 @@ final class $RedirectReceivedCallback$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RedirectReceivedCallback$NullableType).hashCode; + int get hashCode => ($RedirectReceivedCallback$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RedirectReceivedCallback$NullableType) && - other is $RedirectReceivedCallback$NullableType; + return other.runtimeType == ($RedirectReceivedCallback$NullableType$) && + other is $RedirectReceivedCallback$NullableType$; } } -final class $RedirectReceivedCallback$Type - extends jni$_.JObjType { +final class $RedirectReceivedCallback$Type$ + extends jni$_.JType { @jni$_.internal - const $RedirectReceivedCallback$Type(); + const $RedirectReceivedCallback$Type$(); @jni$_.internal @core$_.override @@ -12179,24 +12310,24 @@ final class $RedirectReceivedCallback$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $RedirectReceivedCallback$NullableType(); + jni$_.JType get nullableType => + const $RedirectReceivedCallback$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RedirectReceivedCallback$Type).hashCode; + int get hashCode => ($RedirectReceivedCallback$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RedirectReceivedCallback$Type) && - other is $RedirectReceivedCallback$Type; + return other.runtimeType == ($RedirectReceivedCallback$Type$) && + other is $RedirectReceivedCallback$Type$; } } @@ -12204,7 +12335,7 @@ final class $RedirectReceivedCallback$Type class RedirectInterceptor$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal RedirectInterceptor$Companion.fromReference( @@ -12216,8 +12347,12 @@ class RedirectInterceptor$Companion extends jni$_.JObject { r'com/example/ok_http/RedirectInterceptor$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $RedirectInterceptor$Companion$NullableType(); - static const type = $RedirectInterceptor$Companion$Type(); + static const jni$_.JType nullableType = + $RedirectInterceptor$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $RedirectInterceptor$Companion$Type$(); static final _id_addRedirectInterceptor = _class.instanceMethodId( r'addRedirectInterceptor', r'(Lokhttp3/OkHttpClient$Builder;IZLcom/example/ok_http/RedirectReceivedCallback;)Lokhttp3/OkHttpClient$Builder;', @@ -12244,7 +12379,7 @@ class RedirectInterceptor$Companion extends jni$_.JObject { int, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder addRedirectInterceptor(okhttp3.OkHttpClient$Builder builder, int i, boolean z, com.example.ok_http.RedirectReceivedCallback redirectReceivedCallback)` + /// from: `public fun addRedirectInterceptor(clientBuilder: okhttp3.OkHttpClient.Builder, maxRedirects: kotlin.Int, followRedirects: kotlin.Boolean, redirectCallback: com.example.ok_http.RedirectReceivedCallback): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder addRedirectInterceptor( OkHttpClient$Builder builder, @@ -12261,7 +12396,7 @@ class RedirectInterceptor$Companion extends jni$_.JObject { i, z ? 1 : 0, _$redirectReceivedCallback.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_new$ = _class.constructorId( @@ -12294,10 +12429,10 @@ class RedirectInterceptor$Companion extends jni$_.JObject { } } -final class $RedirectInterceptor$Companion$NullableType - extends jni$_.JObjType { +final class $RedirectInterceptor$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $RedirectInterceptor$Companion$NullableType(); + const $RedirectInterceptor$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -12314,30 +12449,31 @@ final class $RedirectInterceptor$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RedirectInterceptor$Companion$NullableType).hashCode; + int get hashCode => ($RedirectInterceptor$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RedirectInterceptor$Companion$NullableType) && - other is $RedirectInterceptor$Companion$NullableType; + return other.runtimeType == + ($RedirectInterceptor$Companion$NullableType$) && + other is $RedirectInterceptor$Companion$NullableType$; } } -final class $RedirectInterceptor$Companion$Type - extends jni$_.JObjType { +final class $RedirectInterceptor$Companion$Type$ + extends jni$_.JType { @jni$_.internal - const $RedirectInterceptor$Companion$Type(); + const $RedirectInterceptor$Companion$Type$(); @jni$_.internal @core$_.override @@ -12352,24 +12488,24 @@ final class $RedirectInterceptor$Companion$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $RedirectInterceptor$Companion$NullableType(); + jni$_.JType get nullableType => + const $RedirectInterceptor$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RedirectInterceptor$Companion$Type).hashCode; + int get hashCode => ($RedirectInterceptor$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RedirectInterceptor$Companion$Type) && - other is $RedirectInterceptor$Companion$Type; + return other.runtimeType == ($RedirectInterceptor$Companion$Type$) && + other is $RedirectInterceptor$Companion$Type$; } } @@ -12377,7 +12513,7 @@ final class $RedirectInterceptor$Companion$Type class RedirectInterceptor extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal RedirectInterceptor.fromReference( @@ -12389,8 +12525,12 @@ class RedirectInterceptor extends jni$_.JObject { jni$_.JClass.forName(r'com/example/ok_http/RedirectInterceptor'); /// The type which includes information such as the signature of this class. - static const nullableType = $RedirectInterceptor$NullableType(); - static const type = $RedirectInterceptor$Type(); + static const jni$_.JType nullableType = + $RedirectInterceptor$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $RedirectInterceptor$Type$(); static final _id_Companion = _class.staticFieldId( r'Companion', r'Lcom/example/ok_http/RedirectInterceptor$Companion;', @@ -12399,7 +12539,7 @@ class RedirectInterceptor extends jni$_.JObject { /// from: `static public final com.example.ok_http.RedirectInterceptor$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static RedirectInterceptor$Companion get Companion => - _id_Companion.get(_class, const $RedirectInterceptor$Companion$Type()); + _id_Companion.get(_class, const $RedirectInterceptor$Companion$Type$()); static final _id_new$ = _class.constructorId( r'()V', @@ -12426,10 +12566,10 @@ class RedirectInterceptor extends jni$_.JObject { } } -final class $RedirectInterceptor$NullableType - extends jni$_.JObjType { +final class $RedirectInterceptor$NullableType$ + extends jni$_.JType { @jni$_.internal - const $RedirectInterceptor$NullableType(); + const $RedirectInterceptor$NullableType$(); @jni$_.internal @core$_.override @@ -12445,30 +12585,30 @@ final class $RedirectInterceptor$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RedirectInterceptor$NullableType).hashCode; + int get hashCode => ($RedirectInterceptor$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RedirectInterceptor$NullableType) && - other is $RedirectInterceptor$NullableType; + return other.runtimeType == ($RedirectInterceptor$NullableType$) && + other is $RedirectInterceptor$NullableType$; } } -final class $RedirectInterceptor$Type - extends jni$_.JObjType { +final class $RedirectInterceptor$Type$ + extends jni$_.JType { @jni$_.internal - const $RedirectInterceptor$Type(); + const $RedirectInterceptor$Type$(); @jni$_.internal @core$_.override @@ -12482,24 +12622,24 @@ final class $RedirectInterceptor$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $RedirectInterceptor$NullableType(); + jni$_.JType get nullableType => + const $RedirectInterceptor$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($RedirectInterceptor$Type).hashCode; + int get hashCode => ($RedirectInterceptor$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($RedirectInterceptor$Type) && - other is $RedirectInterceptor$Type; + return other.runtimeType == ($RedirectInterceptor$Type$) && + other is $RedirectInterceptor$Type$; } } @@ -12507,7 +12647,7 @@ final class $RedirectInterceptor$Type class AsyncInputStreamReader extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal AsyncInputStreamReader.fromReference( @@ -12519,8 +12659,12 @@ class AsyncInputStreamReader extends jni$_.JObject { jni$_.JClass.forName(r'com/example/ok_http/AsyncInputStreamReader'); /// The type which includes information such as the signature of this class. - static const nullableType = $AsyncInputStreamReader$NullableType(); - static const type = $AsyncInputStreamReader$Type(); + static const jni$_.JType nullableType = + $AsyncInputStreamReader$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $AsyncInputStreamReader$Type$(); static final _id_new$ = _class.constructorId( r'()V', ); @@ -12567,7 +12711,7 @@ class AsyncInputStreamReader extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final java.util.concurrent.Future readAsync(java.io.InputStream inputStream, com.example.ok_http.DataCallback dataCallback)` + /// from: `public fun readAsync(inputStream: java.io.InputStream, callback: com.example.ok_http.DataCallback): java.util.concurrent.Future<*>` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject readAsync( jni$_.JObject inputStream, @@ -12577,7 +12721,7 @@ class AsyncInputStreamReader extends jni$_.JObject { final _$dataCallback = dataCallback.reference; return _readAsync(reference.pointer, _id_readAsync as jni$_.JMethodIDPtr, _$inputStream.pointer, _$dataCallback.pointer) - .object(const jni$_.JObjectType()); + .object(const jni$_.$JObject$Type$()); } static final _id_shutdown = _class.instanceMethodId( @@ -12597,16 +12741,16 @@ class AsyncInputStreamReader extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final void shutdown()` + /// from: `public fun shutdown(): kotlin.Unit` void shutdown() { _shutdown(reference.pointer, _id_shutdown as jni$_.JMethodIDPtr).check(); } } -final class $AsyncInputStreamReader$NullableType - extends jni$_.JObjType { +final class $AsyncInputStreamReader$NullableType$ + extends jni$_.JType { @jni$_.internal - const $AsyncInputStreamReader$NullableType(); + const $AsyncInputStreamReader$NullableType$(); @jni$_.internal @core$_.override @@ -12622,30 +12766,30 @@ final class $AsyncInputStreamReader$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($AsyncInputStreamReader$NullableType).hashCode; + int get hashCode => ($AsyncInputStreamReader$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($AsyncInputStreamReader$NullableType) && - other is $AsyncInputStreamReader$NullableType; + return other.runtimeType == ($AsyncInputStreamReader$NullableType$) && + other is $AsyncInputStreamReader$NullableType$; } } -final class $AsyncInputStreamReader$Type - extends jni$_.JObjType { +final class $AsyncInputStreamReader$Type$ + extends jni$_.JType { @jni$_.internal - const $AsyncInputStreamReader$Type(); + const $AsyncInputStreamReader$Type$(); @jni$_.internal @core$_.override @@ -12659,24 +12803,24 @@ final class $AsyncInputStreamReader$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $AsyncInputStreamReader$NullableType(); + jni$_.JType get nullableType => + const $AsyncInputStreamReader$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($AsyncInputStreamReader$Type).hashCode; + int get hashCode => ($AsyncInputStreamReader$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($AsyncInputStreamReader$Type) && - other is $AsyncInputStreamReader$Type; + return other.runtimeType == ($AsyncInputStreamReader$Type$) && + other is $AsyncInputStreamReader$Type$; } } @@ -12684,7 +12828,7 @@ final class $AsyncInputStreamReader$Type class DataCallback extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal DataCallback.fromReference( @@ -12696,8 +12840,11 @@ class DataCallback extends jni$_.JObject { jni$_.JClass.forName(r'com/example/ok_http/DataCallback'); /// The type which includes information such as the signature of this class. - static const nullableType = $DataCallback$NullableType(); - static const type = $DataCallback$Type(); + static const jni$_.JType nullableType = + $DataCallback$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $DataCallback$Type$(); static final _id_onDataRead = _class.instanceMethodId( r'onDataRead', r'([B)V', @@ -12714,7 +12861,7 @@ class DataCallback extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract void onDataRead(byte[] bs)` + /// from: `public fun onDataRead(data: kotlin.ByteArray): kotlin.Unit` void onDataRead( jni$_.JByteArray bs, ) { @@ -12741,7 +12888,7 @@ class DataCallback extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract void onFinished()` + /// from: `public fun onFinished(): kotlin.Unit` void onFinished() { _onFinished(reference.pointer, _id_onFinished as jni$_.JMethodIDPtr) .check(); @@ -12763,7 +12910,7 @@ class DataCallback extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract void onError(java.io.IOException iOException)` + /// from: `public fun onError(e: java.io.IOException): kotlin.Unit` void onError( jni$_.JObject iOException, ) { @@ -12805,7 +12952,7 @@ class DataCallback extends jni$_.JObject { final $a = $i.args; if ($d == r'onDataRead([B)V') { _$impls[$p]!.onDataRead( - $a![0]!.as(const jni$_.JByteArrayType(), releaseOriginal: true), + $a![0]!.as(const jni$_.$JByteArray$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -12815,7 +12962,7 @@ class DataCallback extends jni$_.JObject { } if ($d == r'onError(Ljava/io/IOException;)V') { _$impls[$p]!.onError( - $a![0]!.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![0]!.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -12915,9 +13062,9 @@ final class _$DataCallback with $DataCallback { } } -final class $DataCallback$NullableType extends jni$_.JObjType { +final class $DataCallback$NullableType$ extends jni$_.JType { @jni$_.internal - const $DataCallback$NullableType(); + const $DataCallback$NullableType$(); @jni$_.internal @core$_.override @@ -12932,29 +13079,29 @@ final class $DataCallback$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($DataCallback$NullableType).hashCode; + int get hashCode => ($DataCallback$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($DataCallback$NullableType) && - other is $DataCallback$NullableType; + return other.runtimeType == ($DataCallback$NullableType$) && + other is $DataCallback$NullableType$; } } -final class $DataCallback$Type extends jni$_.JObjType { +final class $DataCallback$Type$ extends jni$_.JType { @jni$_.internal - const $DataCallback$Type(); + const $DataCallback$Type$(); @jni$_.internal @core$_.override @@ -12968,24 +13115,24 @@ final class $DataCallback$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $DataCallback$NullableType(); + jni$_.JType get nullableType => + const $DataCallback$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($DataCallback$Type).hashCode; + int get hashCode => ($DataCallback$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($DataCallback$Type) && - other is $DataCallback$Type; + return other.runtimeType == ($DataCallback$Type$) && + other is $DataCallback$Type$; } } @@ -12993,7 +13140,7 @@ final class $DataCallback$Type extends jni$_.JObjType { class WebSocket$Factory extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal WebSocket$Factory.fromReference( @@ -13004,8 +13151,11 @@ class WebSocket$Factory extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/WebSocket$Factory'); /// The type which includes information such as the signature of this class. - static const nullableType = $WebSocket$Factory$NullableType(); - static const type = $WebSocket$Factory$Type(); + static const jni$_.JType nullableType = + $WebSocket$Factory$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $WebSocket$Factory$Type$(); static final _id_newWebSocket = _class.instanceMethodId( r'newWebSocket', r'(Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;', @@ -13028,7 +13178,7 @@ class WebSocket$Factory extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract okhttp3.WebSocket newWebSocket(okhttp3.Request request, okhttp3.WebSocketListener webSocketListener)` + /// from: `public fun newWebSocket(request: okhttp3.Request, listener: okhttp3.WebSocketListener): okhttp3.WebSocket` /// The returned object must be released after use, by calling the [release] method. WebSocket newWebSocket( Request request, @@ -13041,7 +13191,7 @@ class WebSocket$Factory extends jni$_.JObject { _id_newWebSocket as jni$_.JMethodIDPtr, _$request.pointer, _$webSocketListener.pointer) - .object(const $WebSocket$Type()); + .object(const $WebSocket$Type$()); } /// Maps a specific port to the implemented interface. @@ -13077,11 +13227,11 @@ class WebSocket$Factory extends jni$_.JObject { if ($d == r'newWebSocket(Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;') { final $r = _$impls[$p]!.newWebSocket( - $a![0]!.as(const $Request$Type(), releaseOriginal: true), - $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![0]!.as(const $Request$Type$(), releaseOriginal: true), + $a![1]!.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -13153,10 +13303,10 @@ final class _$WebSocket$Factory with $WebSocket$Factory { } } -final class $WebSocket$Factory$NullableType - extends jni$_.JObjType { +final class $WebSocket$Factory$NullableType$ + extends jni$_.JType { @jni$_.internal - const $WebSocket$Factory$NullableType(); + const $WebSocket$Factory$NullableType$(); @jni$_.internal @core$_.override @@ -13172,29 +13322,29 @@ final class $WebSocket$Factory$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocket$Factory$NullableType).hashCode; + int get hashCode => ($WebSocket$Factory$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocket$Factory$NullableType) && - other is $WebSocket$Factory$NullableType; + return other.runtimeType == ($WebSocket$Factory$NullableType$) && + other is $WebSocket$Factory$NullableType$; } } -final class $WebSocket$Factory$Type extends jni$_.JObjType { +final class $WebSocket$Factory$Type$ extends jni$_.JType { @jni$_.internal - const $WebSocket$Factory$Type(); + const $WebSocket$Factory$Type$(); @jni$_.internal @core$_.override @@ -13208,24 +13358,24 @@ final class $WebSocket$Factory$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $WebSocket$Factory$NullableType(); + jni$_.JType get nullableType => + const $WebSocket$Factory$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocket$Factory$Type).hashCode; + int get hashCode => ($WebSocket$Factory$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocket$Factory$Type) && - other is $WebSocket$Factory$Type; + return other.runtimeType == ($WebSocket$Factory$Type$) && + other is $WebSocket$Factory$Type$; } } @@ -13233,7 +13383,7 @@ final class $WebSocket$Factory$Type extends jni$_.JObjType { class WebSocket extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal WebSocket.fromReference( @@ -13244,8 +13394,11 @@ class WebSocket extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okhttp3/WebSocket'); /// The type which includes information such as the signature of this class. - static const nullableType = $WebSocket$NullableType(); - static const type = $WebSocket$Type(); + static const jni$_.JType nullableType = + $WebSocket$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $WebSocket$Type$(); static final _id_request = _class.instanceMethodId( r'request', r'()Lokhttp3/Request;', @@ -13263,11 +13416,11 @@ class WebSocket extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract okhttp3.Request request()` + /// from: `public fun request(): okhttp3.Request` /// The returned object must be released after use, by calling the [release] method. Request request() { return _request(reference.pointer, _id_request as jni$_.JMethodIDPtr) - .object(const $Request$Type()); + .object(const $Request$Type$()); } static final _id_queueSize = _class.instanceMethodId( @@ -13287,7 +13440,7 @@ class WebSocket extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract long queueSize()` + /// from: `public fun queueSize(): kotlin.Long` int queueSize() { return _queueSize(reference.pointer, _id_queueSize as jni$_.JMethodIDPtr) .long; @@ -13309,7 +13462,7 @@ class WebSocket extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract boolean send(java.lang.String string)` + /// from: `public fun send(text: kotlin.String): kotlin.Boolean` bool send( jni$_.JString string, ) { @@ -13335,7 +13488,7 @@ class WebSocket extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public abstract boolean send(okio.ByteString byteString)` + /// from: `public fun send(bytes: okio.ByteString): kotlin.Boolean` bool send$1( ByteString byteString, ) { @@ -13362,7 +13515,7 @@ class WebSocket extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); - /// from: `public abstract boolean close(int i, java.lang.String string)` + /// from: `public fun close(code: kotlin.Int, reason: kotlin.String?): kotlin.Boolean` bool close( int i, jni$_.JString? string, @@ -13390,7 +13543,7 @@ class WebSocket extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract void cancel()` + /// from: `public fun cancel(): kotlin.Unit` void cancel() { _cancel(reference.pointer, _id_cancel as jni$_.JMethodIDPtr).check(); } @@ -13428,7 +13581,7 @@ class WebSocket extends jni$_.JObject { if ($d == r'request()Lokhttp3/Request;') { final $r = _$impls[$p]!.request(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -13439,22 +13592,22 @@ class WebSocket extends jni$_.JObject { } if ($d == r'send(Ljava/lang/String;)Z') { final $r = _$impls[$p]!.send( - $a![0]!.as(const jni$_.JStringType(), releaseOriginal: true), + $a![0]!.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.JBoolean($r).reference.toPointer(); } if ($d == r'send(Lokio/ByteString;)Z') { final $r = _$impls[$p]!.send$1( - $a![0]!.as(const $ByteString$Type(), releaseOriginal: true), + $a![0]!.as(const $ByteString$Type$(), releaseOriginal: true), ); return jni$_.JBoolean($r).reference.toPointer(); } if ($d == r'close(ILjava/lang/String;)Z') { final $r = _$impls[$p]!.close( $a![0]! - .as(const jni$_.JIntegerType(), releaseOriginal: true) + .as(const jni$_.$JInteger$Type$(), releaseOriginal: true) .intValue(releaseOriginal: true), - $a![1]?.as(const jni$_.JStringType(), releaseOriginal: true), + $a![1]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.JBoolean($r).reference.toPointer(); } @@ -13575,9 +13728,9 @@ final class _$WebSocket with $WebSocket { } } -final class $WebSocket$NullableType extends jni$_.JObjType { +final class $WebSocket$NullableType$ extends jni$_.JType { @jni$_.internal - const $WebSocket$NullableType(); + const $WebSocket$NullableType$(); @jni$_.internal @core$_.override @@ -13592,29 +13745,29 @@ final class $WebSocket$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocket$NullableType).hashCode; + int get hashCode => ($WebSocket$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocket$NullableType) && - other is $WebSocket$NullableType; + return other.runtimeType == ($WebSocket$NullableType$) && + other is $WebSocket$NullableType$; } } -final class $WebSocket$Type extends jni$_.JObjType { +final class $WebSocket$Type$ extends jni$_.JType { @jni$_.internal - const $WebSocket$Type(); + const $WebSocket$Type$(); @jni$_.internal @core$_.override @@ -13628,23 +13781,22 @@ final class $WebSocket$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $WebSocket$NullableType(); + jni$_.JType get nullableType => const $WebSocket$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocket$Type).hashCode; + int get hashCode => ($WebSocket$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocket$Type) && other is $WebSocket$Type; + return other.runtimeType == ($WebSocket$Type$) && other is $WebSocket$Type$; } } @@ -13652,7 +13804,7 @@ final class $WebSocket$Type extends jni$_.JObjType { class WebSocketListenerProxy$WebSocketListener extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal WebSocketListenerProxy$WebSocketListener.fromReference( @@ -13664,9 +13816,12 @@ class WebSocketListenerProxy$WebSocketListener extends jni$_.JObject { r'com/example/ok_http/WebSocketListenerProxy$WebSocketListener'); /// The type which includes information such as the signature of this class. - static const nullableType = - $WebSocketListenerProxy$WebSocketListener$NullableType(); - static const type = $WebSocketListenerProxy$WebSocketListener$Type(); + static const jni$_.JType + nullableType = $WebSocketListenerProxy$WebSocketListener$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $WebSocketListenerProxy$WebSocketListener$Type$(); static final _id_onOpen = _class.instanceMethodId( r'onOpen', r'(Lokhttp3/WebSocket;Lokhttp3/Response;)V', @@ -13689,7 +13844,7 @@ class WebSocketListenerProxy$WebSocketListener extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onOpen(okhttp3.WebSocket webSocket, okhttp3.Response response)` + /// from: `public fun onOpen(webSocket: okhttp3.WebSocket, response: okhttp3.Response): kotlin.Unit` void onOpen( WebSocket webSocket, Response response, @@ -13723,7 +13878,7 @@ class WebSocketListenerProxy$WebSocketListener extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onMessage(okhttp3.WebSocket webSocket, java.lang.String string)` + /// from: `public fun onMessage(webSocket: okhttp3.WebSocket, text: kotlin.String): kotlin.Unit` void onMessage( WebSocket webSocket, jni$_.JString string, @@ -13757,7 +13912,7 @@ class WebSocketListenerProxy$WebSocketListener extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onMessage(okhttp3.WebSocket webSocket, okio.ByteString byteString)` + /// from: `public fun onMessage(webSocket: okhttp3.WebSocket, bytes: okio.ByteString): kotlin.Unit` void onMessage$1( WebSocket webSocket, ByteString byteString, @@ -13793,7 +13948,7 @@ class WebSocketListenerProxy$WebSocketListener extends jni$_.JObject { int, jni$_.Pointer)>(); - /// from: `public abstract void onClosing(okhttp3.WebSocket webSocket, int i, java.lang.String string)` + /// from: `public fun onClosing(webSocket: okhttp3.WebSocket, code: kotlin.Int, reason: kotlin.String): kotlin.Unit` void onClosing( WebSocket webSocket, int i, @@ -13830,7 +13985,7 @@ class WebSocketListenerProxy$WebSocketListener extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onFailure(okhttp3.WebSocket webSocket, java.lang.Throwable throwable, okhttp3.Response response)` + /// from: `public fun onFailure(webSocket: okhttp3.WebSocket, t: kotlin.Throwable, response: okhttp3.Response?): kotlin.Unit` void onFailure( WebSocket webSocket, jni$_.JObject throwable, @@ -13877,41 +14032,41 @@ class WebSocketListenerProxy$WebSocketListener extends jni$_.JObject { final $a = $i.args; if ($d == r'onOpen(Lokhttp3/WebSocket;Lokhttp3/Response;)V') { _$impls[$p]!.onOpen( - $a![0]!.as(const $WebSocket$Type(), releaseOriginal: true), - $a![1]!.as(const $Response$Type(), releaseOriginal: true), + $a![0]!.as(const $WebSocket$Type$(), releaseOriginal: true), + $a![1]!.as(const $Response$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onMessage(Lokhttp3/WebSocket;Ljava/lang/String;)V') { _$impls[$p]!.onMessage( - $a![0]!.as(const $WebSocket$Type(), releaseOriginal: true), - $a![1]!.as(const jni$_.JStringType(), releaseOriginal: true), + $a![0]!.as(const $WebSocket$Type$(), releaseOriginal: true), + $a![1]!.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onMessage(Lokhttp3/WebSocket;Lokio/ByteString;)V') { _$impls[$p]!.onMessage$1( - $a![0]!.as(const $WebSocket$Type(), releaseOriginal: true), - $a![1]!.as(const $ByteString$Type(), releaseOriginal: true), + $a![0]!.as(const $WebSocket$Type$(), releaseOriginal: true), + $a![1]!.as(const $ByteString$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onClosing(Lokhttp3/WebSocket;ILjava/lang/String;)V') { _$impls[$p]!.onClosing( - $a![0]!.as(const $WebSocket$Type(), releaseOriginal: true), + $a![0]!.as(const $WebSocket$Type$(), releaseOriginal: true), $a![1]! - .as(const jni$_.JIntegerType(), releaseOriginal: true) + .as(const jni$_.$JInteger$Type$(), releaseOriginal: true) .intValue(releaseOriginal: true), - $a![2]!.as(const jni$_.JStringType(), releaseOriginal: true), + $a![2]!.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onFailure(Lokhttp3/WebSocket;Ljava/lang/Throwable;Lokhttp3/Response;)V') { _$impls[$p]!.onFailure( - $a![0]!.as(const $WebSocket$Type(), releaseOriginal: true), - $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), - $a![2]?.as(const $Response$Type(), releaseOriginal: true), + $a![0]!.as(const $WebSocket$Type$(), releaseOriginal: true), + $a![1]!.as(const jni$_.$JObject$Type$(), releaseOriginal: true), + $a![2]?.as(const $Response$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -14058,10 +14213,10 @@ final class _$WebSocketListenerProxy$WebSocketListener } } -final class $WebSocketListenerProxy$WebSocketListener$NullableType - extends jni$_.JObjType { +final class $WebSocketListenerProxy$WebSocketListener$NullableType$ + extends jni$_.JType { @jni$_.internal - const $WebSocketListenerProxy$WebSocketListener$NullableType(); + const $WebSocketListenerProxy$WebSocketListener$NullableType$(); @jni$_.internal @core$_.override @@ -14079,11 +14234,11 @@ final class $WebSocketListenerProxy$WebSocketListener$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => + jni$_.JType get nullableType => this; @jni$_.internal @@ -14092,20 +14247,20 @@ final class $WebSocketListenerProxy$WebSocketListener$NullableType @core$_.override int get hashCode => - ($WebSocketListenerProxy$WebSocketListener$NullableType).hashCode; + ($WebSocketListenerProxy$WebSocketListener$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($WebSocketListenerProxy$WebSocketListener$NullableType) && - other is $WebSocketListenerProxy$WebSocketListener$NullableType; + ($WebSocketListenerProxy$WebSocketListener$NullableType$) && + other is $WebSocketListenerProxy$WebSocketListener$NullableType$; } } -final class $WebSocketListenerProxy$WebSocketListener$Type - extends jni$_.JObjType { +final class $WebSocketListenerProxy$WebSocketListener$Type$ + extends jni$_.JType { @jni$_.internal - const $WebSocketListenerProxy$WebSocketListener$Type(); + const $WebSocketListenerProxy$WebSocketListener$Type$(); @jni$_.internal @core$_.override @@ -14121,25 +14276,26 @@ final class $WebSocketListenerProxy$WebSocketListener$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $WebSocketListenerProxy$WebSocketListener$NullableType(); + jni$_.JType get nullableType => + const $WebSocketListenerProxy$WebSocketListener$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocketListenerProxy$WebSocketListener$Type).hashCode; + int get hashCode => + ($WebSocketListenerProxy$WebSocketListener$Type$).hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($WebSocketListenerProxy$WebSocketListener$Type) && - other is $WebSocketListenerProxy$WebSocketListener$Type; + ($WebSocketListenerProxy$WebSocketListener$Type$) && + other is $WebSocketListenerProxy$WebSocketListener$Type$; } } @@ -14147,7 +14303,7 @@ final class $WebSocketListenerProxy$WebSocketListener$Type class WebSocketListenerProxy extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal WebSocketListenerProxy.fromReference( @@ -14159,8 +14315,12 @@ class WebSocketListenerProxy extends jni$_.JObject { jni$_.JClass.forName(r'com/example/ok_http/WebSocketListenerProxy'); /// The type which includes information such as the signature of this class. - static const nullableType = $WebSocketListenerProxy$NullableType(); - static const type = $WebSocketListenerProxy$Type(); + static const jni$_.JType nullableType = + $WebSocketListenerProxy$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $WebSocketListenerProxy$Type$(); static final _id_new$ = _class.constructorId( r'(Lcom/example/ok_http/WebSocketListenerProxy$WebSocketListener;)V', ); @@ -14209,7 +14369,7 @@ class WebSocketListenerProxy extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onOpen(okhttp3.WebSocket webSocket, okhttp3.Response response)` + /// from: `public fun onOpen(webSocket: okhttp3.WebSocket, response: okhttp3.Response): kotlin.Unit` void onOpen( WebSocket webSocket, Response response, @@ -14243,7 +14403,7 @@ class WebSocketListenerProxy extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onMessage(okhttp3.WebSocket webSocket, java.lang.String string)` + /// from: `public fun onMessage(webSocket: okhttp3.WebSocket, text: kotlin.String): kotlin.Unit` void onMessage( WebSocket webSocket, jni$_.JString string, @@ -14277,7 +14437,7 @@ class WebSocketListenerProxy extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onMessage(okhttp3.WebSocket webSocket, okio.ByteString byteString)` + /// from: `public fun onMessage(webSocket: okhttp3.WebSocket, bytes: okio.ByteString): kotlin.Unit` void onMessage$1( WebSocket webSocket, ByteString byteString, @@ -14313,7 +14473,7 @@ class WebSocketListenerProxy extends jni$_.JObject { int, jni$_.Pointer)>(); - /// from: `public void onClosing(okhttp3.WebSocket webSocket, int i, java.lang.String string)` + /// from: `public fun onClosing(webSocket: okhttp3.WebSocket, code: kotlin.Int, reason: kotlin.String): kotlin.Unit` void onClosing( WebSocket webSocket, int i, @@ -14350,7 +14510,7 @@ class WebSocketListenerProxy extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onFailure(okhttp3.WebSocket webSocket, java.lang.Throwable throwable, okhttp3.Response response)` + /// from: `public fun onFailure(webSocket: okhttp3.WebSocket, t: kotlin.Throwable, response: okhttp3.Response?): kotlin.Unit` void onFailure( WebSocket webSocket, jni$_.JObject throwable, @@ -14365,10 +14525,10 @@ class WebSocketListenerProxy extends jni$_.JObject { } } -final class $WebSocketListenerProxy$NullableType - extends jni$_.JObjType { +final class $WebSocketListenerProxy$NullableType$ + extends jni$_.JType { @jni$_.internal - const $WebSocketListenerProxy$NullableType(); + const $WebSocketListenerProxy$NullableType$(); @jni$_.internal @core$_.override @@ -14384,30 +14544,30 @@ final class $WebSocketListenerProxy$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocketListenerProxy$NullableType).hashCode; + int get hashCode => ($WebSocketListenerProxy$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocketListenerProxy$NullableType) && - other is $WebSocketListenerProxy$NullableType; + return other.runtimeType == ($WebSocketListenerProxy$NullableType$) && + other is $WebSocketListenerProxy$NullableType$; } } -final class $WebSocketListenerProxy$Type - extends jni$_.JObjType { +final class $WebSocketListenerProxy$Type$ + extends jni$_.JType { @jni$_.internal - const $WebSocketListenerProxy$Type(); + const $WebSocketListenerProxy$Type$(); @jni$_.internal @core$_.override @@ -14421,24 +14581,24 @@ final class $WebSocketListenerProxy$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $WebSocketListenerProxy$NullableType(); + jni$_.JType get nullableType => + const $WebSocketListenerProxy$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocketListenerProxy$Type).hashCode; + int get hashCode => ($WebSocketListenerProxy$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocketListenerProxy$Type) && - other is $WebSocketListenerProxy$Type; + return other.runtimeType == ($WebSocketListenerProxy$Type$) && + other is $WebSocketListenerProxy$Type$; } } @@ -14446,7 +14606,7 @@ final class $WebSocketListenerProxy$Type class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal FixedResponseX509ExtendedKeyManager.fromReference( @@ -14458,9 +14618,12 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { r'com/example/ok_http/FixedResponseX509ExtendedKeyManager'); /// The type which includes information such as the signature of this class. - static const nullableType = - $FixedResponseX509ExtendedKeyManager$NullableType(); - static const type = $FixedResponseX509ExtendedKeyManager$Type(); + static const jni$_.JType nullableType = + $FixedResponseX509ExtendedKeyManager$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $FixedResponseX509ExtendedKeyManager$Type$(); static final _id_new$ = _class.constructorId( r'([Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;)V', ); @@ -14525,13 +14688,13 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public java.lang.String[] getClientAliases(java.lang.String string, java.security.Principal[] principals)` + /// from: `public fun getClientAliases(keyType: kotlin.String?, issuers: kotlin.Array?): kotlin.Array` /// The returned object must be released after use, by calling the [release] method. jni$_.JArray getClientAliases( - jni$_.JString string, - jni$_.JArray? principals, + jni$_.JString? string, + jni$_.JArray? principals, ) { - final _$string = string.reference; + final _$string = string?.reference ?? jni$_.jNullReference; final _$principals = principals?.reference ?? jni$_.jNullReference; return _getClientAliases( reference.pointer, @@ -14539,7 +14702,7 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { _$string.pointer, _$principals.pointer) .object>( - const jni$_.JArrayType(jni$_.JStringType())); + const jni$_.$JArray$Type$(jni$_.$JString$Type$())); } static final _id_chooseClientAlias = _class.instanceMethodId( @@ -14566,14 +14729,14 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public java.lang.String chooseClientAlias(java.lang.String[] strings, java.security.Principal[] principals, java.net.Socket socket)` + /// from: `public fun chooseClientAlias(keyType: kotlin.Array?, issuers: kotlin.Array?, socket: java.net.Socket?): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString chooseClientAlias( - jni$_.JArray strings, - jni$_.JArray? principals, + jni$_.JArray? strings, + jni$_.JArray? principals, jni$_.JObject? socket, ) { - final _$strings = strings.reference; + final _$strings = strings?.reference ?? jni$_.jNullReference; final _$principals = principals?.reference ?? jni$_.jNullReference; final _$socket = socket?.reference ?? jni$_.jNullReference; return _chooseClientAlias( @@ -14582,7 +14745,7 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { _$strings.pointer, _$principals.pointer, _$socket.pointer) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_getServerAliases = _class.instanceMethodId( @@ -14607,13 +14770,13 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public java.lang.String[] getServerAliases(java.lang.String string, java.security.Principal[] principals)` + /// from: `public fun getServerAliases(keyType: kotlin.String?, issuers: kotlin.Array?): kotlin.Array` /// The returned object must be released after use, by calling the [release] method. jni$_.JArray getServerAliases( - jni$_.JString string, - jni$_.JArray? principals, + jni$_.JString? string, + jni$_.JArray? principals, ) { - final _$string = string.reference; + final _$string = string?.reference ?? jni$_.jNullReference; final _$principals = principals?.reference ?? jni$_.jNullReference; return _getServerAliases( reference.pointer, @@ -14621,7 +14784,7 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { _$string.pointer, _$principals.pointer) .object>( - const jni$_.JArrayType(jni$_.JStringType())); + const jni$_.$JArray$Type$(jni$_.$JString$Type$())); } static final _id_chooseServerAlias = _class.instanceMethodId( @@ -14648,14 +14811,14 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public java.lang.String chooseServerAlias(java.lang.String string, java.security.Principal[] principals, java.net.Socket socket)` + /// from: `public fun chooseServerAlias(keyType: kotlin.String?, issuers: kotlin.Array?, socket: java.net.Socket?): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString chooseServerAlias( - jni$_.JString string, - jni$_.JArray? principals, + jni$_.JString? string, + jni$_.JArray? principals, jni$_.JObject? socket, ) { - final _$string = string.reference; + final _$string = string?.reference ?? jni$_.jNullReference; final _$principals = principals?.reference ?? jni$_.jNullReference; final _$socket = socket?.reference ?? jni$_.jNullReference; return _chooseServerAlias( @@ -14664,7 +14827,7 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { _$string.pointer, _$principals.pointer, _$socket.pointer) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_getCertificateChain = _class.instanceMethodId( @@ -14683,16 +14846,17 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public java.security.cert.X509Certificate[] getCertificateChain(java.lang.String string)` + /// from: `public fun getCertificateChain(alias: kotlin.String?): kotlin.Array` /// The returned object must be released after use, by calling the [release] method. jni$_.JArray getCertificateChain( - jni$_.JString string, + jni$_.JString? string, ) { - final _$string = string.reference; + final _$string = string?.reference ?? jni$_.jNullReference; return _getCertificateChain(reference.pointer, _id_getCertificateChain as jni$_.JMethodIDPtr, _$string.pointer) .object>( - const jni$_.JArrayType($X509Certificate$Type())); + const jni$_.$JArray$Type$( + $X509Certificate$Type$())); } static final _id_getPrivateKey = _class.instanceMethodId( @@ -14711,15 +14875,15 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public java.security.PrivateKey getPrivateKey(java.lang.String string)` + /// from: `public fun getPrivateKey(alias: kotlin.String?): java.security.PrivateKey` /// The returned object must be released after use, by calling the [release] method. PrivateKey getPrivateKey( - jni$_.JString string, + jni$_.JString? string, ) { - final _$string = string.reference; + final _$string = string?.reference ?? jni$_.jNullReference; return _getPrivateKey(reference.pointer, _id_getPrivateKey as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $PrivateKey$Type()); + .object(const $PrivateKey$Type$()); } static final _id_chooseEngineClientAlias = _class.instanceMethodId( @@ -14746,7 +14910,7 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public java.lang.String chooseEngineClientAlias(java.lang.String[] strings, java.security.Principal[] principals, javax.net.ssl.SSLEngine sSLEngine)` + /// from: `public fun chooseEngineClientAlias(keyType: kotlin.Array?, issuers: kotlin.Array?, engine: javax.net.ssl.SSLEngine?): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString chooseEngineClientAlias( jni$_.JArray? strings, @@ -14762,7 +14926,7 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { _$strings.pointer, _$principals.pointer, _$sSLEngine.pointer) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_chooseEngineServerAlias = _class.instanceMethodId( @@ -14789,7 +14953,7 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public java.lang.String chooseEngineServerAlias(java.lang.String string, java.security.Principal[] principals, javax.net.ssl.SSLEngine sSLEngine)` + /// from: `public fun chooseEngineServerAlias(keyType: kotlin.String?, issuers: kotlin.Array?, engine: javax.net.ssl.SSLEngine?): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString chooseEngineServerAlias( jni$_.JString? string, @@ -14805,14 +14969,14 @@ class FixedResponseX509ExtendedKeyManager extends X509ExtendedKeyManager { _$string.pointer, _$principals.pointer, _$sSLEngine.pointer) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } } -final class $FixedResponseX509ExtendedKeyManager$NullableType - extends jni$_.JObjType { +final class $FixedResponseX509ExtendedKeyManager$NullableType$ + extends jni$_.JType { @jni$_.internal - const $FixedResponseX509ExtendedKeyManager$NullableType(); + const $FixedResponseX509ExtendedKeyManager$NullableType$(); @jni$_.internal @core$_.override @@ -14830,11 +14994,11 @@ final class $FixedResponseX509ExtendedKeyManager$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const $X509ExtendedKeyManager$Type(); + jni$_.JType get superType => const $X509ExtendedKeyManager$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override @@ -14842,20 +15006,20 @@ final class $FixedResponseX509ExtendedKeyManager$NullableType @core$_.override int get hashCode => - ($FixedResponseX509ExtendedKeyManager$NullableType).hashCode; + ($FixedResponseX509ExtendedKeyManager$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($FixedResponseX509ExtendedKeyManager$NullableType) && - other is $FixedResponseX509ExtendedKeyManager$NullableType; + ($FixedResponseX509ExtendedKeyManager$NullableType$) && + other is $FixedResponseX509ExtendedKeyManager$NullableType$; } } -final class $FixedResponseX509ExtendedKeyManager$Type - extends jni$_.JObjType { +final class $FixedResponseX509ExtendedKeyManager$Type$ + extends jni$_.JType { @jni$_.internal - const $FixedResponseX509ExtendedKeyManager$Type(); + const $FixedResponseX509ExtendedKeyManager$Type$(); @jni$_.internal @core$_.override @@ -14871,24 +15035,24 @@ final class $FixedResponseX509ExtendedKeyManager$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const $X509ExtendedKeyManager$Type(); + jni$_.JType get superType => const $X509ExtendedKeyManager$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $FixedResponseX509ExtendedKeyManager$NullableType(); + jni$_.JType get nullableType => + const $FixedResponseX509ExtendedKeyManager$NullableType$(); @jni$_.internal @core$_.override final superCount = 2; @core$_.override - int get hashCode => ($FixedResponseX509ExtendedKeyManager$Type).hashCode; + int get hashCode => ($FixedResponseX509ExtendedKeyManager$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($FixedResponseX509ExtendedKeyManager$Type) && - other is $FixedResponseX509ExtendedKeyManager$Type; + return other.runtimeType == ($FixedResponseX509ExtendedKeyManager$Type$) && + other is $FixedResponseX509ExtendedKeyManager$Type$; } } @@ -14896,7 +15060,7 @@ final class $FixedResponseX509ExtendedKeyManager$Type class ByteString$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal ByteString$Companion.fromReference( @@ -14907,8 +15071,12 @@ class ByteString$Companion extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okio/ByteString$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $ByteString$Companion$NullableType(); - static const type = $ByteString$Companion$Type(); + static const jni$_.JType nullableType = + $ByteString$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $ByteString$Companion$Type$(); static final _id_of = _class.instanceMethodId( r'of', r'([B)Lokio/ByteString;', @@ -14925,14 +15093,14 @@ class ByteString$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okio.ByteString of(byte[] bs)` + /// from: `public fun of(vararg data: kotlin.Byte): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString of( jni$_.JByteArray bs, ) { final _$bs = bs.reference; return _of(reference.pointer, _id_of as jni$_.JMethodIDPtr, _$bs.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_of$1 = _class.instanceMethodId( @@ -14955,7 +15123,7 @@ class ByteString$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `public final okio.ByteString of(byte[] bs, int i, int i1)` + /// from: `public fun toByteString(offset: kotlin.Int, byteCount: kotlin.Int): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString of$1( jni$_.JByteArray bs, @@ -14965,7 +15133,7 @@ class ByteString$Companion extends jni$_.JObject { final _$bs = bs.reference; return _of$1(reference.pointer, _id_of$1 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_of$2 = _class.instanceMethodId( @@ -14984,7 +15152,7 @@ class ByteString$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okio.ByteString of(java.nio.ByteBuffer byteBuffer)` + /// from: `public fun toByteString(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString of$2( jni$_.JByteBuffer byteBuffer, @@ -14992,7 +15160,7 @@ class ByteString$Companion extends jni$_.JObject { final _$byteBuffer = byteBuffer.reference; return _of$2(reference.pointer, _id_of$2 as jni$_.JMethodIDPtr, _$byteBuffer.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_encodeUtf8 = _class.instanceMethodId( @@ -15011,7 +15179,7 @@ class ByteString$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okio.ByteString encodeUtf8(java.lang.String string)` + /// from: `public fun encodeUtf8(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString encodeUtf8( jni$_.JString string, @@ -15019,7 +15187,7 @@ class ByteString$Companion extends jni$_.JObject { final _$string = string.reference; return _encodeUtf8(reference.pointer, _id_encodeUtf8 as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_encodeString = _class.instanceMethodId( @@ -15044,7 +15212,7 @@ class ByteString$Companion extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final okio.ByteString encodeString(java.lang.String string, java.nio.charset.Charset charset)` + /// from: `public fun encode(charset: java.nio.charset.Charset): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString encodeString( jni$_.JString string, @@ -15057,7 +15225,7 @@ class ByteString$Companion extends jni$_.JObject { _id_encodeString as jni$_.JMethodIDPtr, _$string.pointer, _$charset.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_decodeBase64 = _class.instanceMethodId( @@ -15076,7 +15244,7 @@ class ByteString$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okio.ByteString decodeBase64(java.lang.String string)` + /// from: `public fun decodeBase64(): okio.ByteString?` /// The returned object must be released after use, by calling the [release] method. ByteString? decodeBase64( jni$_.JString string, @@ -15084,7 +15252,7 @@ class ByteString$Companion extends jni$_.JObject { final _$string = string.reference; return _decodeBase64(reference.pointer, _id_decodeBase64 as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $ByteString$NullableType()); + .object(const $ByteString$NullableType$()); } static final _id_decodeHex = _class.instanceMethodId( @@ -15103,7 +15271,7 @@ class ByteString$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okio.ByteString decodeHex(java.lang.String string)` + /// from: `public fun decodeHex(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString decodeHex( jni$_.JString string, @@ -15111,7 +15279,7 @@ class ByteString$Companion extends jni$_.JObject { final _$string = string.reference; return _decodeHex(reference.pointer, _id_decodeHex as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_read = _class.instanceMethodId( @@ -15131,7 +15299,7 @@ class ByteString$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `public final okio.ByteString read(java.io.InputStream inputStream, int i)` + /// from: `public fun readByteString(byteCount: kotlin.Int): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString read( jni$_.JObject inputStream, @@ -15140,7 +15308,7 @@ class ByteString$Companion extends jni$_.JObject { final _$inputStream = inputStream.reference; return _read(reference.pointer, _id_read as jni$_.JMethodIDPtr, _$inputStream.pointer, i) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_new$ = _class.constructorId( @@ -15171,10 +15339,10 @@ class ByteString$Companion extends jni$_.JObject { } } -final class $ByteString$Companion$NullableType - extends jni$_.JObjType { +final class $ByteString$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $ByteString$Companion$NullableType(); + const $ByteString$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -15190,30 +15358,30 @@ final class $ByteString$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ByteString$Companion$NullableType).hashCode; + int get hashCode => ($ByteString$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ByteString$Companion$NullableType) && - other is $ByteString$Companion$NullableType; + return other.runtimeType == ($ByteString$Companion$NullableType$) && + other is $ByteString$Companion$NullableType$; } } -final class $ByteString$Companion$Type - extends jni$_.JObjType { +final class $ByteString$Companion$Type$ + extends jni$_.JType { @jni$_.internal - const $ByteString$Companion$Type(); + const $ByteString$Companion$Type$(); @jni$_.internal @core$_.override @@ -15227,24 +15395,24 @@ final class $ByteString$Companion$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $ByteString$Companion$NullableType(); + jni$_.JType get nullableType => + const $ByteString$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ByteString$Companion$Type).hashCode; + int get hashCode => ($ByteString$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ByteString$Companion$Type) && - other is $ByteString$Companion$Type; + return other.runtimeType == ($ByteString$Companion$Type$) && + other is $ByteString$Companion$Type$; } } @@ -15252,7 +15420,7 @@ final class $ByteString$Companion$Type class ByteString extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal ByteString.fromReference( @@ -15263,8 +15431,11 @@ class ByteString extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'okio/ByteString'); /// The type which includes information such as the signature of this class. - static const nullableType = $ByteString$NullableType(); - static const type = $ByteString$Type(); + static const jni$_.JType nullableType = + $ByteString$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $ByteString$Type$(); static final _id_Companion = _class.staticFieldId( r'Companion', r'Lokio/ByteString$Companion;', @@ -15273,7 +15444,7 @@ class ByteString extends jni$_.JObject { /// from: `static public final okio.ByteString$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static ByteString$Companion get Companion => - _id_Companion.get(_class, const $ByteString$Companion$Type()); + _id_Companion.get(_class, const $ByteString$Companion$Type$()); static final _id_EMPTY = _class.staticFieldId( r'EMPTY', @@ -15283,7 +15454,7 @@ class ByteString extends jni$_.JObject { /// from: `static public final okio.ByteString EMPTY` /// The returned object must be released after use, by calling the [release] method. static ByteString get EMPTY => - _id_EMPTY.get(_class, const $ByteString$Type()); + _id_EMPTY.get(_class, const $ByteString$Type$()); static final _id_new$ = _class.constructorId( r'([B)V', @@ -15328,11 +15499,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String utf8()` + /// from: `public fun utf8(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString utf8() { return _utf8(reference.pointer, _id_utf8 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_string = _class.instanceMethodId( @@ -15351,7 +15522,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public java.lang.String string(java.nio.charset.Charset charset)` + /// from: `public fun string(charset: java.nio.charset.Charset): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString string( jni$_.JObject charset, @@ -15359,7 +15530,7 @@ class ByteString extends jni$_.JObject { final _$charset = charset.reference; return _string(reference.pointer, _id_string as jni$_.JMethodIDPtr, _$charset.pointer) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_base64 = _class.instanceMethodId( @@ -15379,11 +15550,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String base64()` + /// from: `public fun base64(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString base64() { return _base64(reference.pointer, _id_base64 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_md5 = _class.instanceMethodId( @@ -15403,11 +15574,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okio.ByteString md5()` + /// from: `public fun md5(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString md5() { return _md5(reference.pointer, _id_md5 as jni$_.JMethodIDPtr) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_sha1 = _class.instanceMethodId( @@ -15427,11 +15598,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okio.ByteString sha1()` + /// from: `public fun sha1(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString sha1() { return _sha1(reference.pointer, _id_sha1 as jni$_.JMethodIDPtr) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_sha256 = _class.instanceMethodId( @@ -15451,11 +15622,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okio.ByteString sha256()` + /// from: `public fun sha256(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString sha256() { return _sha256(reference.pointer, _id_sha256 as jni$_.JMethodIDPtr) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_sha512 = _class.instanceMethodId( @@ -15475,11 +15646,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final okio.ByteString sha512()` + /// from: `public fun sha512(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString sha512() { return _sha512(reference.pointer, _id_sha512 as jni$_.JMethodIDPtr) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_hmacSha1 = _class.instanceMethodId( @@ -15498,7 +15669,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okio.ByteString hmacSha1(okio.ByteString byteString)` + /// from: `public fun hmacSha1(key: okio.ByteString): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString hmacSha1( ByteString byteString, @@ -15506,7 +15677,7 @@ class ByteString extends jni$_.JObject { final _$byteString = byteString.reference; return _hmacSha1(reference.pointer, _id_hmacSha1 as jni$_.JMethodIDPtr, _$byteString.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_hmacSha256 = _class.instanceMethodId( @@ -15525,7 +15696,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okio.ByteString hmacSha256(okio.ByteString byteString)` + /// from: `public fun hmacSha256(key: okio.ByteString): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString hmacSha256( ByteString byteString, @@ -15533,7 +15704,7 @@ class ByteString extends jni$_.JObject { final _$byteString = byteString.reference; return _hmacSha256(reference.pointer, _id_hmacSha256 as jni$_.JMethodIDPtr, _$byteString.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_hmacSha512 = _class.instanceMethodId( @@ -15552,7 +15723,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public okio.ByteString hmacSha512(okio.ByteString byteString)` + /// from: `public fun hmacSha512(key: okio.ByteString): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString hmacSha512( ByteString byteString, @@ -15560,7 +15731,7 @@ class ByteString extends jni$_.JObject { final _$byteString = byteString.reference; return _hmacSha512(reference.pointer, _id_hmacSha512 as jni$_.JMethodIDPtr, _$byteString.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_base64Url = _class.instanceMethodId( @@ -15580,11 +15751,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String base64Url()` + /// from: `public fun base64Url(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString base64Url() { return _base64Url(reference.pointer, _id_base64Url as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_hex = _class.instanceMethodId( @@ -15604,11 +15775,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String hex()` + /// from: `public fun hex(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString hex() { return _hex(reference.pointer, _id_hex as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_toAsciiLowercase = _class.instanceMethodId( @@ -15628,12 +15799,12 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public okio.ByteString toAsciiLowercase()` + /// from: `public fun toAsciiLowercase(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString toAsciiLowercase() { return _toAsciiLowercase( reference.pointer, _id_toAsciiLowercase as jni$_.JMethodIDPtr) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_toAsciiUppercase = _class.instanceMethodId( @@ -15653,12 +15824,12 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public okio.ByteString toAsciiUppercase()` + /// from: `public fun toAsciiUppercase(): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString toAsciiUppercase() { return _toAsciiUppercase( reference.pointer, _id_toAsciiUppercase as jni$_.JMethodIDPtr) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_substring = _class.instanceMethodId( @@ -15677,7 +15848,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); - /// from: `public okio.ByteString substring(int i, int i1)` + /// from: `public fun substring(beginIndex: kotlin.Int, endIndex: kotlin.Int): okio.ByteString` /// The returned object must be released after use, by calling the [release] method. ByteString substring( int i, @@ -15685,7 +15856,7 @@ class ByteString extends jni$_.JObject { ) { return _substring( reference.pointer, _id_substring as jni$_.JMethodIDPtr, i, i1) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_getByte = _class.instanceMethodId( @@ -15703,7 +15874,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public final byte getByte(int i)` + /// from: `public operator fun get(index: kotlin.Int): kotlin.Byte` int getByte( int i, ) { @@ -15750,12 +15921,12 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public byte[] toByteArray()` + /// from: `public fun toByteArray(): kotlin.ByteArray` /// The returned object must be released after use, by calling the [release] method. jni$_.JByteArray toByteArray() { return _toByteArray( reference.pointer, _id_toByteArray as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayType()); + .object(const jni$_.$JByteArray$Type$()); } static final _id_asByteBuffer = _class.instanceMethodId( @@ -15775,12 +15946,12 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.nio.ByteBuffer asByteBuffer()` + /// from: `public fun asByteBuffer(): java.nio.ByteBuffer` /// The returned object must be released after use, by calling the [release] method. jni$_.JByteBuffer asByteBuffer() { return _asByteBuffer( reference.pointer, _id_asByteBuffer as jni$_.JMethodIDPtr) - .object(const jni$_.JByteBufferType()); + .object(const jni$_.$JByteBuffer$Type$()); } static final _id_write = _class.instanceMethodId( @@ -15799,7 +15970,7 @@ class ByteString extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public void write(java.io.OutputStream outputStream)` + /// from: `public fun write(out: java.io.OutputStream): kotlin.Unit` void write( jni$_.JObject outputStream, ) { @@ -15830,7 +16001,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer, int, int)>(); - /// from: `public boolean rangeEquals(int i, okio.ByteString byteString, int i1, int i2)` + /// from: `public fun rangeEquals(offset: kotlin.Int, other: okio.ByteString, otherOffset: kotlin.Int, byteCount: kotlin.Int): kotlin.Boolean` bool rangeEquals( int i, ByteString byteString, @@ -15869,7 +16040,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer, int, int)>(); - /// from: `public boolean rangeEquals(int i, byte[] bs, int i1, int i2)` + /// from: `public fun rangeEquals(offset: kotlin.Int, other: kotlin.ByteArray, otherOffset: kotlin.Int, byteCount: kotlin.Int): kotlin.Boolean` bool rangeEquals$1( int i, jni$_.JByteArray bs, @@ -15903,7 +16074,7 @@ class ByteString extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer, int, int)>(); - /// from: `public void copyInto(int i, byte[] bs, int i1, int i2)` + /// from: `public fun copyInto(offset: kotlin.Int, target: kotlin.ByteArray, targetOffset: kotlin.Int, byteCount: kotlin.Int): kotlin.Unit` void copyInto( int i, jni$_.JByteArray bs, @@ -15932,7 +16103,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final boolean startsWith(okio.ByteString byteString)` + /// from: `public fun startsWith(prefix: okio.ByteString): kotlin.Boolean` bool startsWith( ByteString byteString, ) { @@ -15958,7 +16129,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final boolean startsWith(byte[] bs)` + /// from: `public fun startsWith(prefix: kotlin.ByteArray): kotlin.Boolean` bool startsWith$1( jni$_.JByteArray bs, ) { @@ -15984,7 +16155,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final boolean endsWith(okio.ByteString byteString)` + /// from: `public fun endsWith(suffix: okio.ByteString): kotlin.Boolean` bool endsWith( ByteString byteString, ) { @@ -16010,7 +16181,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final boolean endsWith(byte[] bs)` + /// from: `public fun endsWith(suffix: kotlin.ByteArray): kotlin.Boolean` bool endsWith$1( jni$_.JByteArray bs, ) { @@ -16037,7 +16208,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `public final int indexOf(okio.ByteString byteString, int i)` + /// from: `public fun indexOf(other: okio.ByteString, fromIndex: kotlin.Int): kotlin.Int` int indexOf( ByteString byteString, int i, @@ -16065,7 +16236,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `public int indexOf(byte[] bs, int i)` + /// from: `public fun indexOf(other: kotlin.ByteArray, fromIndex: kotlin.Int): kotlin.Int` int indexOf$1( jni$_.JByteArray bs, int i, @@ -16093,7 +16264,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `public final int lastIndexOf(okio.ByteString byteString, int i)` + /// from: `public fun lastIndexOf(other: okio.ByteString, fromIndex: kotlin.Int): kotlin.Int` int lastIndexOf( ByteString byteString, int i, @@ -16121,7 +16292,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `public int lastIndexOf(byte[] bs, int i)` + /// from: `public fun lastIndexOf(other: kotlin.ByteArray, fromIndex: kotlin.Int): kotlin.Int` int lastIndexOf$1( jni$_.JByteArray bs, int i, @@ -16148,7 +16319,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public boolean equals(java.lang.Object object)` + /// from: `public operator fun equals(other: kotlin.Any?): kotlin.Boolean` bool equals( jni$_.JObject? object, ) { @@ -16175,7 +16346,7 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public int hashCode()` + /// from: `public fun hashCode(): kotlin.Int` int hashCode$1() { return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) .integer; @@ -16197,7 +16368,7 @@ class ByteString extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public int compareTo(okio.ByteString byteString)` + /// from: `public operator fun compareTo(other: okio.ByteString): kotlin.Int` int compareTo( ByteString byteString, ) { @@ -16224,11 +16395,11 @@ class ByteString extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String toString()` + /// from: `public fun toString(): kotlin.String` /// The returned object must be released after use, by calling the [release] method. jni$_.JString toString$1() { return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + .object(const jni$_.$JString$Type$()); } static final _id_substring$1 = _class.instanceMethodId( @@ -16253,7 +16424,7 @@ class ByteString extends jni$_.JObject { ) { return _substring$1( reference.pointer, _id_substring$1 as jni$_.JMethodIDPtr, i) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_substring$2 = _class.instanceMethodId( @@ -16278,7 +16449,7 @@ class ByteString extends jni$_.JObject { ByteString substring$2() { return _substring$2( reference.pointer, _id_substring$2 as jni$_.JMethodIDPtr) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_indexOf$2 = _class.instanceMethodId( @@ -16409,7 +16580,7 @@ class ByteString extends jni$_.JObject { final _$bs = bs.reference; return _of(_class.reference.pointer, _id_of as jni$_.JMethodIDPtr, _$bs.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_of$1 = _class.staticMethodId( @@ -16442,7 +16613,7 @@ class ByteString extends jni$_.JObject { final _$bs = bs.reference; return _of$1(_class.reference.pointer, _id_of$1 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_of$2 = _class.staticMethodId( @@ -16469,7 +16640,7 @@ class ByteString extends jni$_.JObject { final _$byteBuffer = byteBuffer.reference; return _of$2(_class.reference.pointer, _id_of$2 as jni$_.JMethodIDPtr, _$byteBuffer.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_encodeUtf8 = _class.staticMethodId( @@ -16496,7 +16667,7 @@ class ByteString extends jni$_.JObject { final _$string = string.reference; return _encodeUtf8(_class.reference.pointer, _id_encodeUtf8 as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_encodeString = _class.staticMethodId( @@ -16534,7 +16705,7 @@ class ByteString extends jni$_.JObject { _id_encodeString as jni$_.JMethodIDPtr, _$string.pointer, _$charset.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_decodeBase64 = _class.staticMethodId( @@ -16561,7 +16732,7 @@ class ByteString extends jni$_.JObject { final _$string = string.reference; return _decodeBase64(_class.reference.pointer, _id_decodeBase64 as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $ByteString$NullableType()); + .object(const $ByteString$NullableType$()); } static final _id_decodeHex = _class.staticMethodId( @@ -16588,7 +16759,7 @@ class ByteString extends jni$_.JObject { final _$string = string.reference; return _decodeHex(_class.reference.pointer, _id_decodeHex as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); } static final _id_read = _class.staticMethodId( @@ -16617,13 +16788,29 @@ class ByteString extends jni$_.JObject { final _$inputStream = inputStream.reference; return _read(_class.reference.pointer, _id_read as jni$_.JMethodIDPtr, _$inputStream.pointer, i) - .object(const $ByteString$Type()); + .object(const $ByteString$Type$()); + } + + bool operator <(ByteString byteString) { + return compareTo(byteString) < 0; + } + + bool operator <=(ByteString byteString) { + return compareTo(byteString) <= 0; + } + + bool operator >(ByteString byteString) { + return compareTo(byteString) > 0; + } + + bool operator >=(ByteString byteString) { + return compareTo(byteString) >= 0; } } -final class $ByteString$NullableType extends jni$_.JObjType { +final class $ByteString$NullableType$ extends jni$_.JType { @jni$_.internal - const $ByteString$NullableType(); + const $ByteString$NullableType$(); @jni$_.internal @core$_.override @@ -16638,29 +16825,29 @@ final class $ByteString$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ByteString$NullableType).hashCode; + int get hashCode => ($ByteString$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ByteString$NullableType) && - other is $ByteString$NullableType; + return other.runtimeType == ($ByteString$NullableType$) && + other is $ByteString$NullableType$; } } -final class $ByteString$Type extends jni$_.JObjType { +final class $ByteString$Type$ extends jni$_.JType { @jni$_.internal - const $ByteString$Type(); + const $ByteString$Type$(); @jni$_.internal @core$_.override @@ -16674,23 +16861,24 @@ final class $ByteString$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $ByteString$NullableType(); + jni$_.JType get nullableType => + const $ByteString$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ByteString$Type).hashCode; + int get hashCode => ($ByteString$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ByteString$Type) && other is $ByteString$Type; + return other.runtimeType == ($ByteString$Type$) && + other is $ByteString$Type$; } } @@ -16698,7 +16886,7 @@ final class $ByteString$Type extends jni$_.JObjType { class WebSocketInterceptor$Companion extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal WebSocketInterceptor$Companion.fromReference( @@ -16710,8 +16898,12 @@ class WebSocketInterceptor$Companion extends jni$_.JObject { r'com/example/ok_http/WebSocketInterceptor$Companion'); /// The type which includes information such as the signature of this class. - static const nullableType = $WebSocketInterceptor$Companion$NullableType(); - static const type = $WebSocketInterceptor$Companion$Type(); + static const jni$_.JType nullableType = + $WebSocketInterceptor$Companion$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $WebSocketInterceptor$Companion$Type$(); static final _id_addWSInterceptor = _class.instanceMethodId( r'addWSInterceptor', r'(Lokhttp3/OkHttpClient$Builder;)Lokhttp3/OkHttpClient$Builder;', @@ -16728,7 +16920,7 @@ class WebSocketInterceptor$Companion extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final okhttp3.OkHttpClient$Builder addWSInterceptor(okhttp3.OkHttpClient$Builder builder)` + /// from: `public fun addWSInterceptor(clientBuilder: okhttp3.OkHttpClient.Builder): okhttp3.OkHttpClient.Builder` /// The returned object must be released after use, by calling the [release] method. OkHttpClient$Builder addWSInterceptor( OkHttpClient$Builder builder, @@ -16736,7 +16928,7 @@ class WebSocketInterceptor$Companion extends jni$_.JObject { final _$builder = builder.reference; return _addWSInterceptor(reference.pointer, _id_addWSInterceptor as jni$_.JMethodIDPtr, _$builder.pointer) - .object(const $OkHttpClient$Builder$Type()); + .object(const $OkHttpClient$Builder$Type$()); } static final _id_new$ = _class.constructorId( @@ -16769,10 +16961,10 @@ class WebSocketInterceptor$Companion extends jni$_.JObject { } } -final class $WebSocketInterceptor$Companion$NullableType - extends jni$_.JObjType { +final class $WebSocketInterceptor$Companion$NullableType$ + extends jni$_.JType { @jni$_.internal - const $WebSocketInterceptor$Companion$NullableType(); + const $WebSocketInterceptor$Companion$NullableType$(); @jni$_.internal @core$_.override @@ -16789,31 +16981,31 @@ final class $WebSocketInterceptor$Companion$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocketInterceptor$Companion$NullableType).hashCode; + int get hashCode => ($WebSocketInterceptor$Companion$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($WebSocketInterceptor$Companion$NullableType) && - other is $WebSocketInterceptor$Companion$NullableType; + ($WebSocketInterceptor$Companion$NullableType$) && + other is $WebSocketInterceptor$Companion$NullableType$; } } -final class $WebSocketInterceptor$Companion$Type - extends jni$_.JObjType { +final class $WebSocketInterceptor$Companion$Type$ + extends jni$_.JType { @jni$_.internal - const $WebSocketInterceptor$Companion$Type(); + const $WebSocketInterceptor$Companion$Type$(); @jni$_.internal @core$_.override @@ -16828,24 +17020,24 @@ final class $WebSocketInterceptor$Companion$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $WebSocketInterceptor$Companion$NullableType(); + jni$_.JType get nullableType => + const $WebSocketInterceptor$Companion$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocketInterceptor$Companion$Type).hashCode; + int get hashCode => ($WebSocketInterceptor$Companion$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocketInterceptor$Companion$Type) && - other is $WebSocketInterceptor$Companion$Type; + return other.runtimeType == ($WebSocketInterceptor$Companion$Type$) && + other is $WebSocketInterceptor$Companion$Type$; } } @@ -16853,7 +17045,7 @@ final class $WebSocketInterceptor$Companion$Type class WebSocketInterceptor extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal WebSocketInterceptor.fromReference( @@ -16865,8 +17057,12 @@ class WebSocketInterceptor extends jni$_.JObject { jni$_.JClass.forName(r'com/example/ok_http/WebSocketInterceptor'); /// The type which includes information such as the signature of this class. - static const nullableType = $WebSocketInterceptor$NullableType(); - static const type = $WebSocketInterceptor$Type(); + static const jni$_.JType nullableType = + $WebSocketInterceptor$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $WebSocketInterceptor$Type$(); static final _id_Companion = _class.staticFieldId( r'Companion', r'Lcom/example/ok_http/WebSocketInterceptor$Companion;', @@ -16875,7 +17071,7 @@ class WebSocketInterceptor extends jni$_.JObject { /// from: `static public final com.example.ok_http.WebSocketInterceptor$Companion Companion` /// The returned object must be released after use, by calling the [release] method. static WebSocketInterceptor$Companion get Companion => - _id_Companion.get(_class, const $WebSocketInterceptor$Companion$Type()); + _id_Companion.get(_class, const $WebSocketInterceptor$Companion$Type$()); static final _id_new$ = _class.constructorId( r'()V', @@ -16902,10 +17098,10 @@ class WebSocketInterceptor extends jni$_.JObject { } } -final class $WebSocketInterceptor$NullableType - extends jni$_.JObjType { +final class $WebSocketInterceptor$NullableType$ + extends jni$_.JType { @jni$_.internal - const $WebSocketInterceptor$NullableType(); + const $WebSocketInterceptor$NullableType$(); @jni$_.internal @core$_.override @@ -16921,30 +17117,30 @@ final class $WebSocketInterceptor$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocketInterceptor$NullableType).hashCode; + int get hashCode => ($WebSocketInterceptor$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocketInterceptor$NullableType) && - other is $WebSocketInterceptor$NullableType; + return other.runtimeType == ($WebSocketInterceptor$NullableType$) && + other is $WebSocketInterceptor$NullableType$; } } -final class $WebSocketInterceptor$Type - extends jni$_.JObjType { +final class $WebSocketInterceptor$Type$ + extends jni$_.JType { @jni$_.internal - const $WebSocketInterceptor$Type(); + const $WebSocketInterceptor$Type$(); @jni$_.internal @core$_.override @@ -16958,24 +17154,24 @@ final class $WebSocketInterceptor$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectType(); + jni$_.JType get superType => const jni$_.$JObject$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $WebSocketInterceptor$NullableType(); + jni$_.JType get nullableType => + const $WebSocketInterceptor$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($WebSocketInterceptor$Type).hashCode; + int get hashCode => ($WebSocketInterceptor$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($WebSocketInterceptor$Type) && - other is $WebSocketInterceptor$Type; + return other.runtimeType == ($WebSocketInterceptor$Type$) && + other is $WebSocketInterceptor$Type$; } } @@ -16983,7 +17179,7 @@ final class $WebSocketInterceptor$Type class TimeUnit extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal TimeUnit.fromReference( @@ -16994,17 +17190,27 @@ class TimeUnit extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/util/concurrent/TimeUnit'); /// The type which includes information such as the signature of this class. - static const nullableType = $TimeUnit$NullableType(); - static const type = $TimeUnit$Type(); - static final _id_NANOSECONDS = _class.staticFieldId( - r'NANOSECONDS', + static const jni$_.JType nullableType = $TimeUnit$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $TimeUnit$Type$(); + static final _id_DAYS = _class.staticFieldId( + r'DAYS', r'Ljava/util/concurrent/TimeUnit;', ); - /// from: `static public final java.util.concurrent.TimeUnit NANOSECONDS` + /// from: `static public final java.util.concurrent.TimeUnit DAYS` /// The returned object must be released after use, by calling the [release] method. - static TimeUnit get NANOSECONDS => - _id_NANOSECONDS.get(_class, const $TimeUnit$Type()); + static TimeUnit get DAYS => _id_DAYS.get(_class, const $TimeUnit$Type$()); + + static final _id_HOURS = _class.staticFieldId( + r'HOURS', + r'Ljava/util/concurrent/TimeUnit;', + ); + + /// from: `static public final java.util.concurrent.TimeUnit HOURS` + /// The returned object must be released after use, by calling the [release] method. + static TimeUnit get HOURS => _id_HOURS.get(_class, const $TimeUnit$Type$()); static final _id_MICROSECONDS = _class.staticFieldId( r'MICROSECONDS', @@ -17014,7 +17220,7 @@ class TimeUnit extends jni$_.JObject { /// from: `static public final java.util.concurrent.TimeUnit MICROSECONDS` /// The returned object must be released after use, by calling the [release] method. static TimeUnit get MICROSECONDS => - _id_MICROSECONDS.get(_class, const $TimeUnit$Type()); + _id_MICROSECONDS.get(_class, const $TimeUnit$Type$()); static final _id_MILLISECONDS = _class.staticFieldId( r'MILLISECONDS', @@ -17024,17 +17230,7 @@ class TimeUnit extends jni$_.JObject { /// from: `static public final java.util.concurrent.TimeUnit MILLISECONDS` /// The returned object must be released after use, by calling the [release] method. static TimeUnit get MILLISECONDS => - _id_MILLISECONDS.get(_class, const $TimeUnit$Type()); - - static final _id_SECONDS = _class.staticFieldId( - r'SECONDS', - r'Ljava/util/concurrent/TimeUnit;', - ); - - /// from: `static public final java.util.concurrent.TimeUnit SECONDS` - /// The returned object must be released after use, by calling the [release] method. - static TimeUnit get SECONDS => - _id_SECONDS.get(_class, const $TimeUnit$Type()); + _id_MILLISECONDS.get(_class, const $TimeUnit$Type$()); static final _id_MINUTES = _class.staticFieldId( r'MINUTES', @@ -17044,25 +17240,27 @@ class TimeUnit extends jni$_.JObject { /// from: `static public final java.util.concurrent.TimeUnit MINUTES` /// The returned object must be released after use, by calling the [release] method. static TimeUnit get MINUTES => - _id_MINUTES.get(_class, const $TimeUnit$Type()); + _id_MINUTES.get(_class, const $TimeUnit$Type$()); - static final _id_HOURS = _class.staticFieldId( - r'HOURS', + static final _id_NANOSECONDS = _class.staticFieldId( + r'NANOSECONDS', r'Ljava/util/concurrent/TimeUnit;', ); - /// from: `static public final java.util.concurrent.TimeUnit HOURS` + /// from: `static public final java.util.concurrent.TimeUnit NANOSECONDS` /// The returned object must be released after use, by calling the [release] method. - static TimeUnit get HOURS => _id_HOURS.get(_class, const $TimeUnit$Type()); + static TimeUnit get NANOSECONDS => + _id_NANOSECONDS.get(_class, const $TimeUnit$Type$()); - static final _id_DAYS = _class.staticFieldId( - r'DAYS', + static final _id_SECONDS = _class.staticFieldId( + r'SECONDS', r'Ljava/util/concurrent/TimeUnit;', ); - /// from: `static public final java.util.concurrent.TimeUnit DAYS` + /// from: `static public final java.util.concurrent.TimeUnit SECONDS` /// The returned object must be released after use, by calling the [release] method. - static TimeUnit get DAYS => _id_DAYS.get(_class, const $TimeUnit$Type()); + static TimeUnit get SECONDS => + _id_SECONDS.get(_class, const $TimeUnit$Type$()); static final _id_values = _class.staticMethodId( r'values', @@ -17086,8 +17284,8 @@ class TimeUnit extends jni$_.JObject { static jni$_.JArray? values() { return _values(_class.reference.pointer, _id_values as jni$_.JMethodIDPtr) .object?>( - const jni$_.JArrayNullableType( - $TimeUnit$NullableType())); + const jni$_.$JArray$NullableType$( + $TimeUnit$NullableType$())); } static final _id_valueOf = _class.staticMethodId( @@ -17114,15 +17312,41 @@ class TimeUnit extends jni$_.JObject { final _$synthetic = synthetic?.reference ?? jni$_.jNullReference; return _valueOf(_class.reference.pointer, _id_valueOf as jni$_.JMethodIDPtr, _$synthetic.pointer) - .object(const $TimeUnit$NullableType()); + .object(const $TimeUnit$NullableType$()); } static final _id_convert = _class.instanceMethodId( r'convert', - r'(JLjava/util/concurrent/TimeUnit;)J', + r'(Ljava/time/Duration;)J', ); static final _convert = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallLongMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public long convert(java.time.Duration duration)` + int convert( + jni$_.JObject? duration, + ) { + final _$duration = duration?.reference ?? jni$_.jNullReference; + return _convert(reference.pointer, _id_convert as jni$_.JMethodIDPtr, + _$duration.pointer) + .long; + } + + static final _id_convert$1 = _class.instanceMethodId( + r'convert', + r'(JLjava/util/concurrent/TimeUnit;)J', + ); + + static final _convert$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -17135,140 +17359,152 @@ class TimeUnit extends jni$_.JObject { jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); /// from: `public long convert(long j, java.util.concurrent.TimeUnit timeUnit)` - int convert( + int convert$1( int j, TimeUnit? timeUnit, ) { final _$timeUnit = timeUnit?.reference ?? jni$_.jNullReference; - return _convert(reference.pointer, _id_convert as jni$_.JMethodIDPtr, j, + return _convert$1(reference.pointer, _id_convert$1 as jni$_.JMethodIDPtr, j, _$timeUnit.pointer) .long; } - static final _id_convert$1 = _class.instanceMethodId( - r'convert', - r'(Ljava/time/Duration;)J', + static final _id_of = _class.staticMethodId( + r'of', + r'(Ljava/time/temporal/ChronoUnit;)Ljava/util/concurrent/TimeUnit;', ); - static final _convert$1 = jni$_.ProtectedJniExtensions.lookup< + static final _of = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallLongMethod') + 'globalEnv_CallStaticObjectMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public long convert(java.time.Duration duration)` - int convert$1( - jni$_.JObject? duration, + /// from: `static public java.util.concurrent.TimeUnit of(java.time.temporal.ChronoUnit chronoUnit)` + /// The returned object must be released after use, by calling the [release] method. + static TimeUnit? of( + jni$_.JObject? chronoUnit, ) { - final _$duration = duration?.reference ?? jni$_.jNullReference; - return _convert$1(reference.pointer, _id_convert$1 as jni$_.JMethodIDPtr, - _$duration.pointer) - .long; + final _$chronoUnit = chronoUnit?.reference ?? jni$_.jNullReference; + return _of(_class.reference.pointer, _id_of as jni$_.JMethodIDPtr, + _$chronoUnit.pointer) + .object(const $TimeUnit$NullableType$()); } - static final _id_toNanos = _class.instanceMethodId( - r'toNanos', - r'(J)J', + static final _id_sleep = _class.instanceMethodId( + r'sleep', + r'(J)V', ); - static final _toNanos = jni$_.ProtectedJniExtensions.lookup< + static final _sleep = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallLongMethod') + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public long toNanos(long j)` - int toNanos( + /// from: `public void sleep(long j)` + void sleep( int j, ) { - return _toNanos(reference.pointer, _id_toNanos as jni$_.JMethodIDPtr, j) - .long; + _sleep(reference.pointer, _id_sleep as jni$_.JMethodIDPtr, j).check(); } - static final _id_toMicros = _class.instanceMethodId( - r'toMicros', - r'(J)J', + static final _id_timedJoin = _class.instanceMethodId( + r'timedJoin', + r'(Ljava/lang/Thread;J)V', ); - static final _toMicros = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallLongMethod') + static final _timedJoin = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `public long toMicros(long j)` - int toMicros( + /// from: `public void timedJoin(java.lang.Thread thread, long j)` + void timedJoin( + jni$_.JObject? thread, int j, ) { - return _toMicros(reference.pointer, _id_toMicros as jni$_.JMethodIDPtr, j) - .long; + final _$thread = thread?.reference ?? jni$_.jNullReference; + _timedJoin(reference.pointer, _id_timedJoin as jni$_.JMethodIDPtr, + _$thread.pointer, j) + .check(); } - static final _id_toMillis = _class.instanceMethodId( - r'toMillis', - r'(J)J', + static final _id_timedWait = _class.instanceMethodId( + r'timedWait', + r'(Ljava/lang/Object;J)V', ); - static final _toMillis = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallLongMethod') + static final _timedWait = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( + 'globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `public long toMillis(long j)` - int toMillis( + /// from: `public void timedWait(java.lang.Object object, long j)` + void timedWait( + jni$_.JObject? object, int j, ) { - return _toMillis(reference.pointer, _id_toMillis as jni$_.JMethodIDPtr, j) - .long; + final _$object = object?.reference ?? jni$_.jNullReference; + _timedWait(reference.pointer, _id_timedWait as jni$_.JMethodIDPtr, + _$object.pointer, j) + .check(); } - static final _id_toSeconds = _class.instanceMethodId( - r'toSeconds', - r'(J)J', + static final _id_toChronoUnit = _class.instanceMethodId( + r'toChronoUnit', + r'()Ljava/time/temporal/ChronoUnit;', ); - static final _toSeconds = jni$_.ProtectedJniExtensions.lookup< + static final _toChronoUnit = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallLongMethod') + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); - /// from: `public long toSeconds(long j)` - int toSeconds( - int j, - ) { - return _toSeconds(reference.pointer, _id_toSeconds as jni$_.JMethodIDPtr, j) - .long; + /// from: `public java.time.temporal.ChronoUnit toChronoUnit()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? toChronoUnit() { + return _toChronoUnit( + reference.pointer, _id_toChronoUnit as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_toMinutes = _class.instanceMethodId( - r'toMinutes', + static final _id_toDays = _class.instanceMethodId( + r'toDays', r'(J)J', ); - static final _toMinutes = jni$_.ProtectedJniExtensions.lookup< + static final _toDays = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -17278,12 +17514,11 @@ class TimeUnit extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public long toMinutes(long j)` - int toMinutes( + /// from: `public long toDays(long j)` + int toDays( int j, ) { - return _toMinutes(reference.pointer, _id_toMinutes as jni$_.JMethodIDPtr, j) - .long; + return _toDays(reference.pointer, _id_toDays as jni$_.JMethodIDPtr, j).long; } static final _id_toHours = _class.instanceMethodId( @@ -17309,12 +17544,12 @@ class TimeUnit extends jni$_.JObject { .long; } - static final _id_toDays = _class.instanceMethodId( - r'toDays', + static final _id_toMicros = _class.instanceMethodId( + r'toMicros', r'(J)J', ); - static final _toDays = jni$_.ProtectedJniExtensions.lookup< + static final _toMicros = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -17324,147 +17559,110 @@ class TimeUnit extends jni$_.JObject { jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public long toDays(long j)` - int toDays( + /// from: `public long toMicros(long j)` + int toMicros( int j, ) { - return _toDays(reference.pointer, _id_toDays as jni$_.JMethodIDPtr, j).long; + return _toMicros(reference.pointer, _id_toMicros as jni$_.JMethodIDPtr, j) + .long; } - static final _id_timedWait = _class.instanceMethodId( - r'timedWait', - r'(Ljava/lang/Object;J)V', + static final _id_toMillis = _class.instanceMethodId( + r'toMillis', + r'(J)J', ); - static final _timedWait = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( - 'globalEnv_CallVoidMethod') + static final _toMillis = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallLongMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public void timedWait(java.lang.Object object, long j)` - void timedWait( - jni$_.JObject? object, + /// from: `public long toMillis(long j)` + int toMillis( int j, ) { - final _$object = object?.reference ?? jni$_.jNullReference; - _timedWait(reference.pointer, _id_timedWait as jni$_.JMethodIDPtr, - _$object.pointer, j) - .check(); + return _toMillis(reference.pointer, _id_toMillis as jni$_.JMethodIDPtr, j) + .long; } - static final _id_timedJoin = _class.instanceMethodId( - r'timedJoin', - r'(Ljava/lang/Thread;J)V', + static final _id_toMinutes = _class.instanceMethodId( + r'toMinutes', + r'(J)J', ); - static final _timedJoin = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( - 'globalEnv_CallVoidMethod') + static final _toMinutes = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallLongMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public void timedJoin(java.lang.Thread thread, long j)` - void timedJoin( - jni$_.JObject? thread, + /// from: `public long toMinutes(long j)` + int toMinutes( int j, ) { - final _$thread = thread?.reference ?? jni$_.jNullReference; - _timedJoin(reference.pointer, _id_timedJoin as jni$_.JMethodIDPtr, - _$thread.pointer, j) - .check(); + return _toMinutes(reference.pointer, _id_toMinutes as jni$_.JMethodIDPtr, j) + .long; } - static final _id_sleep = _class.instanceMethodId( - r'sleep', - r'(J)V', + static final _id_toNanos = _class.instanceMethodId( + r'toNanos', + r'(J)J', ); - static final _sleep = jni$_.ProtectedJniExtensions.lookup< + static final _toNanos = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallVoidMethod') + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallLongMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public void sleep(long j)` - void sleep( + /// from: `public long toNanos(long j)` + int toNanos( int j, ) { - _sleep(reference.pointer, _id_sleep as jni$_.JMethodIDPtr, j).check(); + return _toNanos(reference.pointer, _id_toNanos as jni$_.JMethodIDPtr, j) + .long; } - static final _id_toChronoUnit = _class.instanceMethodId( - r'toChronoUnit', - r'()Ljava/time/temporal/ChronoUnit;', + static final _id_toSeconds = _class.instanceMethodId( + r'toSeconds', + r'(J)J', ); - static final _toChronoUnit = jni$_.ProtectedJniExtensions.lookup< + static final _toSeconds = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallLongMethod') .asFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public java.time.temporal.ChronoUnit toChronoUnit()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? toChronoUnit() { - return _toChronoUnit( - reference.pointer, _id_toChronoUnit as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_of = _class.staticMethodId( - r'of', - r'(Ljava/time/temporal/ChronoUnit;)Ljava/util/concurrent/TimeUnit;', - ); - - static final _of = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `static public java.util.concurrent.TimeUnit of(java.time.temporal.ChronoUnit chronoUnit)` - /// The returned object must be released after use, by calling the [release] method. - static TimeUnit? of( - jni$_.JObject? chronoUnit, + /// from: `public long toSeconds(long j)` + int toSeconds( + int j, ) { - final _$chronoUnit = chronoUnit?.reference ?? jni$_.jNullReference; - return _of(_class.reference.pointer, _id_of as jni$_.JMethodIDPtr, - _$chronoUnit.pointer) - .object(const $TimeUnit$NullableType()); + return _toSeconds(reference.pointer, _id_toSeconds as jni$_.JMethodIDPtr, j) + .long; } } -final class $TimeUnit$NullableType extends jni$_.JObjType { +final class $TimeUnit$NullableType$ extends jni$_.JType { @jni$_.internal - const $TimeUnit$NullableType(); + const $TimeUnit$NullableType$(); @jni$_.internal @core$_.override @@ -17479,29 +17677,29 @@ final class $TimeUnit$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($TimeUnit$NullableType).hashCode; + int get hashCode => ($TimeUnit$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($TimeUnit$NullableType) && - other is $TimeUnit$NullableType; + return other.runtimeType == ($TimeUnit$NullableType$) && + other is $TimeUnit$NullableType$; } } -final class $TimeUnit$Type extends jni$_.JObjType { +final class $TimeUnit$Type$ extends jni$_.JType { @jni$_.internal - const $TimeUnit$Type(); + const $TimeUnit$Type$(); @jni$_.internal @core$_.override @@ -17514,22 +17712,22 @@ final class $TimeUnit$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $TimeUnit$NullableType(); + jni$_.JType get nullableType => const $TimeUnit$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($TimeUnit$Type).hashCode; + int get hashCode => ($TimeUnit$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($TimeUnit$Type) && other is $TimeUnit$Type; + return other.runtimeType == ($TimeUnit$Type$) && other is $TimeUnit$Type$; } } @@ -17537,7 +17735,7 @@ final class $TimeUnit$Type extends jni$_.JObjType { class X509TrustManager extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal X509TrustManager.fromReference( @@ -17548,8 +17746,11 @@ class X509TrustManager extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'javax/net/ssl/X509TrustManager'); /// The type which includes information such as the signature of this class. - static const nullableType = $X509TrustManager$NullableType(); - static const type = $X509TrustManager$Type(); + static const jni$_.JType nullableType = + $X509TrustManager$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $X509TrustManager$Type$(); static final _id_checkClientTrusted = _class.instanceMethodId( r'checkClientTrusted', r'([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V', @@ -17649,8 +17850,8 @@ class X509TrustManager extends jni$_.JObject { return _getAcceptedIssuers( reference.pointer, _id_getAcceptedIssuers as jni$_.JMethodIDPtr) .object?>( - const jni$_.JArrayNullableType( - $X509Certificate$NullableType())); + const jni$_.$JArray$NullableType$( + $X509Certificate$NullableType$())); } /// Maps a specific port to the implemented interface. @@ -17687,10 +17888,10 @@ class X509TrustManager extends jni$_.JObject { r'checkClientTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V') { _$impls[$p]!.checkClientTrusted( $a![0]?.as( - const jni$_.JArrayType( - $X509Certificate$NullableType()), + const jni$_.$JArray$Type$( + $X509Certificate$NullableType$()), releaseOriginal: true), - $a![1]?.as(const jni$_.JStringType(), releaseOriginal: true), + $a![1]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -17698,17 +17899,17 @@ class X509TrustManager extends jni$_.JObject { r'checkServerTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V') { _$impls[$p]!.checkServerTrusted( $a![0]?.as( - const jni$_.JArrayType( - $X509Certificate$NullableType()), + const jni$_.$JArray$Type$( + $X509Certificate$NullableType$()), releaseOriginal: true), - $a![1]?.as(const jni$_.JStringType(), releaseOriginal: true), + $a![1]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'getAcceptedIssuers()[Ljava/security/cert/X509Certificate;') { final $r = _$impls[$p]!.getAcceptedIssuers(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -17820,10 +18021,10 @@ final class _$X509TrustManager with $X509TrustManager { } } -final class $X509TrustManager$NullableType - extends jni$_.JObjType { +final class $X509TrustManager$NullableType$ + extends jni$_.JType { @jni$_.internal - const $X509TrustManager$NullableType(); + const $X509TrustManager$NullableType$(); @jni$_.internal @core$_.override @@ -17839,29 +18040,29 @@ final class $X509TrustManager$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($X509TrustManager$NullableType).hashCode; + int get hashCode => ($X509TrustManager$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($X509TrustManager$NullableType) && - other is $X509TrustManager$NullableType; + return other.runtimeType == ($X509TrustManager$NullableType$) && + other is $X509TrustManager$NullableType$; } } -final class $X509TrustManager$Type extends jni$_.JObjType { +final class $X509TrustManager$Type$ extends jni$_.JType { @jni$_.internal - const $X509TrustManager$Type(); + const $X509TrustManager$Type$(); @jni$_.internal @core$_.override @@ -17875,24 +18076,24 @@ final class $X509TrustManager$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $X509TrustManager$NullableType(); + jni$_.JType get nullableType => + const $X509TrustManager$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($X509TrustManager$Type).hashCode; + int get hashCode => ($X509TrustManager$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($X509TrustManager$Type) && - other is $X509TrustManager$Type; + return other.runtimeType == ($X509TrustManager$Type$) && + other is $X509TrustManager$Type$; } } @@ -17900,7 +18101,7 @@ final class $X509TrustManager$Type extends jni$_.JObjType { class SocketFactory extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal SocketFactory.fromReference( @@ -17911,33 +18112,11 @@ class SocketFactory extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'javax/net/SocketFactory'); /// The type which includes information such as the signature of this class. - static const nullableType = $SocketFactory$NullableType(); - static const type = $SocketFactory$Type(); - static final _id_getDefault = _class.staticMethodId( - r'getDefault', - r'()Ljavax/net/SocketFactory;', - ); - - static final _getDefault = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `static public javax.net.SocketFactory getDefault()` - /// The returned object must be released after use, by calling the [release] method. - static SocketFactory? getDefault() { - return _getDefault( - _class.reference.pointer, _id_getDefault as jni$_.JMethodIDPtr) - .object(const $SocketFactory$NullableType()); - } + static const jni$_.JType nullableType = + $SocketFactory$NullableType$(); + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $SocketFactory$Type$(); static final _id_createSocket = _class.instanceMethodId( r'createSocket', r'()Ljava/net/Socket;', @@ -17960,7 +18139,7 @@ class SocketFactory extends jni$_.JObject { jni$_.JObject? createSocket() { return _createSocket( reference.pointer, _id_createSocket as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_createSocket$1 = _class.instanceMethodId( @@ -17989,7 +18168,7 @@ class SocketFactory extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; return _createSocket$1(reference.pointer, _id_createSocket$1 as jni$_.JMethodIDPtr, _$string.pointer, i) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_createSocket$2 = _class.instanceMethodId( @@ -18035,7 +18214,7 @@ class SocketFactory extends jni$_.JObject { i, _$inetAddress.pointer, i1) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_createSocket$3 = _class.instanceMethodId( @@ -18064,7 +18243,7 @@ class SocketFactory extends jni$_.JObject { final _$inetAddress = inetAddress?.reference ?? jni$_.jNullReference; return _createSocket$3(reference.pointer, _id_createSocket$3 as jni$_.JMethodIDPtr, _$inetAddress.pointer, i) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_createSocket$4 = _class.instanceMethodId( @@ -18110,101 +18289,9 @@ class SocketFactory extends jni$_.JObject { i, _$inetAddress1.pointer, i1) - .object(const jni$_.JObjectNullableType()); - } -} - -final class $SocketFactory$NullableType extends jni$_.JObjType { - @jni$_.internal - const $SocketFactory$NullableType(); - - @jni$_.internal - @core$_.override - String get signature => r'Ljavax/net/SocketFactory;'; - - @jni$_.internal - @core$_.override - SocketFactory? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : SocketFactory.fromReference( - reference, - ); - @jni$_.internal - @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); - - @jni$_.internal - @core$_.override - jni$_.JObjType get nullableType => this; - - @jni$_.internal - @core$_.override - final superCount = 1; - - @core$_.override - int get hashCode => ($SocketFactory$NullableType).hashCode; - - @core$_.override - bool operator ==(Object other) { - return other.runtimeType == ($SocketFactory$NullableType) && - other is $SocketFactory$NullableType; - } -} - -final class $SocketFactory$Type extends jni$_.JObjType { - @jni$_.internal - const $SocketFactory$Type(); - - @jni$_.internal - @core$_.override - String get signature => r'Ljavax/net/SocketFactory;'; - - @jni$_.internal - @core$_.override - SocketFactory fromReference(jni$_.JReference reference) => - SocketFactory.fromReference( - reference, - ); - @jni$_.internal - @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); - - @jni$_.internal - @core$_.override - jni$_.JObjType get nullableType => - const $SocketFactory$NullableType(); - - @jni$_.internal - @core$_.override - final superCount = 1; - - @core$_.override - int get hashCode => ($SocketFactory$Type).hashCode; - - @core$_.override - bool operator ==(Object other) { - return other.runtimeType == ($SocketFactory$Type) && - other is $SocketFactory$Type; + .object(const jni$_.$JObject$NullableType$()); } -} - -/// from: `javax.net.ssl.SSLSocketFactory` -class SSLSocketFactory extends SocketFactory { - @jni$_.internal - @core$_.override - final jni$_.JObjType $type; - - @jni$_.internal - SSLSocketFactory.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); - - static final _class = jni$_.JClass.forName(r'javax/net/ssl/SSLSocketFactory'); - /// The type which includes information such as the signature of this class. - static const nullableType = $SSLSocketFactory$NullableType(); - static const type = $SSLSocketFactory$Type(); static final _id_getDefault = _class.staticMethodId( r'getDefault', r'()Ljavax/net/SocketFactory;', @@ -18227,63 +18314,104 @@ class SSLSocketFactory extends SocketFactory { static SocketFactory? getDefault() { return _getDefault( _class.reference.pointer, _id_getDefault as jni$_.JMethodIDPtr) - .object(const $SocketFactory$NullableType()); + .object(const $SocketFactory$NullableType$()); } +} - static final _id_getDefaultCipherSuites = _class.instanceMethodId( - r'getDefaultCipherSuites', - r'()[Ljava/lang/String;', - ); +final class $SocketFactory$NullableType$ extends jni$_.JType { + @jni$_.internal + const $SocketFactory$NullableType$(); - static final _getDefaultCipherSuites = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + @jni$_.internal + @core$_.override + String get signature => r'Ljavax/net/SocketFactory;'; - /// from: `public abstract java.lang.String[] getDefaultCipherSuites()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getDefaultCipherSuites() { - return _getDefaultCipherSuites( - reference.pointer, _id_getDefaultCipherSuites as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JStringNullableType())); + @jni$_.internal + @core$_.override + SocketFactory? fromReference(jni$_.JReference reference) => reference.isNull + ? null + : SocketFactory.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); + + @jni$_.internal + @core$_.override + jni$_.JType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($SocketFactory$NullableType$).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($SocketFactory$NullableType$) && + other is $SocketFactory$NullableType$; } +} - static final _id_getSupportedCipherSuites = _class.instanceMethodId( - r'getSupportedCipherSuites', - r'()[Ljava/lang/String;', - ); +final class $SocketFactory$Type$ extends jni$_.JType { + @jni$_.internal + const $SocketFactory$Type$(); - static final _getSupportedCipherSuites = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + @jni$_.internal + @core$_.override + String get signature => r'Ljavax/net/SocketFactory;'; - /// from: `public abstract java.lang.String[] getSupportedCipherSuites()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getSupportedCipherSuites() { - return _getSupportedCipherSuites(reference.pointer, - _id_getSupportedCipherSuites as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JStringNullableType())); + @jni$_.internal + @core$_.override + SocketFactory fromReference(jni$_.JReference reference) => + SocketFactory.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); + + @jni$_.internal + @core$_.override + jni$_.JType get nullableType => + const $SocketFactory$NullableType$(); + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($SocketFactory$Type$).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($SocketFactory$Type$) && + other is $SocketFactory$Type$; } +} + +/// from: `javax.net.ssl.SSLSocketFactory` +class SSLSocketFactory extends SocketFactory { + @jni$_.internal + @core$_.override + final jni$_.JType $type; + + @jni$_.internal + SSLSocketFactory.fromReference( + jni$_.JReference reference, + ) : $type = type, + super.fromReference(reference); + + static final _class = jni$_.JClass.forName(r'javax/net/ssl/SSLSocketFactory'); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType nullableType = + $SSLSocketFactory$NullableType$(); + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $SSLSocketFactory$Type$(); static final _id_createSocket$5 = _class.instanceMethodId( r'createSocket', r'(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;', @@ -18327,14 +18455,93 @@ class SSLSocketFactory extends SocketFactory { _$string.pointer, i, z ? 1 : 0) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); + } + + static final _id_getDefault = _class.staticMethodId( + r'getDefault', + r'()Ljavax/net/SocketFactory;', + ); + + static final _getDefault = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `static public javax.net.SocketFactory getDefault()` + /// The returned object must be released after use, by calling the [release] method. + static SocketFactory? getDefault() { + return _getDefault( + _class.reference.pointer, _id_getDefault as jni$_.JMethodIDPtr) + .object(const $SocketFactory$NullableType$()); + } + + static final _id_getDefaultCipherSuites = _class.instanceMethodId( + r'getDefaultCipherSuites', + r'()[Ljava/lang/String;', + ); + + static final _getDefaultCipherSuites = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract java.lang.String[] getDefaultCipherSuites()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getDefaultCipherSuites() { + return _getDefaultCipherSuites( + reference.pointer, _id_getDefaultCipherSuites as jni$_.JMethodIDPtr) + .object?>( + const jni$_.$JArray$NullableType$( + jni$_.$JString$NullableType$())); + } + + static final _id_getSupportedCipherSuites = _class.instanceMethodId( + r'getSupportedCipherSuites', + r'()[Ljava/lang/String;', + ); + + static final _getSupportedCipherSuites = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract java.lang.String[] getSupportedCipherSuites()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getSupportedCipherSuites() { + return _getSupportedCipherSuites(reference.pointer, + _id_getSupportedCipherSuites as jni$_.JMethodIDPtr) + .object?>( + const jni$_.$JArray$NullableType$( + jni$_.$JString$NullableType$())); } } -final class $SSLSocketFactory$NullableType - extends jni$_.JObjType { +final class $SSLSocketFactory$NullableType$ + extends jni$_.JType { @jni$_.internal - const $SSLSocketFactory$NullableType(); + const $SSLSocketFactory$NullableType$(); @jni$_.internal @core$_.override @@ -18350,29 +18557,29 @@ final class $SSLSocketFactory$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const $SocketFactory$NullableType(); + jni$_.JType get superType => const $SocketFactory$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 2; @core$_.override - int get hashCode => ($SSLSocketFactory$NullableType).hashCode; + int get hashCode => ($SSLSocketFactory$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($SSLSocketFactory$NullableType) && - other is $SSLSocketFactory$NullableType; + return other.runtimeType == ($SSLSocketFactory$NullableType$) && + other is $SSLSocketFactory$NullableType$; } } -final class $SSLSocketFactory$Type extends jni$_.JObjType { +final class $SSLSocketFactory$Type$ extends jni$_.JType { @jni$_.internal - const $SSLSocketFactory$Type(); + const $SSLSocketFactory$Type$(); @jni$_.internal @core$_.override @@ -18386,24 +18593,24 @@ final class $SSLSocketFactory$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const $SocketFactory$NullableType(); + jni$_.JType get superType => const $SocketFactory$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $SSLSocketFactory$NullableType(); + jni$_.JType get nullableType => + const $SSLSocketFactory$NullableType$(); @jni$_.internal @core$_.override final superCount = 2; @core$_.override - int get hashCode => ($SSLSocketFactory$Type).hashCode; + int get hashCode => ($SSLSocketFactory$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($SSLSocketFactory$Type) && - other is $SSLSocketFactory$Type; + return other.runtimeType == ($SSLSocketFactory$Type$) && + other is $SSLSocketFactory$Type$; } } @@ -18411,7 +18618,7 @@ final class $SSLSocketFactory$Type extends jni$_.JObjType { class SSLContext extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal SSLContext.fromReference( @@ -18422,8 +18629,90 @@ class SSLContext extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'javax/net/ssl/SSLContext'); /// The type which includes information such as the signature of this class. - static const nullableType = $SSLContext$NullableType(); - static const type = $SSLContext$Type(); + static const jni$_.JType nullableType = + $SSLContext$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $SSLContext$Type$(); + static final _id_createSSLEngine = _class.instanceMethodId( + r'createSSLEngine', + r'()Ljavax/net/ssl/SSLEngine;', + ); + + static final _createSSLEngine = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public final javax.net.ssl.SSLEngine createSSLEngine()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? createSSLEngine() { + return _createSSLEngine( + reference.pointer, _id_createSSLEngine as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); + } + + static final _id_createSSLEngine$1 = _class.instanceMethodId( + r'createSSLEngine', + r'(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;', + ); + + static final _createSSLEngine$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `public final javax.net.ssl.SSLEngine createSSLEngine(java.lang.String string, int i)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? createSSLEngine$1( + jni$_.JString? string, + int i, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + return _createSSLEngine$1(reference.pointer, + _id_createSSLEngine$1 as jni$_.JMethodIDPtr, _$string.pointer, i) + .object(const jni$_.$JObject$NullableType$()); + } + + static final _id_getClientSessionContext = _class.instanceMethodId( + r'getClientSessionContext', + r'()Ljavax/net/ssl/SSLSessionContext;', + ); + + static final _getClientSessionContext = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public final javax.net.ssl.SSLSessionContext getClientSessionContext()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? getClientSessionContext() { + return _getClientSessionContext(reference.pointer, + _id_getClientSessionContext as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); + } + static final _id_getDefault = _class.staticMethodId( r'getDefault', r'()Ljavax/net/ssl/SSLContext;', @@ -18446,33 +18735,32 @@ class SSLContext extends jni$_.JObject { static SSLContext? getDefault() { return _getDefault( _class.reference.pointer, _id_getDefault as jni$_.JMethodIDPtr) - .object(const $SSLContext$NullableType()); + .object(const $SSLContext$NullableType$()); } - static final _id_setDefault = _class.staticMethodId( - r'setDefault', - r'(Ljavax/net/ssl/SSLContext;)V', + static final _id_getDefaultSSLParameters = _class.instanceMethodId( + r'getDefaultSSLParameters', + r'()Ljavax/net/ssl/SSLParameters;', ); - static final _setDefault = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + static final _getDefaultSSLParameters = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); - /// from: `static public void setDefault(javax.net.ssl.SSLContext sSLContext)` - static void setDefault( - SSLContext? sSLContext, - ) { - final _$sSLContext = sSLContext?.reference ?? jni$_.jNullReference; - _setDefault(_class.reference.pointer, _id_setDefault as jni$_.JMethodIDPtr, - _$sSLContext.pointer) - .check(); + /// from: `public final javax.net.ssl.SSLParameters getDefaultSSLParameters()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? getDefaultSSLParameters() { + return _getDefaultSSLParameters(reference.pointer, + _id_getDefaultSSLParameters as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } static final _id_getInstance = _class.staticMethodId( @@ -18499,7 +18787,7 @@ class SSLContext extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; return _getInstance(_class.reference.pointer, _id_getInstance as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $SSLContext$NullableType()); + .object(const $SSLContext$NullableType$()); } static final _id_getInstance$1 = _class.staticMethodId( @@ -18537,7 +18825,7 @@ class SSLContext extends jni$_.JObject { _id_getInstance$1 as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $SSLContext$NullableType()); + .object(const $SSLContext$NullableType$()); } static final _id_getInstance$2 = _class.staticMethodId( @@ -18575,7 +18863,7 @@ class SSLContext extends jni$_.JObject { _id_getInstance$2 as jni$_.JMethodIDPtr, _$string.pointer, _$provider.pointer) - .object(const $SSLContext$NullableType()); + .object(const $SSLContext$NullableType$()); } static final _id_getProtocol = _class.instanceMethodId( @@ -18600,7 +18888,7 @@ class SSLContext extends jni$_.JObject { jni$_.JString? getProtocol() { return _getProtocol( reference.pointer, _id_getProtocol as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getProvider = _class.instanceMethodId( @@ -18625,57 +18913,15 @@ class SSLContext extends jni$_.JObject { jni$_.JObject? getProvider() { return _getProvider( reference.pointer, _id_getProvider as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_init = _class.instanceMethodId( - r'init', - r'([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V', - ); - - static final _init = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer)>(); - - /// from: `public final void init(javax.net.ssl.KeyManager[] keyManagers, javax.net.ssl.TrustManager[] trustManagers, java.security.SecureRandom secureRandom)` - void init( - jni$_.JArray? keyManagers, - jni$_.JArray? trustManagers, - SecureRandom? secureRandom, - ) { - final _$keyManagers = keyManagers?.reference ?? jni$_.jNullReference; - final _$trustManagers = trustManagers?.reference ?? jni$_.jNullReference; - final _$secureRandom = secureRandom?.reference ?? jni$_.jNullReference; - _init( - reference.pointer, - _id_init as jni$_.JMethodIDPtr, - _$keyManagers.pointer, - _$trustManagers.pointer, - _$secureRandom.pointer) - .check(); + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getSocketFactory = _class.instanceMethodId( - r'getSocketFactory', - r'()Ljavax/net/ssl/SSLSocketFactory;', + static final _id_getServerSessionContext = _class.instanceMethodId( + r'getServerSessionContext', + r'()Ljavax/net/ssl/SSLSessionContext;', ); - static final _getSocketFactory = jni$_.ProtectedJniExtensions.lookup< + static final _getServerSessionContext = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -18687,12 +18933,12 @@ class SSLContext extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final javax.net.ssl.SSLSocketFactory getSocketFactory()` + /// from: `public final javax.net.ssl.SSLSessionContext getServerSessionContext()` /// The returned object must be released after use, by calling the [release] method. - SSLSocketFactory? getSocketFactory() { - return _getSocketFactory( - reference.pointer, _id_getSocketFactory as jni$_.JMethodIDPtr) - .object(const $SSLSocketFactory$NullableType()); + jni$_.JObject? getServerSessionContext() { + return _getServerSessionContext(reference.pointer, + _id_getServerSessionContext as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } static final _id_getServerSocketFactory = _class.instanceMethodId( @@ -18717,15 +18963,15 @@ class SSLContext extends jni$_.JObject { jni$_.JObject? getServerSocketFactory() { return _getServerSocketFactory( reference.pointer, _id_getServerSocketFactory as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } - static final _id_createSSLEngine = _class.instanceMethodId( - r'createSSLEngine', - r'()Ljavax/net/ssl/SSLEngine;', + static final _id_getSocketFactory = _class.instanceMethodId( + r'getSocketFactory', + r'()Ljavax/net/ssl/SSLSocketFactory;', ); - static final _createSSLEngine = jni$_.ProtectedJniExtensions.lookup< + static final _getSocketFactory = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -18737,49 +18983,20 @@ class SSLContext extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final javax.net.ssl.SSLEngine createSSLEngine()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? createSSLEngine() { - return _createSSLEngine( - reference.pointer, _id_createSSLEngine as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_createSSLEngine$1 = _class.instanceMethodId( - r'createSSLEngine', - r'(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;', - ); - - static final _createSSLEngine$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - - /// from: `public final javax.net.ssl.SSLEngine createSSLEngine(java.lang.String string, int i)` + /// from: `public final javax.net.ssl.SSLSocketFactory getSocketFactory()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? createSSLEngine$1( - jni$_.JString? string, - int i, - ) { - final _$string = string?.reference ?? jni$_.jNullReference; - return _createSSLEngine$1(reference.pointer, - _id_createSSLEngine$1 as jni$_.JMethodIDPtr, _$string.pointer, i) - .object(const jni$_.JObjectNullableType()); + SSLSocketFactory? getSocketFactory() { + return _getSocketFactory( + reference.pointer, _id_getSocketFactory as jni$_.JMethodIDPtr) + .object(const $SSLSocketFactory$NullableType$()); } - static final _id_getServerSessionContext = _class.instanceMethodId( - r'getServerSessionContext', - r'()Ljavax/net/ssl/SSLSessionContext;', + static final _id_getSupportedSSLParameters = _class.instanceMethodId( + r'getSupportedSSLParameters', + r'()Ljavax/net/ssl/SSLParameters;', ); - static final _getServerSessionContext = jni$_.ProtectedJniExtensions.lookup< + static final _getSupportedSSLParameters = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -18791,93 +19008,86 @@ class SSLContext extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final javax.net.ssl.SSLSessionContext getServerSessionContext()` + /// from: `public final javax.net.ssl.SSLParameters getSupportedSSLParameters()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getServerSessionContext() { - return _getServerSessionContext(reference.pointer, - _id_getServerSessionContext as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JObject? getSupportedSSLParameters() { + return _getSupportedSSLParameters(reference.pointer, + _id_getSupportedSSLParameters as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getClientSessionContext = _class.instanceMethodId( - r'getClientSessionContext', - r'()Ljavax/net/ssl/SSLSessionContext;', + static final _id_init = _class.instanceMethodId( + r'init', + r'([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V', ); - static final _getClientSessionContext = jni$_.ProtectedJniExtensions.lookup< + static final _init = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `public final javax.net.ssl.SSLSessionContext getClientSessionContext()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getClientSessionContext() { - return _getClientSessionContext(reference.pointer, - _id_getClientSessionContext as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + /// from: `public final void init(javax.net.ssl.KeyManager[] keyManagers, javax.net.ssl.TrustManager[] trustManagers, java.security.SecureRandom secureRandom)` + void init( + jni$_.JArray? keyManagers, + jni$_.JArray? trustManagers, + SecureRandom? secureRandom, + ) { + final _$keyManagers = keyManagers?.reference ?? jni$_.jNullReference; + final _$trustManagers = trustManagers?.reference ?? jni$_.jNullReference; + final _$secureRandom = secureRandom?.reference ?? jni$_.jNullReference; + _init( + reference.pointer, + _id_init as jni$_.JMethodIDPtr, + _$keyManagers.pointer, + _$trustManagers.pointer, + _$secureRandom.pointer) + .check(); } - static final _id_getDefaultSSLParameters = _class.instanceMethodId( - r'getDefaultSSLParameters', - r'()Ljavax/net/ssl/SSLParameters;', + static final _id_setDefault = _class.staticMethodId( + r'setDefault', + r'(Ljavax/net/ssl/SSLContext;)V', ); - static final _getDefaultSSLParameters = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + static final _setDefault = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final javax.net.ssl.SSLParameters getDefaultSSLParameters()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getDefaultSSLParameters() { - return _getDefaultSSLParameters(reference.pointer, - _id_getDefaultSSLParameters as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + /// from: `static public void setDefault(javax.net.ssl.SSLContext sSLContext)` + static void setDefault( + SSLContext? sSLContext, + ) { + final _$sSLContext = sSLContext?.reference ?? jni$_.jNullReference; + _setDefault(_class.reference.pointer, _id_setDefault as jni$_.JMethodIDPtr, + _$sSLContext.pointer) + .check(); } +} - static final _id_getSupportedSSLParameters = _class.instanceMethodId( - r'getSupportedSSLParameters', - r'()Ljavax/net/ssl/SSLParameters;', - ); - - static final _getSupportedSSLParameters = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public final javax.net.ssl.SSLParameters getSupportedSSLParameters()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSupportedSSLParameters() { - return _getSupportedSSLParameters(reference.pointer, - _id_getSupportedSSLParameters as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); - } -} - -final class $SSLContext$NullableType extends jni$_.JObjType { +final class $SSLContext$NullableType$ extends jni$_.JType { @jni$_.internal - const $SSLContext$NullableType(); + const $SSLContext$NullableType$(); @jni$_.internal @core$_.override @@ -18892,29 +19102,29 @@ final class $SSLContext$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($SSLContext$NullableType).hashCode; + int get hashCode => ($SSLContext$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($SSLContext$NullableType) && - other is $SSLContext$NullableType; + return other.runtimeType == ($SSLContext$NullableType$) && + other is $SSLContext$NullableType$; } } -final class $SSLContext$Type extends jni$_.JObjType { +final class $SSLContext$Type$ extends jni$_.JType { @jni$_.internal - const $SSLContext$Type(); + const $SSLContext$Type$(); @jni$_.internal @core$_.override @@ -18928,23 +19138,24 @@ final class $SSLContext$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $SSLContext$NullableType(); + jni$_.JType get nullableType => + const $SSLContext$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($SSLContext$Type).hashCode; + int get hashCode => ($SSLContext$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($SSLContext$Type) && other is $SSLContext$Type; + return other.runtimeType == ($SSLContext$Type$) && + other is $SSLContext$Type$; } } @@ -18952,7 +19163,7 @@ final class $SSLContext$Type extends jni$_.JObjType { class TrustManagerFactory extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal TrustManagerFactory.fromReference( @@ -18964,56 +19175,60 @@ class TrustManagerFactory extends jni$_.JObject { jni$_.JClass.forName(r'javax/net/ssl/TrustManagerFactory'); /// The type which includes information such as the signature of this class. - static const nullableType = $TrustManagerFactory$NullableType(); - static const type = $TrustManagerFactory$Type(); - static final _id_getDefaultAlgorithm = _class.staticMethodId( - r'getDefaultAlgorithm', + static const jni$_.JType nullableType = + $TrustManagerFactory$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $TrustManagerFactory$Type$(); + static final _id_getAlgorithm = _class.instanceMethodId( + r'getAlgorithm', r'()Ljava/lang/String;', ); - static final _getDefaultAlgorithm = jni$_.ProtectedJniExtensions.lookup< + static final _getAlgorithm = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallStaticObjectMethod') + )>>('globalEnv_CallObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `static public final java.lang.String getDefaultAlgorithm()` + /// from: `public final java.lang.String getAlgorithm()` /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? getDefaultAlgorithm() { - return _getDefaultAlgorithm(_class.reference.pointer, - _id_getDefaultAlgorithm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + jni$_.JString? getAlgorithm() { + return _getAlgorithm( + reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); } - static final _id_getAlgorithm = _class.instanceMethodId( - r'getAlgorithm', + static final _id_getDefaultAlgorithm = _class.staticMethodId( + r'getDefaultAlgorithm', r'()Ljava/lang/String;', ); - static final _getAlgorithm = jni$_.ProtectedJniExtensions.lookup< + static final _getDefaultAlgorithm = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `public final java.lang.String getAlgorithm()` + /// from: `static public final java.lang.String getDefaultAlgorithm()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getAlgorithm() { - return _getAlgorithm( - reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + static jni$_.JString? getDefaultAlgorithm() { + return _getDefaultAlgorithm(_class.reference.pointer, + _id_getDefaultAlgorithm as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); } static final _id_getInstance = _class.staticMethodId( @@ -19041,7 +19256,7 @@ class TrustManagerFactory extends jni$_.JObject { return _getInstance(_class.reference.pointer, _id_getInstance as jni$_.JMethodIDPtr, _$string.pointer) .object( - const $TrustManagerFactory$NullableType()); + const $TrustManagerFactory$NullableType$()); } static final _id_getInstance$1 = _class.staticMethodId( @@ -19080,7 +19295,7 @@ class TrustManagerFactory extends jni$_.JObject { _$string.pointer, _$string1.pointer) .object( - const $TrustManagerFactory$NullableType()); + const $TrustManagerFactory$NullableType$()); } static final _id_getInstance$2 = _class.staticMethodId( @@ -19119,7 +19334,7 @@ class TrustManagerFactory extends jni$_.JObject { _$string.pointer, _$provider.pointer) .object( - const $TrustManagerFactory$NullableType()); + const $TrustManagerFactory$NullableType$()); } static final _id_getProvider = _class.instanceMethodId( @@ -19144,7 +19359,34 @@ class TrustManagerFactory extends jni$_.JObject { jni$_.JObject? getProvider() { return _getProvider( reference.pointer, _id_getProvider as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); + } + + static final _id_getTrustManagers = _class.instanceMethodId( + r'getTrustManagers', + r'()[Ljavax/net/ssl/TrustManager;', + ); + + static final _getTrustManagers = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public final javax.net.ssl.TrustManager[] getTrustManagers()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getTrustManagers() { + return _getTrustManagers( + reference.pointer, _id_getTrustManagers as jni$_.JMethodIDPtr) + .object?>( + const jni$_.$JArray$NullableType$( + $TrustManager$NullableType$())); } static final _id_init = _class.instanceMethodId( @@ -19198,39 +19440,12 @@ class TrustManagerFactory extends jni$_.JObject { _$managerFactoryParameters.pointer) .check(); } - - static final _id_getTrustManagers = _class.instanceMethodId( - r'getTrustManagers', - r'()[Ljavax/net/ssl/TrustManager;', - ); - - static final _getTrustManagers = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public final javax.net.ssl.TrustManager[] getTrustManagers()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getTrustManagers() { - return _getTrustManagers( - reference.pointer, _id_getTrustManagers as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - $TrustManager$NullableType())); - } } -final class $TrustManagerFactory$NullableType - extends jni$_.JObjType { +final class $TrustManagerFactory$NullableType$ + extends jni$_.JType { @jni$_.internal - const $TrustManagerFactory$NullableType(); + const $TrustManagerFactory$NullableType$(); @jni$_.internal @core$_.override @@ -19246,30 +19461,30 @@ final class $TrustManagerFactory$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($TrustManagerFactory$NullableType).hashCode; + int get hashCode => ($TrustManagerFactory$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($TrustManagerFactory$NullableType) && - other is $TrustManagerFactory$NullableType; + return other.runtimeType == ($TrustManagerFactory$NullableType$) && + other is $TrustManagerFactory$NullableType$; } } -final class $TrustManagerFactory$Type - extends jni$_.JObjType { +final class $TrustManagerFactory$Type$ + extends jni$_.JType { @jni$_.internal - const $TrustManagerFactory$Type(); + const $TrustManagerFactory$Type$(); @jni$_.internal @core$_.override @@ -19283,24 +19498,24 @@ final class $TrustManagerFactory$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $TrustManagerFactory$NullableType(); + jni$_.JType get nullableType => + const $TrustManagerFactory$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($TrustManagerFactory$Type).hashCode; + int get hashCode => ($TrustManagerFactory$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($TrustManagerFactory$Type) && - other is $TrustManagerFactory$Type; + return other.runtimeType == ($TrustManagerFactory$Type$) && + other is $TrustManagerFactory$Type$; } } @@ -19308,7 +19523,7 @@ final class $TrustManagerFactory$Type class TrustManager extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal TrustManager.fromReference( @@ -19319,8 +19534,11 @@ class TrustManager extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'javax/net/ssl/TrustManager'); /// The type which includes information such as the signature of this class. - static const nullableType = $TrustManager$NullableType(); - static const type = $TrustManager$Type(); + static const jni$_.JType nullableType = + $TrustManager$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $TrustManager$Type$(); /// Maps a specific port to the implemented interface. static final core$_.Map _$impls = {}; @@ -19402,9 +19620,9 @@ final class _$TrustManager with $TrustManager { _$TrustManager(); } -final class $TrustManager$NullableType extends jni$_.JObjType { +final class $TrustManager$NullableType$ extends jni$_.JType { @jni$_.internal - const $TrustManager$NullableType(); + const $TrustManager$NullableType$(); @jni$_.internal @core$_.override @@ -19419,29 +19637,29 @@ final class $TrustManager$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($TrustManager$NullableType).hashCode; + int get hashCode => ($TrustManager$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($TrustManager$NullableType) && - other is $TrustManager$NullableType; + return other.runtimeType == ($TrustManager$NullableType$) && + other is $TrustManager$NullableType$; } } -final class $TrustManager$Type extends jni$_.JObjType { +final class $TrustManager$Type$ extends jni$_.JType { @jni$_.internal - const $TrustManager$Type(); + const $TrustManager$Type$(); @jni$_.internal @core$_.override @@ -19455,24 +19673,24 @@ final class $TrustManager$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $TrustManager$NullableType(); + jni$_.JType get nullableType => + const $TrustManager$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($TrustManager$Type).hashCode; + int get hashCode => ($TrustManager$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($TrustManager$Type) && - other is $TrustManager$Type; + return other.runtimeType == ($TrustManager$Type$) && + other is $TrustManager$Type$; } } @@ -19480,7 +19698,7 @@ final class $TrustManager$Type extends jni$_.JObjType { class KeyStore$Builder extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$Builder.fromReference( @@ -19491,8 +19709,11 @@ class KeyStore$Builder extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/KeyStore$Builder'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$Builder$NullableType(); - static const type = $KeyStore$Builder$Type(); + static const jni$_.JType nullableType = + $KeyStore$Builder$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $KeyStore$Builder$Type$(); static final _id_getKeyStore = _class.instanceMethodId( r'getKeyStore', r'()Ljava/security/KeyStore;', @@ -19515,7 +19736,7 @@ class KeyStore$Builder extends jni$_.JObject { KeyStore? getKeyStore() { return _getKeyStore( reference.pointer, _id_getKeyStore as jni$_.JMethodIDPtr) - .object(const $KeyStore$NullableType()); + .object(const $KeyStore$NullableType$()); } static final _id_getProtectionParameter = _class.instanceMethodId( @@ -19543,12 +19764,12 @@ class KeyStore$Builder extends jni$_.JObject { return _getProtectionParameter(reference.pointer, _id_getProtectionParameter as jni$_.JMethodIDPtr, _$string.pointer) .object( - const $KeyStore$ProtectionParameter$NullableType()); + const $KeyStore$ProtectionParameter$NullableType$()); } static final _id_newInstance = _class.staticMethodId( r'newInstance', - r'(Ljava/security/KeyStore;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Builder;', + r'(Ljava/io/File;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Builder;', ); static final _newInstance = jni$_.ProtectedJniExtensions.lookup< @@ -19568,21 +19789,21 @@ class KeyStore$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public java.security.KeyStore$Builder newInstance(java.security.KeyStore keyStore, java.security.KeyStore$ProtectionParameter protectionParameter)` + /// from: `static public java.security.KeyStore$Builder newInstance(java.io.File file, java.security.KeyStore$ProtectionParameter protectionParameter)` /// The returned object must be released after use, by calling the [release] method. static KeyStore$Builder? newInstance( - KeyStore? keyStore, + jni$_.JObject? file, KeyStore$ProtectionParameter? protectionParameter, ) { - final _$keyStore = keyStore?.reference ?? jni$_.jNullReference; + final _$file = file?.reference ?? jni$_.jNullReference; final _$protectionParameter = protectionParameter?.reference ?? jni$_.jNullReference; return _newInstance( _class.reference.pointer, _id_newInstance as jni$_.JMethodIDPtr, - _$keyStore.pointer, + _$file.pointer, _$protectionParameter.pointer) - .object(const $KeyStore$Builder$NullableType()); + .object(const $KeyStore$Builder$NullableType$()); } static final _id_newInstance$1 = _class.staticMethodId( @@ -19631,12 +19852,12 @@ class KeyStore$Builder extends jni$_.JObject { _$provider.pointer, _$file.pointer, _$protectionParameter.pointer) - .object(const $KeyStore$Builder$NullableType()); + .object(const $KeyStore$Builder$NullableType$()); } static final _id_newInstance$2 = _class.staticMethodId( r'newInstance', - r'(Ljava/io/File;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Builder;', + r'(Ljava/lang/String;Ljava/security/Provider;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Builder;', ); static final _newInstance$2 = jni$_.ProtectedJniExtensions.lookup< @@ -19646,6 +19867,7 @@ class KeyStore$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, jni$_.Pointer, jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') @@ -19654,28 +19876,32 @@ class KeyStore$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, + jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public java.security.KeyStore$Builder newInstance(java.io.File file, java.security.KeyStore$ProtectionParameter protectionParameter)` + /// from: `static public java.security.KeyStore$Builder newInstance(java.lang.String string, java.security.Provider provider, java.security.KeyStore$ProtectionParameter protectionParameter)` /// The returned object must be released after use, by calling the [release] method. static KeyStore$Builder? newInstance$2( - jni$_.JObject? file, + jni$_.JString? string, + jni$_.JObject? provider, KeyStore$ProtectionParameter? protectionParameter, ) { - final _$file = file?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$provider = provider?.reference ?? jni$_.jNullReference; final _$protectionParameter = protectionParameter?.reference ?? jni$_.jNullReference; return _newInstance$2( _class.reference.pointer, _id_newInstance$2 as jni$_.JMethodIDPtr, - _$file.pointer, + _$string.pointer, + _$provider.pointer, _$protectionParameter.pointer) - .object(const $KeyStore$Builder$NullableType()); + .object(const $KeyStore$Builder$NullableType$()); } static final _id_newInstance$3 = _class.staticMethodId( r'newInstance', - r'(Ljava/lang/String;Ljava/security/Provider;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Builder;', + r'(Ljava/security/KeyStore;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Builder;', ); static final _newInstance$3 = jni$_.ProtectedJniExtensions.lookup< @@ -19685,7 +19911,6 @@ class KeyStore$Builder extends jni$_.JObject { jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, jni$_.Pointer, jni$_.Pointer )>)>>('globalEnv_CallStaticObjectMethod') @@ -19694,34 +19919,30 @@ class KeyStore$Builder extends jni$_.JObject { jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public java.security.KeyStore$Builder newInstance(java.lang.String string, java.security.Provider provider, java.security.KeyStore$ProtectionParameter protectionParameter)` + /// from: `static public java.security.KeyStore$Builder newInstance(java.security.KeyStore keyStore, java.security.KeyStore$ProtectionParameter protectionParameter)` /// The returned object must be released after use, by calling the [release] method. static KeyStore$Builder? newInstance$3( - jni$_.JString? string, - jni$_.JObject? provider, + KeyStore? keyStore, KeyStore$ProtectionParameter? protectionParameter, ) { - final _$string = string?.reference ?? jni$_.jNullReference; - final _$provider = provider?.reference ?? jni$_.jNullReference; + final _$keyStore = keyStore?.reference ?? jni$_.jNullReference; final _$protectionParameter = protectionParameter?.reference ?? jni$_.jNullReference; return _newInstance$3( _class.reference.pointer, _id_newInstance$3 as jni$_.JMethodIDPtr, - _$string.pointer, - _$provider.pointer, + _$keyStore.pointer, _$protectionParameter.pointer) - .object(const $KeyStore$Builder$NullableType()); + .object(const $KeyStore$Builder$NullableType$()); } } -final class $KeyStore$Builder$NullableType - extends jni$_.JObjType { +final class $KeyStore$Builder$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$Builder$NullableType(); + const $KeyStore$Builder$NullableType$(); @jni$_.internal @core$_.override @@ -19737,29 +19958,29 @@ final class $KeyStore$Builder$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$Builder$NullableType).hashCode; + int get hashCode => ($KeyStore$Builder$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$Builder$NullableType) && - other is $KeyStore$Builder$NullableType; + return other.runtimeType == ($KeyStore$Builder$NullableType$) && + other is $KeyStore$Builder$NullableType$; } } -final class $KeyStore$Builder$Type extends jni$_.JObjType { +final class $KeyStore$Builder$Type$ extends jni$_.JType { @jni$_.internal - const $KeyStore$Builder$Type(); + const $KeyStore$Builder$Type$(); @jni$_.internal @core$_.override @@ -19773,24 +19994,24 @@ final class $KeyStore$Builder$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$Builder$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$Builder$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$Builder$Type).hashCode; + int get hashCode => ($KeyStore$Builder$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$Builder$Type) && - other is $KeyStore$Builder$Type; + return other.runtimeType == ($KeyStore$Builder$Type$) && + other is $KeyStore$Builder$Type$; } } @@ -19798,7 +20019,7 @@ final class $KeyStore$Builder$Type extends jni$_.JObjType { class KeyStore$CallbackHandlerProtection extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$CallbackHandlerProtection.fromReference( @@ -19810,9 +20031,12 @@ class KeyStore$CallbackHandlerProtection extends jni$_.JObject { jni$_.JClass.forName(r'java/security/KeyStore$CallbackHandlerProtection'); /// The type which includes information such as the signature of this class. - static const nullableType = - $KeyStore$CallbackHandlerProtection$NullableType(); - static const type = $KeyStore$CallbackHandlerProtection$Type(); + static const jni$_.JType nullableType = + $KeyStore$CallbackHandlerProtection$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyStore$CallbackHandlerProtection$Type$(); static final _id_new$ = _class.constructorId( r'(Ljavax/security/auth/callback/CallbackHandler;)V', ); @@ -19864,14 +20088,14 @@ class KeyStore$CallbackHandlerProtection extends jni$_.JObject { jni$_.JObject? getCallbackHandler() { return _getCallbackHandler( reference.pointer, _id_getCallbackHandler as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } } -final class $KeyStore$CallbackHandlerProtection$NullableType - extends jni$_.JObjType { +final class $KeyStore$CallbackHandlerProtection$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$CallbackHandlerProtection$NullableType(); + const $KeyStore$CallbackHandlerProtection$NullableType$(); @jni$_.internal @core$_.override @@ -19888,11 +20112,11 @@ final class $KeyStore$CallbackHandlerProtection$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override @@ -19900,20 +20124,20 @@ final class $KeyStore$CallbackHandlerProtection$NullableType @core$_.override int get hashCode => - ($KeyStore$CallbackHandlerProtection$NullableType).hashCode; + ($KeyStore$CallbackHandlerProtection$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($KeyStore$CallbackHandlerProtection$NullableType) && - other is $KeyStore$CallbackHandlerProtection$NullableType; + ($KeyStore$CallbackHandlerProtection$NullableType$) && + other is $KeyStore$CallbackHandlerProtection$NullableType$; } } -final class $KeyStore$CallbackHandlerProtection$Type - extends jni$_.JObjType { +final class $KeyStore$CallbackHandlerProtection$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$CallbackHandlerProtection$Type(); + const $KeyStore$CallbackHandlerProtection$Type$(); @jni$_.internal @core$_.override @@ -19928,24 +20152,24 @@ final class $KeyStore$CallbackHandlerProtection$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$CallbackHandlerProtection$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$CallbackHandlerProtection$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$CallbackHandlerProtection$Type).hashCode; + int get hashCode => ($KeyStore$CallbackHandlerProtection$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$CallbackHandlerProtection$Type) && - other is $KeyStore$CallbackHandlerProtection$Type; + return other.runtimeType == ($KeyStore$CallbackHandlerProtection$Type$) && + other is $KeyStore$CallbackHandlerProtection$Type$; } } @@ -19953,7 +20177,7 @@ final class $KeyStore$CallbackHandlerProtection$Type class KeyStore$Entry$Attribute extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$Entry$Attribute.fromReference( @@ -19965,8 +20189,12 @@ class KeyStore$Entry$Attribute extends jni$_.JObject { jni$_.JClass.forName(r'java/security/KeyStore$Entry$Attribute'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$Entry$Attribute$NullableType(); - static const type = $KeyStore$Entry$Attribute$Type(); + static const jni$_.JType nullableType = + $KeyStore$Entry$Attribute$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyStore$Entry$Attribute$Type$(); static final _id_getName = _class.instanceMethodId( r'getName', r'()Ljava/lang/String;', @@ -19988,7 +20216,7 @@ class KeyStore$Entry$Attribute extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getName() { return _getName(reference.pointer, _id_getName as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getValue = _class.instanceMethodId( @@ -20012,7 +20240,7 @@ class KeyStore$Entry$Attribute extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getValue() { return _getValue(reference.pointer, _id_getValue as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } /// Maps a specific port to the implemented interface. @@ -20048,7 +20276,7 @@ class KeyStore$Entry$Attribute extends jni$_.JObject { if ($d == r'getName()Ljava/lang/String;') { final $r = _$impls[$p]!.getName(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -20056,7 +20284,7 @@ class KeyStore$Entry$Attribute extends jni$_.JObject { if ($d == r'getValue()Ljava/lang/String;') { final $r = _$impls[$p]!.getValue(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -20132,10 +20360,10 @@ final class _$KeyStore$Entry$Attribute with $KeyStore$Entry$Attribute { } } -final class $KeyStore$Entry$Attribute$NullableType - extends jni$_.JObjType { +final class $KeyStore$Entry$Attribute$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$Entry$Attribute$NullableType(); + const $KeyStore$Entry$Attribute$NullableType$(); @jni$_.internal @core$_.override @@ -20151,30 +20379,30 @@ final class $KeyStore$Entry$Attribute$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$Entry$Attribute$NullableType).hashCode; + int get hashCode => ($KeyStore$Entry$Attribute$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$Entry$Attribute$NullableType) && - other is $KeyStore$Entry$Attribute$NullableType; + return other.runtimeType == ($KeyStore$Entry$Attribute$NullableType$) && + other is $KeyStore$Entry$Attribute$NullableType$; } } -final class $KeyStore$Entry$Attribute$Type - extends jni$_.JObjType { +final class $KeyStore$Entry$Attribute$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$Entry$Attribute$Type(); + const $KeyStore$Entry$Attribute$Type$(); @jni$_.internal @core$_.override @@ -20188,24 +20416,24 @@ final class $KeyStore$Entry$Attribute$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$Entry$Attribute$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$Entry$Attribute$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$Entry$Attribute$Type).hashCode; + int get hashCode => ($KeyStore$Entry$Attribute$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$Entry$Attribute$Type) && - other is $KeyStore$Entry$Attribute$Type; + return other.runtimeType == ($KeyStore$Entry$Attribute$Type$) && + other is $KeyStore$Entry$Attribute$Type$; } } @@ -20213,7 +20441,7 @@ final class $KeyStore$Entry$Attribute$Type class KeyStore$Entry extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$Entry.fromReference( @@ -20224,8 +20452,11 @@ class KeyStore$Entry extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/KeyStore$Entry'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$Entry$NullableType(); - static const type = $KeyStore$Entry$Type(); + static const jni$_.JType nullableType = + $KeyStore$Entry$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $KeyStore$Entry$Type$(); static final _id_getAttributes = _class.instanceMethodId( r'getAttributes', r'()Ljava/util/Set;', @@ -20243,14 +20474,14 @@ class KeyStore$Entry extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.util.Set getAttributes()` + /// from: `public java.util.Set getAttributes()` /// The returned object must be released after use, by calling the [release] method. jni$_.JSet? getAttributes() { return _getAttributes( reference.pointer, _id_getAttributes as jni$_.JMethodIDPtr) .object?>( - const jni$_.JSetNullableType( - $KeyStore$Entry$Attribute$NullableType())); + const jni$_.$JSet$NullableType$( + $KeyStore$Entry$Attribute$NullableType$())); } /// Maps a specific port to the implemented interface. @@ -20286,7 +20517,7 @@ class KeyStore$Entry extends jni$_.JObject { if ($d == r'getAttributes()Ljava/util/Set;') { final $r = _$impls[$p]!.getAttributes(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -20353,10 +20584,9 @@ final class _$KeyStore$Entry with $KeyStore$Entry { } } -final class $KeyStore$Entry$NullableType - extends jni$_.JObjType { +final class $KeyStore$Entry$NullableType$ extends jni$_.JType { @jni$_.internal - const $KeyStore$Entry$NullableType(); + const $KeyStore$Entry$NullableType$(); @jni$_.internal @core$_.override @@ -20371,29 +20601,29 @@ final class $KeyStore$Entry$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$Entry$NullableType).hashCode; + int get hashCode => ($KeyStore$Entry$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$Entry$NullableType) && - other is $KeyStore$Entry$NullableType; + return other.runtimeType == ($KeyStore$Entry$NullableType$) && + other is $KeyStore$Entry$NullableType$; } } -final class $KeyStore$Entry$Type extends jni$_.JObjType { +final class $KeyStore$Entry$Type$ extends jni$_.JType { @jni$_.internal - const $KeyStore$Entry$Type(); + const $KeyStore$Entry$Type$(); @jni$_.internal @core$_.override @@ -20407,24 +20637,24 @@ final class $KeyStore$Entry$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$Entry$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$Entry$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$Entry$Type).hashCode; + int get hashCode => ($KeyStore$Entry$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$Entry$Type) && - other is $KeyStore$Entry$Type; + return other.runtimeType == ($KeyStore$Entry$Type$) && + other is $KeyStore$Entry$Type$; } } @@ -20432,7 +20662,7 @@ final class $KeyStore$Entry$Type extends jni$_.JObjType { class KeyStore$LoadStoreParameter extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$LoadStoreParameter.fromReference( @@ -20444,8 +20674,12 @@ class KeyStore$LoadStoreParameter extends jni$_.JObject { jni$_.JClass.forName(r'java/security/KeyStore$LoadStoreParameter'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$LoadStoreParameter$NullableType(); - static const type = $KeyStore$LoadStoreParameter$Type(); + static const jni$_.JType nullableType = + $KeyStore$LoadStoreParameter$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyStore$LoadStoreParameter$Type$(); static final _id_getProtectionParameter = _class.instanceMethodId( r'getProtectionParameter', r'()Ljava/security/KeyStore$ProtectionParameter;', @@ -20469,7 +20703,7 @@ class KeyStore$LoadStoreParameter extends jni$_.JObject { return _getProtectionParameter( reference.pointer, _id_getProtectionParameter as jni$_.JMethodIDPtr) .object( - const $KeyStore$ProtectionParameter$NullableType()); + const $KeyStore$ProtectionParameter$NullableType$()); } /// Maps a specific port to the implemented interface. @@ -20506,7 +20740,7 @@ class KeyStore$LoadStoreParameter extends jni$_.JObject { r'getProtectionParameter()Ljava/security/KeyStore$ProtectionParameter;') { final $r = _$impls[$p]!.getProtectionParameter(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -20573,10 +20807,10 @@ final class _$KeyStore$LoadStoreParameter with $KeyStore$LoadStoreParameter { } } -final class $KeyStore$LoadStoreParameter$NullableType - extends jni$_.JObjType { +final class $KeyStore$LoadStoreParameter$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$LoadStoreParameter$NullableType(); + const $KeyStore$LoadStoreParameter$NullableType$(); @jni$_.internal @core$_.override @@ -20592,30 +20826,30 @@ final class $KeyStore$LoadStoreParameter$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$LoadStoreParameter$NullableType).hashCode; + int get hashCode => ($KeyStore$LoadStoreParameter$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$LoadStoreParameter$NullableType) && - other is $KeyStore$LoadStoreParameter$NullableType; + return other.runtimeType == ($KeyStore$LoadStoreParameter$NullableType$) && + other is $KeyStore$LoadStoreParameter$NullableType$; } } -final class $KeyStore$LoadStoreParameter$Type - extends jni$_.JObjType { +final class $KeyStore$LoadStoreParameter$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$LoadStoreParameter$Type(); + const $KeyStore$LoadStoreParameter$Type$(); @jni$_.internal @core$_.override @@ -20629,24 +20863,24 @@ final class $KeyStore$LoadStoreParameter$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$LoadStoreParameter$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$LoadStoreParameter$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$LoadStoreParameter$Type).hashCode; + int get hashCode => ($KeyStore$LoadStoreParameter$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$LoadStoreParameter$Type) && - other is $KeyStore$LoadStoreParameter$Type; + return other.runtimeType == ($KeyStore$LoadStoreParameter$Type$) && + other is $KeyStore$LoadStoreParameter$Type$; } } @@ -20654,7 +20888,7 @@ final class $KeyStore$LoadStoreParameter$Type class KeyStore$PasswordProtection extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$PasswordProtection.fromReference( @@ -20666,8 +20900,12 @@ class KeyStore$PasswordProtection extends jni$_.JObject { jni$_.JClass.forName(r'java/security/KeyStore$PasswordProtection'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$PasswordProtection$NullableType(); - static const type = $KeyStore$PasswordProtection$Type(); + static const jni$_.JType nullableType = + $KeyStore$PasswordProtection$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyStore$PasswordProtection$Type$(); static final _id_new$ = _class.constructorId( r'([C)V', ); @@ -20739,37 +20977,34 @@ class KeyStore$PasswordProtection extends jni$_.JObject { .reference); } - static final _id_getProtectionAlgorithm = _class.instanceMethodId( - r'getProtectionAlgorithm', - r'()Ljava/lang/String;', + static final _id_destroy = _class.instanceMethodId( + r'destroy', + r'()V', ); - static final _getProtectionAlgorithm = jni$_.ProtectedJniExtensions.lookup< + static final _destroy = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + )>>('globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String getProtectionAlgorithm()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getProtectionAlgorithm() { - return _getProtectionAlgorithm( - reference.pointer, _id_getProtectionAlgorithm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + /// from: `public void destroy()` + void destroy() { + _destroy(reference.pointer, _id_destroy as jni$_.JMethodIDPtr).check(); } - static final _id_getProtectionParameters = _class.instanceMethodId( - r'getProtectionParameters', - r'()Ljava/security/spec/AlgorithmParameterSpec;', + static final _id_getPassword = _class.instanceMethodId( + r'getPassword', + r'()[C', ); - static final _getProtectionParameters = jni$_.ProtectedJniExtensions.lookup< + static final _getPassword = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -20781,20 +21016,20 @@ class KeyStore$PasswordProtection extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.security.spec.AlgorithmParameterSpec getProtectionParameters()` + /// from: `public char[] getPassword()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getProtectionParameters() { - return _getProtectionParameters(reference.pointer, - _id_getProtectionParameters as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JCharArray? getPassword() { + return _getPassword( + reference.pointer, _id_getPassword as jni$_.JMethodIDPtr) + .object(const jni$_.$JCharArray$NullableType$()); } - static final _id_getPassword = _class.instanceMethodId( - r'getPassword', - r'()[C', + static final _id_getProtectionAlgorithm = _class.instanceMethodId( + r'getProtectionAlgorithm', + r'()Ljava/lang/String;', ); - static final _getPassword = jni$_.ProtectedJniExtensions.lookup< + static final _getProtectionAlgorithm = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -20806,34 +21041,37 @@ class KeyStore$PasswordProtection extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public char[] getPassword()` + /// from: `public java.lang.String getProtectionAlgorithm()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JCharArray? getPassword() { - return _getPassword( - reference.pointer, _id_getPassword as jni$_.JMethodIDPtr) - .object(const jni$_.JCharArrayNullableType()); + jni$_.JString? getProtectionAlgorithm() { + return _getProtectionAlgorithm( + reference.pointer, _id_getProtectionAlgorithm as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); } - static final _id_destroy = _class.instanceMethodId( - r'destroy', - r'()V', + static final _id_getProtectionParameters = _class.instanceMethodId( + r'getProtectionParameters', + r'()Ljava/security/spec/AlgorithmParameterSpec;', ); - static final _destroy = jni$_.ProtectedJniExtensions.lookup< + static final _getProtectionParameters = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') + )>>('globalEnv_CallObjectMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `public void destroy()` - void destroy() { - _destroy(reference.pointer, _id_destroy as jni$_.JMethodIDPtr).check(); + /// from: `public java.security.spec.AlgorithmParameterSpec getProtectionParameters()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? getProtectionParameters() { + return _getProtectionParameters(reference.pointer, + _id_getProtectionParameters as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } static final _id_isDestroyed = _class.instanceMethodId( @@ -20861,10 +21099,10 @@ class KeyStore$PasswordProtection extends jni$_.JObject { } } -final class $KeyStore$PasswordProtection$NullableType - extends jni$_.JObjType { +final class $KeyStore$PasswordProtection$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$PasswordProtection$NullableType(); + const $KeyStore$PasswordProtection$NullableType$(); @jni$_.internal @core$_.override @@ -20880,30 +21118,30 @@ final class $KeyStore$PasswordProtection$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$PasswordProtection$NullableType).hashCode; + int get hashCode => ($KeyStore$PasswordProtection$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$PasswordProtection$NullableType) && - other is $KeyStore$PasswordProtection$NullableType; + return other.runtimeType == ($KeyStore$PasswordProtection$NullableType$) && + other is $KeyStore$PasswordProtection$NullableType$; } } -final class $KeyStore$PasswordProtection$Type - extends jni$_.JObjType { +final class $KeyStore$PasswordProtection$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$PasswordProtection$Type(); + const $KeyStore$PasswordProtection$Type$(); @jni$_.internal @core$_.override @@ -20917,24 +21155,24 @@ final class $KeyStore$PasswordProtection$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$PasswordProtection$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$PasswordProtection$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$PasswordProtection$Type).hashCode; + int get hashCode => ($KeyStore$PasswordProtection$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$PasswordProtection$Type) && - other is $KeyStore$PasswordProtection$Type; + return other.runtimeType == ($KeyStore$PasswordProtection$Type$) && + other is $KeyStore$PasswordProtection$Type$; } } @@ -20942,7 +21180,7 @@ final class $KeyStore$PasswordProtection$Type class KeyStore$PrivateKeyEntry extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$PrivateKeyEntry.fromReference( @@ -20954,8 +21192,12 @@ class KeyStore$PrivateKeyEntry extends jni$_.JObject { jni$_.JClass.forName(r'java/security/KeyStore$PrivateKeyEntry'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$PrivateKeyEntry$NullableType(); - static const type = $KeyStore$PrivateKeyEntry$Type(); + static const jni$_.JType nullableType = + $KeyStore$PrivateKeyEntry$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyStore$PrivateKeyEntry$Type$(); static final _id_new$ = _class.constructorId( r'(Ljava/security/PrivateKey;[Ljava/security/cert/Certificate;)V', ); @@ -21016,7 +21258,7 @@ class KeyStore$PrivateKeyEntry extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void (java.security.PrivateKey privateKey, java.lang.Object[] certificates, java.util.Set set)` + /// from: `public void (java.security.PrivateKey privateKey, java.security.cert.Certificate[] certificates, java.util.Set set)` /// The returned object must be released after use, by calling the [release] method. factory KeyStore$PrivateKeyEntry.new$1( PrivateKey? privateKey, @@ -21035,12 +21277,12 @@ class KeyStore$PrivateKeyEntry extends jni$_.JObject { .reference); } - static final _id_getPrivateKey = _class.instanceMethodId( - r'getPrivateKey', - r'()Ljava/security/PrivateKey;', + static final _id_getAttributes = _class.instanceMethodId( + r'getAttributes', + r'()Ljava/util/Set;', ); - static final _getPrivateKey = jni$_.ProtectedJniExtensions.lookup< + static final _getAttributes = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -21052,12 +21294,39 @@ class KeyStore$PrivateKeyEntry extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.security.PrivateKey getPrivateKey()` + /// from: `public java.util.Set getAttributes()` /// The returned object must be released after use, by calling the [release] method. - PrivateKey? getPrivateKey() { - return _getPrivateKey( - reference.pointer, _id_getPrivateKey as jni$_.JMethodIDPtr) - .object(const $PrivateKey$NullableType()); + jni$_.JSet? getAttributes() { + return _getAttributes( + reference.pointer, _id_getAttributes as jni$_.JMethodIDPtr) + .object?>( + const jni$_.$JSet$NullableType$( + $KeyStore$Entry$Attribute$NullableType$())); + } + + static final _id_getCertificate = _class.instanceMethodId( + r'getCertificate', + r'()Ljava/security/cert/Certificate;', + ); + + static final _getCertificate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public java.security.cert.Certificate getCertificate()` + /// The returned object must be released after use, by calling the [release] method. + Certificate? getCertificate() { + return _getCertificate( + reference.pointer, _id_getCertificate as jni$_.JMethodIDPtr) + .object(const $Certificate$NullableType$()); } static final _id_getCertificateChain = _class.instanceMethodId( @@ -21083,41 +21352,16 @@ class KeyStore$PrivateKeyEntry extends jni$_.JObject { return _getCertificateChain( reference.pointer, _id_getCertificateChain as jni$_.JMethodIDPtr) .object?>( - const jni$_.JArrayNullableType( - $Certificate$NullableType())); + const jni$_.$JArray$NullableType$( + $Certificate$NullableType$())); } - static final _id_getCertificate = _class.instanceMethodId( - r'getCertificate', - r'()Ljava/security/cert/Certificate;', - ); - - static final _getCertificate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public java.security.cert.Certificate getCertificate()` - /// The returned object must be released after use, by calling the [release] method. - Certificate? getCertificate() { - return _getCertificate( - reference.pointer, _id_getCertificate as jni$_.JMethodIDPtr) - .object(const $Certificate$NullableType()); - } - - static final _id_getAttributes = _class.instanceMethodId( - r'getAttributes', - r'()Ljava/util/Set;', + static final _id_getPrivateKey = _class.instanceMethodId( + r'getPrivateKey', + r'()Ljava/security/PrivateKey;', ); - static final _getAttributes = jni$_.ProtectedJniExtensions.lookup< + static final _getPrivateKey = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -21129,14 +21373,12 @@ class KeyStore$PrivateKeyEntry extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.util.Set getAttributes()` + /// from: `public java.security.PrivateKey getPrivateKey()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JSet? getAttributes() { - return _getAttributes( - reference.pointer, _id_getAttributes as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JSetNullableType( - $KeyStore$Entry$Attribute$NullableType())); + PrivateKey? getPrivateKey() { + return _getPrivateKey( + reference.pointer, _id_getPrivateKey as jni$_.JMethodIDPtr) + .object(const $PrivateKey$NullableType$()); } static final _id_toString$1 = _class.instanceMethodId( @@ -21160,14 +21402,14 @@ class KeyStore$PrivateKeyEntry extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? toString$1() { return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } } -final class $KeyStore$PrivateKeyEntry$NullableType - extends jni$_.JObjType { +final class $KeyStore$PrivateKeyEntry$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$PrivateKeyEntry$NullableType(); + const $KeyStore$PrivateKeyEntry$NullableType$(); @jni$_.internal @core$_.override @@ -21183,30 +21425,30 @@ final class $KeyStore$PrivateKeyEntry$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$PrivateKeyEntry$NullableType).hashCode; + int get hashCode => ($KeyStore$PrivateKeyEntry$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$PrivateKeyEntry$NullableType) && - other is $KeyStore$PrivateKeyEntry$NullableType; + return other.runtimeType == ($KeyStore$PrivateKeyEntry$NullableType$) && + other is $KeyStore$PrivateKeyEntry$NullableType$; } } -final class $KeyStore$PrivateKeyEntry$Type - extends jni$_.JObjType { +final class $KeyStore$PrivateKeyEntry$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$PrivateKeyEntry$Type(); + const $KeyStore$PrivateKeyEntry$Type$(); @jni$_.internal @core$_.override @@ -21220,24 +21462,24 @@ final class $KeyStore$PrivateKeyEntry$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$PrivateKeyEntry$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$PrivateKeyEntry$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$PrivateKeyEntry$Type).hashCode; + int get hashCode => ($KeyStore$PrivateKeyEntry$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$PrivateKeyEntry$Type) && - other is $KeyStore$PrivateKeyEntry$Type; + return other.runtimeType == ($KeyStore$PrivateKeyEntry$Type$) && + other is $KeyStore$PrivateKeyEntry$Type$; } } @@ -21245,7 +21487,7 @@ final class $KeyStore$PrivateKeyEntry$Type class KeyStore$ProtectionParameter extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$ProtectionParameter.fromReference( @@ -21257,8 +21499,12 @@ class KeyStore$ProtectionParameter extends jni$_.JObject { jni$_.JClass.forName(r'java/security/KeyStore$ProtectionParameter'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$ProtectionParameter$NullableType(); - static const type = $KeyStore$ProtectionParameter$Type(); + static const jni$_.JType nullableType = + $KeyStore$ProtectionParameter$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyStore$ProtectionParameter$Type$(); /// Maps a specific port to the implemented interface. static final core$_.Map _$impls = {}; @@ -21340,10 +21586,10 @@ final class _$KeyStore$ProtectionParameter with $KeyStore$ProtectionParameter { _$KeyStore$ProtectionParameter(); } -final class $KeyStore$ProtectionParameter$NullableType - extends jni$_.JObjType { +final class $KeyStore$ProtectionParameter$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$ProtectionParameter$NullableType(); + const $KeyStore$ProtectionParameter$NullableType$(); @jni$_.internal @core$_.override @@ -21359,30 +21605,30 @@ final class $KeyStore$ProtectionParameter$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$ProtectionParameter$NullableType).hashCode; + int get hashCode => ($KeyStore$ProtectionParameter$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$ProtectionParameter$NullableType) && - other is $KeyStore$ProtectionParameter$NullableType; + return other.runtimeType == ($KeyStore$ProtectionParameter$NullableType$) && + other is $KeyStore$ProtectionParameter$NullableType$; } } -final class $KeyStore$ProtectionParameter$Type - extends jni$_.JObjType { +final class $KeyStore$ProtectionParameter$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$ProtectionParameter$Type(); + const $KeyStore$ProtectionParameter$Type$(); @jni$_.internal @core$_.override @@ -21396,24 +21642,24 @@ final class $KeyStore$ProtectionParameter$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$ProtectionParameter$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$ProtectionParameter$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$ProtectionParameter$Type).hashCode; + int get hashCode => ($KeyStore$ProtectionParameter$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$ProtectionParameter$Type) && - other is $KeyStore$ProtectionParameter$Type; + return other.runtimeType == ($KeyStore$ProtectionParameter$Type$) && + other is $KeyStore$ProtectionParameter$Type$; } } @@ -21421,7 +21667,7 @@ final class $KeyStore$ProtectionParameter$Type class KeyStore$SecretKeyEntry extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$SecretKeyEntry.fromReference( @@ -21433,8 +21679,12 @@ class KeyStore$SecretKeyEntry extends jni$_.JObject { jni$_.JClass.forName(r'java/security/KeyStore$SecretKeyEntry'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$SecretKeyEntry$NullableType(); - static const type = $KeyStore$SecretKeyEntry$Type(); + static const jni$_.JType nullableType = + $KeyStore$SecretKeyEntry$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyStore$SecretKeyEntry$Type$(); static final _id_new$ = _class.constructorId( r'(Ljavax/crypto/SecretKey;)V', ); @@ -21482,7 +21732,7 @@ class KeyStore$SecretKeyEntry extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void (javax.crypto.SecretKey secretKey, java.util.Set set)` + /// from: `public void (javax.crypto.SecretKey secretKey, java.util.Set set)` /// The returned object must be released after use, by calling the [release] method. factory KeyStore$SecretKeyEntry.new$1( jni$_.JObject? secretKey, @@ -21498,12 +21748,12 @@ class KeyStore$SecretKeyEntry extends jni$_.JObject { .reference); } - static final _id_getSecretKey = _class.instanceMethodId( - r'getSecretKey', - r'()Ljavax/crypto/SecretKey;', + static final _id_getAttributes = _class.instanceMethodId( + r'getAttributes', + r'()Ljava/util/Set;', ); - static final _getSecretKey = jni$_.ProtectedJniExtensions.lookup< + static final _getAttributes = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -21515,20 +21765,22 @@ class KeyStore$SecretKeyEntry extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public javax.crypto.SecretKey getSecretKey()` + /// from: `public java.util.Set getAttributes()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSecretKey() { - return _getSecretKey( - reference.pointer, _id_getSecretKey as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JSet? getAttributes() { + return _getAttributes( + reference.pointer, _id_getAttributes as jni$_.JMethodIDPtr) + .object?>( + const jni$_.$JSet$NullableType$( + $KeyStore$Entry$Attribute$NullableType$())); } - static final _id_getAttributes = _class.instanceMethodId( - r'getAttributes', - r'()Ljava/util/Set;', + static final _id_getSecretKey = _class.instanceMethodId( + r'getSecretKey', + r'()Ljavax/crypto/SecretKey;', ); - static final _getAttributes = jni$_.ProtectedJniExtensions.lookup< + static final _getSecretKey = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -21540,14 +21792,12 @@ class KeyStore$SecretKeyEntry extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.util.Set getAttributes()` + /// from: `public javax.crypto.SecretKey getSecretKey()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JSet? getAttributes() { - return _getAttributes( - reference.pointer, _id_getAttributes as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JSetNullableType( - $KeyStore$Entry$Attribute$NullableType())); + jni$_.JObject? getSecretKey() { + return _getSecretKey( + reference.pointer, _id_getSecretKey as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } static final _id_toString$1 = _class.instanceMethodId( @@ -21571,14 +21821,14 @@ class KeyStore$SecretKeyEntry extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? toString$1() { return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } } -final class $KeyStore$SecretKeyEntry$NullableType - extends jni$_.JObjType { +final class $KeyStore$SecretKeyEntry$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$SecretKeyEntry$NullableType(); + const $KeyStore$SecretKeyEntry$NullableType$(); @jni$_.internal @core$_.override @@ -21594,30 +21844,30 @@ final class $KeyStore$SecretKeyEntry$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$SecretKeyEntry$NullableType).hashCode; + int get hashCode => ($KeyStore$SecretKeyEntry$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$SecretKeyEntry$NullableType) && - other is $KeyStore$SecretKeyEntry$NullableType; + return other.runtimeType == ($KeyStore$SecretKeyEntry$NullableType$) && + other is $KeyStore$SecretKeyEntry$NullableType$; } } -final class $KeyStore$SecretKeyEntry$Type - extends jni$_.JObjType { +final class $KeyStore$SecretKeyEntry$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$SecretKeyEntry$Type(); + const $KeyStore$SecretKeyEntry$Type$(); @jni$_.internal @core$_.override @@ -21631,24 +21881,24 @@ final class $KeyStore$SecretKeyEntry$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$SecretKeyEntry$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$SecretKeyEntry$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$SecretKeyEntry$Type).hashCode; + int get hashCode => ($KeyStore$SecretKeyEntry$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$SecretKeyEntry$Type) && - other is $KeyStore$SecretKeyEntry$Type; + return other.runtimeType == ($KeyStore$SecretKeyEntry$Type$) && + other is $KeyStore$SecretKeyEntry$Type$; } } @@ -21656,7 +21906,7 @@ final class $KeyStore$SecretKeyEntry$Type class KeyStore$TrustedCertificateEntry extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore$TrustedCertificateEntry.fromReference( @@ -21668,8 +21918,12 @@ class KeyStore$TrustedCertificateEntry extends jni$_.JObject { jni$_.JClass.forName(r'java/security/KeyStore$TrustedCertificateEntry'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$TrustedCertificateEntry$NullableType(); - static const type = $KeyStore$TrustedCertificateEntry$Type(); + static const jni$_.JType nullableType = + $KeyStore$TrustedCertificateEntry$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyStore$TrustedCertificateEntry$Type$(); static final _id_new$ = _class.constructorId( r'(Ljava/security/cert/Certificate;)V', ); @@ -21719,7 +21973,7 @@ class KeyStore$TrustedCertificateEntry extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void (java.security.cert.Certificate certificate, java.util.Set set)` + /// from: `public void (java.security.cert.Certificate certificate, java.util.Set set)` /// The returned object must be released after use, by calling the [release] method. factory KeyStore$TrustedCertificateEntry.new$1( Certificate? certificate, @@ -21735,12 +21989,12 @@ class KeyStore$TrustedCertificateEntry extends jni$_.JObject { .reference); } - static final _id_getTrustedCertificate = _class.instanceMethodId( - r'getTrustedCertificate', - r'()Ljava/security/cert/Certificate;', + static final _id_getAttributes = _class.instanceMethodId( + r'getAttributes', + r'()Ljava/util/Set;', ); - static final _getTrustedCertificate = jni$_.ProtectedJniExtensions.lookup< + static final _getAttributes = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -21752,20 +22006,22 @@ class KeyStore$TrustedCertificateEntry extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.security.cert.Certificate getTrustedCertificate()` + /// from: `public java.util.Set getAttributes()` /// The returned object must be released after use, by calling the [release] method. - Certificate? getTrustedCertificate() { - return _getTrustedCertificate( - reference.pointer, _id_getTrustedCertificate as jni$_.JMethodIDPtr) - .object(const $Certificate$NullableType()); + jni$_.JSet? getAttributes() { + return _getAttributes( + reference.pointer, _id_getAttributes as jni$_.JMethodIDPtr) + .object?>( + const jni$_.$JSet$NullableType$( + $KeyStore$Entry$Attribute$NullableType$())); } - static final _id_getAttributes = _class.instanceMethodId( - r'getAttributes', - r'()Ljava/util/Set;', + static final _id_getTrustedCertificate = _class.instanceMethodId( + r'getTrustedCertificate', + r'()Ljava/security/cert/Certificate;', ); - static final _getAttributes = jni$_.ProtectedJniExtensions.lookup< + static final _getTrustedCertificate = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -21777,14 +22033,12 @@ class KeyStore$TrustedCertificateEntry extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.util.Set getAttributes()` + /// from: `public java.security.cert.Certificate getTrustedCertificate()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JSet? getAttributes() { - return _getAttributes( - reference.pointer, _id_getAttributes as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JSetNullableType( - $KeyStore$Entry$Attribute$NullableType())); + Certificate? getTrustedCertificate() { + return _getTrustedCertificate( + reference.pointer, _id_getTrustedCertificate as jni$_.JMethodIDPtr) + .object(const $Certificate$NullableType$()); } static final _id_toString$1 = _class.instanceMethodId( @@ -21808,14 +22062,14 @@ class KeyStore$TrustedCertificateEntry extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? toString$1() { return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } } -final class $KeyStore$TrustedCertificateEntry$NullableType - extends jni$_.JObjType { +final class $KeyStore$TrustedCertificateEntry$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$TrustedCertificateEntry$NullableType(); + const $KeyStore$TrustedCertificateEntry$NullableType$(); @jni$_.internal @core$_.override @@ -21831,31 +22085,32 @@ final class $KeyStore$TrustedCertificateEntry$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$TrustedCertificateEntry$NullableType).hashCode; + int get hashCode => + ($KeyStore$TrustedCertificateEntry$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($KeyStore$TrustedCertificateEntry$NullableType) && - other is $KeyStore$TrustedCertificateEntry$NullableType; + ($KeyStore$TrustedCertificateEntry$NullableType$) && + other is $KeyStore$TrustedCertificateEntry$NullableType$; } } -final class $KeyStore$TrustedCertificateEntry$Type - extends jni$_.JObjType { +final class $KeyStore$TrustedCertificateEntry$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyStore$TrustedCertificateEntry$Type(); + const $KeyStore$TrustedCertificateEntry$Type$(); @jni$_.internal @core$_.override @@ -21869,24 +22124,24 @@ final class $KeyStore$TrustedCertificateEntry$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyStore$TrustedCertificateEntry$NullableType(); + jni$_.JType get nullableType => + const $KeyStore$TrustedCertificateEntry$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$TrustedCertificateEntry$Type).hashCode; + int get hashCode => ($KeyStore$TrustedCertificateEntry$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$TrustedCertificateEntry$Type) && - other is $KeyStore$TrustedCertificateEntry$Type; + return other.runtimeType == ($KeyStore$TrustedCertificateEntry$Type$) && + other is $KeyStore$TrustedCertificateEntry$Type$; } } @@ -21894,7 +22149,7 @@ final class $KeyStore$TrustedCertificateEntry$Type class KeyStore extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyStore.fromReference( @@ -21905,41 +22160,94 @@ class KeyStore extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/KeyStore'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyStore$NullableType(); - static const type = $KeyStore$Type(); - static final _id_getInstance = _class.staticMethodId( - r'getInstance', - r'(Ljava/lang/String;)Ljava/security/KeyStore;', + static const jni$_.JType nullableType = $KeyStore$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $KeyStore$Type$(); + static final _id_aliases = _class.instanceMethodId( + r'aliases', + r'()Ljava/util/Enumeration;', ); - static final _getInstance = jni$_.ProtectedJniExtensions.lookup< + static final _aliases = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public final java.util.Enumeration aliases()` + /// The returned object must be released after use, by calling the [release] method. + Enumeration? aliases() { + return _aliases(reference.pointer, _id_aliases as jni$_.JMethodIDPtr) + .object?>( + const $Enumeration$NullableType$( + jni$_.$JString$NullableType$())); + } + + static final _id_containsAlias = _class.instanceMethodId( + r'containsAlias', + r'(Ljava/lang/String;)Z', + ); + + static final _containsAlias = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + 'globalEnv_CallBooleanMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public java.security.KeyStore getInstance(java.lang.String string)` - /// The returned object must be released after use, by calling the [release] method. - static KeyStore? getInstance( + /// from: `public final boolean containsAlias(java.lang.String string)` + bool containsAlias( jni$_.JString? string, ) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getInstance(_class.reference.pointer, - _id_getInstance as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $KeyStore$NullableType()); + return _containsAlias(reference.pointer, + _id_containsAlias as jni$_.JMethodIDPtr, _$string.pointer) + .boolean; } - static final _id_getInstance$1 = _class.staticMethodId( - r'getInstance', - r'(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyStore;', + static final _id_deleteEntry = _class.instanceMethodId( + r'deleteEntry', + r'(Ljava/lang/String;)V', ); - static final _getInstance$1 = jni$_.ProtectedJniExtensions.lookup< + static final _deleteEntry = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public final void deleteEntry(java.lang.String string)` + void deleteEntry( + jni$_.JString? string, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + _deleteEntry(reference.pointer, _id_deleteEntry as jni$_.JMethodIDPtr, + _$string.pointer) + .check(); + } + + static final _id_entryInstanceOf = _class.instanceMethodId( + r'entryInstanceOf', + r'(Ljava/lang/String;Ljava/lang/Class;)Z', + ); + + static final _entryInstanceOf = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -21948,7 +22256,7 @@ class KeyStore extends jni$_.JObject { ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallBooleanMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -21956,58 +22264,131 @@ class KeyStore extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public java.security.KeyStore getInstance(java.lang.String string, java.lang.String string1)` - /// The returned object must be released after use, by calling the [release] method. - static KeyStore? getInstance$1( + /// from: `public final boolean entryInstanceOf(java.lang.String string, java.lang.Class class)` + bool entryInstanceOf( jni$_.JString? string, - jni$_.JString? string1, + jni$_.JObject? class$, ) { final _$string = string?.reference ?? jni$_.jNullReference; - final _$string1 = string1?.reference ?? jni$_.jNullReference; - return _getInstance$1( - _class.reference.pointer, - _id_getInstance$1 as jni$_.JMethodIDPtr, + final _$class$ = class$?.reference ?? jni$_.jNullReference; + return _entryInstanceOf( + reference.pointer, + _id_entryInstanceOf as jni$_.JMethodIDPtr, _$string.pointer, - _$string1.pointer) - .object(const $KeyStore$NullableType()); + _$class$.pointer) + .boolean; } - static final _id_getInstance$2 = _class.staticMethodId( - r'getInstance', - r'(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/KeyStore;', + static final _id_getCertificate = _class.instanceMethodId( + r'getCertificate', + r'(Ljava/lang/String;)Ljava/security/cert/Certificate;', ); - static final _getInstance$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') + static final _getCertificate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public java.security.KeyStore getInstance(java.lang.String string, java.security.Provider provider)` + /// from: `public final java.security.cert.Certificate getCertificate(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static KeyStore? getInstance$2( + Certificate? getCertificate( jni$_.JString? string, - jni$_.JObject? provider, ) { final _$string = string?.reference ?? jni$_.jNullReference; - final _$provider = provider?.reference ?? jni$_.jNullReference; - return _getInstance$2( - _class.reference.pointer, - _id_getInstance$2 as jni$_.JMethodIDPtr, - _$string.pointer, - _$provider.pointer) - .object(const $KeyStore$NullableType()); + return _getCertificate(reference.pointer, + _id_getCertificate as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $Certificate$NullableType$()); + } + + static final _id_getCertificateAlias = _class.instanceMethodId( + r'getCertificateAlias', + r'(Ljava/security/cert/Certificate;)Ljava/lang/String;', + ); + + static final _getCertificateAlias = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public final java.lang.String getCertificateAlias(java.security.cert.Certificate certificate)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? getCertificateAlias( + Certificate? certificate, + ) { + final _$certificate = certificate?.reference ?? jni$_.jNullReference; + return _getCertificateAlias( + reference.pointer, + _id_getCertificateAlias as jni$_.JMethodIDPtr, + _$certificate.pointer) + .object(const jni$_.$JString$NullableType$()); + } + + static final _id_getCertificateChain = _class.instanceMethodId( + r'getCertificateChain', + r'(Ljava/lang/String;)[Ljava/security/cert/Certificate;', + ); + + static final _getCertificateChain = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public final java.security.cert.Certificate[] getCertificateChain(java.lang.String string)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getCertificateChain( + jni$_.JString? string, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + return _getCertificateChain(reference.pointer, + _id_getCertificateChain as jni$_.JMethodIDPtr, _$string.pointer) + .object?>( + const jni$_.$JArray$NullableType$( + $Certificate$NullableType$())); + } + + static final _id_getCreationDate = _class.instanceMethodId( + r'getCreationDate', + r'(Ljava/lang/String;)Ljava/util/Date;', + ); + + static final _getCreationDate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public final java.util.Date getCreationDate(java.lang.String string)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? getCreationDate( + jni$_.JString? string, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + return _getCreationDate(reference.pointer, + _id_getCreationDate as jni$_.JMethodIDPtr, _$string.pointer) + .object(const jni$_.$JObject$NullableType$()); } static final _id_getDefaultType = _class.staticMethodId( @@ -22032,64 +22413,51 @@ class KeyStore extends jni$_.JObject { static jni$_.JString? getDefaultType() { return _getDefaultType( _class.reference.pointer, _id_getDefaultType as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } - static final _id_getProvider = _class.instanceMethodId( - r'getProvider', - r'()Ljava/security/Provider;', - ); - - static final _getProvider = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public final java.security.Provider getProvider()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getProvider() { - return _getProvider( - reference.pointer, _id_getProvider as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_getType = _class.instanceMethodId( - r'getType', - r'()Ljava/lang/String;', + static final _id_getEntry = _class.instanceMethodId( + r'getEntry', + r'(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry;', ); - static final _getType = jni$_.ProtectedJniExtensions.lookup< + static final _getEntry = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') .asFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `public final java.lang.String getType()` + /// from: `public final java.security.KeyStore$Entry getEntry(java.lang.String string, java.security.KeyStore$ProtectionParameter protectionParameter)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getType() { - return _getType(reference.pointer, _id_getType as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + KeyStore$Entry? getEntry( + jni$_.JString? string, + KeyStore$ProtectionParameter? protectionParameter, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$protectionParameter = + protectionParameter?.reference ?? jni$_.jNullReference; + return _getEntry(reference.pointer, _id_getEntry as jni$_.JMethodIDPtr, + _$string.pointer, _$protectionParameter.pointer) + .object(const $KeyStore$Entry$NullableType$()); } - static final _id_getKey = _class.instanceMethodId( - r'getKey', - r'(Ljava/lang/String;[C)Ljava/security/Key;', + static final _id_getInstance = _class.staticMethodId( + r'getInstance', + r'(Ljava/io/File;[C)Ljava/security/KeyStore;', ); - static final _getKey = jni$_.ProtectedJniExtensions.lookup< + static final _getInstance = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -22098,7 +22466,7 @@ class KeyStore extends jni$_.JObject { ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -22106,256 +22474,202 @@ class KeyStore extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final java.security.Key getKey(java.lang.String string, char[] cs)` + /// from: `static public final java.security.KeyStore getInstance(java.io.File file, char[] cs)` /// The returned object must be released after use, by calling the [release] method. - Key? getKey( - jni$_.JString? string, + static KeyStore? getInstance( + jni$_.JObject? file, jni$_.JCharArray? cs, ) { - final _$string = string?.reference ?? jni$_.jNullReference; + final _$file = file?.reference ?? jni$_.jNullReference; final _$cs = cs?.reference ?? jni$_.jNullReference; - return _getKey(reference.pointer, _id_getKey as jni$_.JMethodIDPtr, - _$string.pointer, _$cs.pointer) - .object(const $Key$NullableType()); - } - - static final _id_getCertificateChain = _class.instanceMethodId( - r'getCertificateChain', - r'(Ljava/lang/String;)[Ljava/security/cert/Certificate;', - ); - - static final _getCertificateChain = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `public final java.security.cert.Certificate[] getCertificateChain(java.lang.String string)` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getCertificateChain( - jni$_.JString? string, - ) { - final _$string = string?.reference ?? jni$_.jNullReference; - return _getCertificateChain(reference.pointer, - _id_getCertificateChain as jni$_.JMethodIDPtr, _$string.pointer) - .object?>( - const jni$_.JArrayNullableType( - $Certificate$NullableType())); + return _getInstance(_class.reference.pointer, + _id_getInstance as jni$_.JMethodIDPtr, _$file.pointer, _$cs.pointer) + .object(const $KeyStore$NullableType$()); } - static final _id_getCertificate = _class.instanceMethodId( - r'getCertificate', - r'(Ljava/lang/String;)Ljava/security/cert/Certificate;', + static final _id_getInstance$1 = _class.staticMethodId( + r'getInstance', + r'(Ljava/io/File;Ljava/security/KeyStore$LoadStoreParameter;)Ljava/security/KeyStore;', ); - static final _getCertificate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + static final _getInstance$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `public final java.security.cert.Certificate getCertificate(java.lang.String string)` + /// from: `static public final java.security.KeyStore getInstance(java.io.File file, java.security.KeyStore$LoadStoreParameter loadStoreParameter)` /// The returned object must be released after use, by calling the [release] method. - Certificate? getCertificate( - jni$_.JString? string, + static KeyStore? getInstance$1( + jni$_.JObject? file, + KeyStore$LoadStoreParameter? loadStoreParameter, ) { - final _$string = string?.reference ?? jni$_.jNullReference; - return _getCertificate(reference.pointer, - _id_getCertificate as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Certificate$NullableType()); + final _$file = file?.reference ?? jni$_.jNullReference; + final _$loadStoreParameter = + loadStoreParameter?.reference ?? jni$_.jNullReference; + return _getInstance$1( + _class.reference.pointer, + _id_getInstance$1 as jni$_.JMethodIDPtr, + _$file.pointer, + _$loadStoreParameter.pointer) + .object(const $KeyStore$NullableType$()); } - static final _id_getCreationDate = _class.instanceMethodId( - r'getCreationDate', - r'(Ljava/lang/String;)Ljava/util/Date;', + static final _id_getInstance$2 = _class.staticMethodId( + r'getInstance', + r'(Ljava/lang/String;)Ljava/security/KeyStore;', ); - static final _getCreationDate = jni$_.ProtectedJniExtensions.lookup< + static final _getInstance$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + 'globalEnv_CallStaticObjectMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.util.Date getCreationDate(java.lang.String string)` + /// from: `static public java.security.KeyStore getInstance(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getCreationDate( + static KeyStore? getInstance$2( jni$_.JString? string, ) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getCreationDate(reference.pointer, - _id_getCreationDate as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getInstance$2(_class.reference.pointer, + _id_getInstance$2 as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $KeyStore$NullableType$()); } - static final _id_setKeyEntry = _class.instanceMethodId( - r'setKeyEntry', - r'(Ljava/lang/String;Ljava/security/Key;[C[Ljava/security/cert/Certificate;)V', + static final _id_getInstance$3 = _class.staticMethodId( + r'getInstance', + r'(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyStore;', ); - static final _setKeyEntry = jni$_.ProtectedJniExtensions.lookup< + static final _getInstance$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Pointer, jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final void setKeyEntry(java.lang.String string, java.security.Key key, char[] cs, java.security.cert.Certificate[] certificates)` - void setKeyEntry( + /// from: `static public java.security.KeyStore getInstance(java.lang.String string, java.lang.String string1)` + /// The returned object must be released after use, by calling the [release] method. + static KeyStore? getInstance$3( jni$_.JString? string, - Key? key, - jni$_.JCharArray? cs, - jni$_.JArray? certificates, + jni$_.JString? string1, ) { final _$string = string?.reference ?? jni$_.jNullReference; - final _$key = key?.reference ?? jni$_.jNullReference; - final _$cs = cs?.reference ?? jni$_.jNullReference; - final _$certificates = certificates?.reference ?? jni$_.jNullReference; - _setKeyEntry( - reference.pointer, - _id_setKeyEntry as jni$_.JMethodIDPtr, + final _$string1 = string1?.reference ?? jni$_.jNullReference; + return _getInstance$3( + _class.reference.pointer, + _id_getInstance$3 as jni$_.JMethodIDPtr, _$string.pointer, - _$key.pointer, - _$cs.pointer, - _$certificates.pointer) - .check(); + _$string1.pointer) + .object(const $KeyStore$NullableType$()); } - static final _id_setKeyEntry$1 = _class.instanceMethodId( - r'setKeyEntry', - r'(Ljava/lang/String;[B[Ljava/security/cert/Certificate;)V', + static final _id_getInstance$4 = _class.staticMethodId( + r'getInstance', + r'(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/KeyStore;', ); - static final _setKeyEntry$1 = jni$_.ProtectedJniExtensions.lookup< + static final _getInstance$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final void setKeyEntry(java.lang.String string, byte[] bs, java.security.cert.Certificate[] certificates)` - void setKeyEntry$1( + /// from: `static public java.security.KeyStore getInstance(java.lang.String string, java.security.Provider provider)` + /// The returned object must be released after use, by calling the [release] method. + static KeyStore? getInstance$4( jni$_.JString? string, - jni$_.JByteArray? bs, - jni$_.JArray? certificates, + jni$_.JObject? provider, ) { final _$string = string?.reference ?? jni$_.jNullReference; - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$certificates = certificates?.reference ?? jni$_.jNullReference; - _setKeyEntry$1(reference.pointer, _id_setKeyEntry$1 as jni$_.JMethodIDPtr, - _$string.pointer, _$bs.pointer, _$certificates.pointer) - .check(); + final _$provider = provider?.reference ?? jni$_.jNullReference; + return _getInstance$4( + _class.reference.pointer, + _id_getInstance$4 as jni$_.JMethodIDPtr, + _$string.pointer, + _$provider.pointer) + .object(const $KeyStore$NullableType$()); } - static final _id_setCertificateEntry = _class.instanceMethodId( - r'setCertificateEntry', - r'(Ljava/lang/String;Ljava/security/cert/Certificate;)V', + static final _id_getKey = _class.instanceMethodId( + r'getKey', + r'(Ljava/lang/String;[C)Ljava/security/Key;', ); - static final _setCertificateEntry = jni$_.ProtectedJniExtensions.lookup< + static final _getKey = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') + )>)>>('globalEnv_CallObjectMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final void setCertificateEntry(java.lang.String string, java.security.cert.Certificate certificate)` - void setCertificateEntry( - jni$_.JString? string, - Certificate? certificate, - ) { - final _$string = string?.reference ?? jni$_.jNullReference; - final _$certificate = certificate?.reference ?? jni$_.jNullReference; - _setCertificateEntry( - reference.pointer, - _id_setCertificateEntry as jni$_.JMethodIDPtr, - _$string.pointer, - _$certificate.pointer) - .check(); - } - - static final _id_deleteEntry = _class.instanceMethodId( - r'deleteEntry', - r'(Ljava/lang/String;)V', - ); - - static final _deleteEntry = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `public final void deleteEntry(java.lang.String string)` - void deleteEntry( + /// from: `public final java.security.Key getKey(java.lang.String string, char[] cs)` + /// The returned object must be released after use, by calling the [release] method. + Key? getKey( jni$_.JString? string, + jni$_.JCharArray? cs, ) { final _$string = string?.reference ?? jni$_.jNullReference; - _deleteEntry(reference.pointer, _id_deleteEntry as jni$_.JMethodIDPtr, - _$string.pointer) - .check(); + final _$cs = cs?.reference ?? jni$_.jNullReference; + return _getKey(reference.pointer, _id_getKey as jni$_.JMethodIDPtr, + _$string.pointer, _$cs.pointer) + .object(const $Key$NullableType$()); } - static final _id_aliases = _class.instanceMethodId( - r'aliases', - r'()Ljava/util/Enumeration;', + static final _id_getProvider = _class.instanceMethodId( + r'getProvider', + r'()Ljava/security/Provider;', ); - static final _aliases = jni$_.ProtectedJniExtensions.lookup< + static final _getProvider = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -22367,87 +22681,36 @@ class KeyStore extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public final java.util.Enumeration aliases()` + /// from: `public final java.security.Provider getProvider()` /// The returned object must be released after use, by calling the [release] method. - Enumeration? aliases() { - return _aliases(reference.pointer, _id_aliases as jni$_.JMethodIDPtr) - .object?>( - const $Enumeration$NullableType( - jni$_.JStringNullableType())); - } - - static final _id_containsAlias = _class.instanceMethodId( - r'containsAlias', - r'(Ljava/lang/String;)Z', - ); - - static final _containsAlias = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `public final boolean containsAlias(java.lang.String string)` - bool containsAlias( - jni$_.JString? string, - ) { - final _$string = string?.reference ?? jni$_.jNullReference; - return _containsAlias(reference.pointer, - _id_containsAlias as jni$_.JMethodIDPtr, _$string.pointer) - .boolean; + jni$_.JObject? getProvider() { + return _getProvider( + reference.pointer, _id_getProvider as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_size = _class.instanceMethodId( - r'size', - r'()I', + static final _id_getType = _class.instanceMethodId( + r'getType', + r'()Ljava/lang/String;', ); - static final _size = jni$_.ProtectedJniExtensions.lookup< + static final _getType = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') + )>>('globalEnv_CallObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `public final int size()` - int size() { - return _size(reference.pointer, _id_size as jni$_.JMethodIDPtr).integer; - } - - static final _id_isKeyEntry = _class.instanceMethodId( - r'isKeyEntry', - r'(Ljava/lang/String;)Z', - ); - - static final _isKeyEntry = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `public final boolean isKeyEntry(java.lang.String string)` - bool isKeyEntry( - jni$_.JString? string, - ) { - final _$string = string?.reference ?? jni$_.jNullReference; - return _isKeyEntry(reference.pointer, _id_isKeyEntry as jni$_.JMethodIDPtr, - _$string.pointer) - .boolean; + /// from: `public final java.lang.String getType()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? getType() { + return _getType(reference.pointer, _id_getType as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); } static final _id_isCertificateEntry = _class.instanceMethodId( @@ -22476,94 +22739,30 @@ class KeyStore extends jni$_.JObject { .boolean; } - static final _id_getCertificateAlias = _class.instanceMethodId( - r'getCertificateAlias', - r'(Ljava/security/cert/Certificate;)Ljava/lang/String;', + static final _id_isKeyEntry = _class.instanceMethodId( + r'isKeyEntry', + r'(Ljava/lang/String;)Z', ); - static final _getCertificateAlias = jni$_.ProtectedJniExtensions.lookup< + static final _isKeyEntry = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + 'globalEnv_CallBooleanMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public final java.lang.String getCertificateAlias(java.security.cert.Certificate certificate)` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getCertificateAlias( - Certificate? certificate, - ) { - final _$certificate = certificate?.reference ?? jni$_.jNullReference; - return _getCertificateAlias( - reference.pointer, - _id_getCertificateAlias as jni$_.JMethodIDPtr, - _$certificate.pointer) - .object(const jni$_.JStringNullableType()); - } - - static final _id_store = _class.instanceMethodId( - r'store', - r'(Ljava/io/OutputStream;[C)V', - ); - - static final _store = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); - - /// from: `public final void store(java.io.OutputStream outputStream, char[] cs)` - void store( - jni$_.JObject? outputStream, - jni$_.JCharArray? cs, - ) { - final _$outputStream = outputStream?.reference ?? jni$_.jNullReference; - final _$cs = cs?.reference ?? jni$_.jNullReference; - _store(reference.pointer, _id_store as jni$_.JMethodIDPtr, - _$outputStream.pointer, _$cs.pointer) - .check(); - } - - static final _id_store$1 = _class.instanceMethodId( - r'store', - r'(Ljava/security/KeyStore$LoadStoreParameter;)V', - ); - - static final _store$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `public final void store(java.security.KeyStore$LoadStoreParameter loadStoreParameter)` - void store$1( - KeyStore$LoadStoreParameter? loadStoreParameter, + /// from: `public final boolean isKeyEntry(java.lang.String string)` + bool isKeyEntry( + jni$_.JString? string, ) { - final _$loadStoreParameter = - loadStoreParameter?.reference ?? jni$_.jNullReference; - _store$1(reference.pointer, _id_store$1 as jni$_.JMethodIDPtr, - _$loadStoreParameter.pointer) - .check(); + final _$string = string?.reference ?? jni$_.jNullReference; + return _isKeyEntry(reference.pointer, _id_isKeyEntry as jni$_.JMethodIDPtr, + _$string.pointer) + .boolean; } static final _id_load = _class.instanceMethodId( @@ -22627,40 +22826,41 @@ class KeyStore extends jni$_.JObject { .check(); } - static final _id_getEntry = _class.instanceMethodId( - r'getEntry', - r'(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry;', + static final _id_setCertificateEntry = _class.instanceMethodId( + r'setCertificateEntry', + r'(Ljava/lang/String;Ljava/security/cert/Certificate;)V', ); - static final _getEntry = jni$_.ProtectedJniExtensions.lookup< + static final _setCertificateEntry = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final java.security.KeyStore$Entry getEntry(java.lang.String string, java.security.KeyStore$ProtectionParameter protectionParameter)` - /// The returned object must be released after use, by calling the [release] method. - KeyStore$Entry? getEntry( + /// from: `public final void setCertificateEntry(java.lang.String string, java.security.cert.Certificate certificate)` + void setCertificateEntry( jni$_.JString? string, - KeyStore$ProtectionParameter? protectionParameter, + Certificate? certificate, ) { final _$string = string?.reference ?? jni$_.jNullReference; - final _$protectionParameter = - protectionParameter?.reference ?? jni$_.jNullReference; - return _getEntry(reference.pointer, _id_getEntry as jni$_.JMethodIDPtr, - _$string.pointer, _$protectionParameter.pointer) - .object(const $KeyStore$Entry$NullableType()); + final _$certificate = certificate?.reference ?? jni$_.jNullReference; + _setCertificateEntry( + reference.pointer, + _id_setCertificateEntry as jni$_.JMethodIDPtr, + _$string.pointer, + _$certificate.pointer) + .check(); } static final _id_setEntry = _class.instanceMethodId( @@ -22702,124 +22902,178 @@ class KeyStore extends jni$_.JObject { .check(); } - static final _id_entryInstanceOf = _class.instanceMethodId( - r'entryInstanceOf', - r'(Ljava/lang/String;Ljava/lang/Class;)Z', - ); + static final _id_setKeyEntry = _class.instanceMethodId( + r'setKeyEntry', + r'(Ljava/lang/String;[B[Ljava/security/cert/Certificate;)V', + ); - static final _entryInstanceOf = jni$_.ProtectedJniExtensions.lookup< + static final _setKeyEntry = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, + jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public final boolean entryInstanceOf(java.lang.String string, java.lang.Class class)` - bool entryInstanceOf( + /// from: `public final void setKeyEntry(java.lang.String string, byte[] bs, java.security.cert.Certificate[] certificates)` + void setKeyEntry( jni$_.JString? string, - jni$_.JObject? class$, + jni$_.JByteArray? bs, + jni$_.JArray? certificates, ) { final _$string = string?.reference ?? jni$_.jNullReference; - final _$class$ = class$?.reference ?? jni$_.jNullReference; - return _entryInstanceOf( - reference.pointer, - _id_entryInstanceOf as jni$_.JMethodIDPtr, - _$string.pointer, - _$class$.pointer) - .boolean; + final _$bs = bs?.reference ?? jni$_.jNullReference; + final _$certificates = certificates?.reference ?? jni$_.jNullReference; + _setKeyEntry(reference.pointer, _id_setKeyEntry as jni$_.JMethodIDPtr, + _$string.pointer, _$bs.pointer, _$certificates.pointer) + .check(); } - static final _id_getInstance$3 = _class.staticMethodId( - r'getInstance', - r'(Ljava/io/File;[C)Ljava/security/KeyStore;', + static final _id_setKeyEntry$1 = _class.instanceMethodId( + r'setKeyEntry', + r'(Ljava/lang/String;Ljava/security/Key;[C[Ljava/security/cert/Certificate;)V', ); - static final _getInstance$3 = jni$_.ProtectedJniExtensions.lookup< + static final _setKeyEntry$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, + jni$_.Pointer, jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public final java.security.KeyStore getInstance(java.io.File file, char[] cs)` - /// The returned object must be released after use, by calling the [release] method. - static KeyStore? getInstance$3( - jni$_.JObject? file, + /// from: `public final void setKeyEntry(java.lang.String string, java.security.Key key, char[] cs, java.security.cert.Certificate[] certificates)` + void setKeyEntry$1( + jni$_.JString? string, + Key? key, jni$_.JCharArray? cs, + jni$_.JArray? certificates, ) { - final _$file = file?.reference ?? jni$_.jNullReference; + final _$string = string?.reference ?? jni$_.jNullReference; + final _$key = key?.reference ?? jni$_.jNullReference; final _$cs = cs?.reference ?? jni$_.jNullReference; - return _getInstance$3( - _class.reference.pointer, - _id_getInstance$3 as jni$_.JMethodIDPtr, - _$file.pointer, - _$cs.pointer) - .object(const $KeyStore$NullableType()); + final _$certificates = certificates?.reference ?? jni$_.jNullReference; + _setKeyEntry$1( + reference.pointer, + _id_setKeyEntry$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$key.pointer, + _$cs.pointer, + _$certificates.pointer) + .check(); } - static final _id_getInstance$4 = _class.staticMethodId( - r'getInstance', - r'(Ljava/io/File;Ljava/security/KeyStore$LoadStoreParameter;)Ljava/security/KeyStore;', + static final _id_size = _class.instanceMethodId( + r'size', + r'()I', ); - static final _getInstance$4 = jni$_.ProtectedJniExtensions.lookup< + static final _size = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public final int size()` + int size() { + return _size(reference.pointer, _id_size as jni$_.JMethodIDPtr).integer; + } + + static final _id_store = _class.instanceMethodId( + r'store', + r'(Ljava/io/OutputStream;[C)V', + ); + + static final _store = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public final java.security.KeyStore getInstance(java.io.File file, java.security.KeyStore$LoadStoreParameter loadStoreParameter)` - /// The returned object must be released after use, by calling the [release] method. - static KeyStore? getInstance$4( - jni$_.JObject? file, + /// from: `public final void store(java.io.OutputStream outputStream, char[] cs)` + void store( + jni$_.JObject? outputStream, + jni$_.JCharArray? cs, + ) { + final _$outputStream = outputStream?.reference ?? jni$_.jNullReference; + final _$cs = cs?.reference ?? jni$_.jNullReference; + _store(reference.pointer, _id_store as jni$_.JMethodIDPtr, + _$outputStream.pointer, _$cs.pointer) + .check(); + } + + static final _id_store$1 = _class.instanceMethodId( + r'store', + r'(Ljava/security/KeyStore$LoadStoreParameter;)V', + ); + + static final _store$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public final void store(java.security.KeyStore$LoadStoreParameter loadStoreParameter)` + void store$1( KeyStore$LoadStoreParameter? loadStoreParameter, ) { - final _$file = file?.reference ?? jni$_.jNullReference; final _$loadStoreParameter = loadStoreParameter?.reference ?? jni$_.jNullReference; - return _getInstance$4( - _class.reference.pointer, - _id_getInstance$4 as jni$_.JMethodIDPtr, - _$file.pointer, + _store$1(reference.pointer, _id_store$1 as jni$_.JMethodIDPtr, _$loadStoreParameter.pointer) - .object(const $KeyStore$NullableType()); + .check(); } } -final class $KeyStore$NullableType extends jni$_.JObjType { +final class $KeyStore$NullableType$ extends jni$_.JType { @jni$_.internal - const $KeyStore$NullableType(); + const $KeyStore$NullableType$(); @jni$_.internal @core$_.override @@ -22834,29 +23088,29 @@ final class $KeyStore$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$NullableType).hashCode; + int get hashCode => ($KeyStore$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$NullableType) && - other is $KeyStore$NullableType; + return other.runtimeType == ($KeyStore$NullableType$) && + other is $KeyStore$NullableType$; } } -final class $KeyStore$Type extends jni$_.JObjType { +final class $KeyStore$Type$ extends jni$_.JType { @jni$_.internal - const $KeyStore$Type(); + const $KeyStore$Type$(); @jni$_.internal @core$_.override @@ -22869,22 +23123,22 @@ final class $KeyStore$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $KeyStore$NullableType(); + jni$_.JType get nullableType => const $KeyStore$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyStore$Type).hashCode; + int get hashCode => ($KeyStore$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyStore$Type) && other is $KeyStore$Type; + return other.runtimeType == ($KeyStore$Type$) && other is $KeyStore$Type$; } } @@ -22892,7 +23146,7 @@ final class $KeyStore$Type extends jni$_.JObjType { class KeyManager extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyManager.fromReference( @@ -22903,8 +23157,11 @@ class KeyManager extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'javax/net/ssl/KeyManager'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyManager$NullableType(); - static const type = $KeyManager$Type(); + static const jni$_.JType nullableType = + $KeyManager$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $KeyManager$Type$(); /// Maps a specific port to the implemented interface. static final core$_.Map _$impls = {}; @@ -22986,9 +23243,9 @@ final class _$KeyManager with $KeyManager { _$KeyManager(); } -final class $KeyManager$NullableType extends jni$_.JObjType { +final class $KeyManager$NullableType$ extends jni$_.JType { @jni$_.internal - const $KeyManager$NullableType(); + const $KeyManager$NullableType$(); @jni$_.internal @core$_.override @@ -23003,29 +23260,29 @@ final class $KeyManager$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyManager$NullableType).hashCode; + int get hashCode => ($KeyManager$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyManager$NullableType) && - other is $KeyManager$NullableType; + return other.runtimeType == ($KeyManager$NullableType$) && + other is $KeyManager$NullableType$; } } -final class $KeyManager$Type extends jni$_.JObjType { +final class $KeyManager$Type$ extends jni$_.JType { @jni$_.internal - const $KeyManager$Type(); + const $KeyManager$Type$(); @jni$_.internal @core$_.override @@ -23039,23 +23296,24 @@ final class $KeyManager$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyManager$NullableType(); + jni$_.JType get nullableType => + const $KeyManager$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyManager$Type).hashCode; + int get hashCode => ($KeyManager$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyManager$Type) && other is $KeyManager$Type; + return other.runtimeType == ($KeyManager$Type$) && + other is $KeyManager$Type$; } } @@ -23063,7 +23321,7 @@ final class $KeyManager$Type extends jni$_.JObjType { class SecureRandom extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal SecureRandom.fromReference( @@ -23074,8 +23332,11 @@ class SecureRandom extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/SecureRandom'); /// The type which includes information such as the signature of this class. - static const nullableType = $SecureRandom$NullableType(); - static const type = $SecureRandom$Type(); + static const jni$_.JType nullableType = + $SecureRandom$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $SecureRandom$Type$(); static final _id_new$ = _class.constructorId( r'()V', ); @@ -23126,6 +23387,56 @@ class SecureRandom extends jni$_.JObject { .reference); } + static final _id_generateSeed = _class.instanceMethodId( + r'generateSeed', + r'(I)[B', + ); + + static final _generateSeed = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + + /// from: `public byte[] generateSeed(int i)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JByteArray? generateSeed( + int i, + ) { + return _generateSeed( + reference.pointer, _id_generateSeed as jni$_.JMethodIDPtr, i) + .object(const jni$_.$JByteArray$NullableType$()); + } + + static final _id_getAlgorithm = _class.instanceMethodId( + r'getAlgorithm', + r'()Ljava/lang/String;', + ); + + static final _getAlgorithm = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public java.lang.String getAlgorithm()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? getAlgorithm() { + return _getAlgorithm( + reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); + } + static final _id_getInstance = _class.staticMethodId( r'getInstance', r'(Ljava/lang/String;)Ljava/security/SecureRandom;', @@ -23150,7 +23461,7 @@ class SecureRandom extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; return _getInstance(_class.reference.pointer, _id_getInstance as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $SecureRandom$NullableType()); + .object(const $SecureRandom$NullableType$()); } static final _id_getInstance$1 = _class.staticMethodId( @@ -23188,7 +23499,7 @@ class SecureRandom extends jni$_.JObject { _id_getInstance$1 as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $SecureRandom$NullableType()); + .object(const $SecureRandom$NullableType$()); } static final _id_getInstance$2 = _class.staticMethodId( @@ -23226,7 +23537,7 @@ class SecureRandom extends jni$_.JObject { _id_getInstance$2 as jni$_.JMethodIDPtr, _$string.pointer, _$provider.pointer) - .object(const $SecureRandom$NullableType()); + .object(const $SecureRandom$NullableType$()); } static final _id_getInstance$3 = _class.staticMethodId( @@ -23265,7 +23576,7 @@ class SecureRandom extends jni$_.JObject { _id_getInstance$3 as jni$_.JMethodIDPtr, _$string.pointer, _$secureRandomParameters.pointer) - .object(const $SecureRandom$NullableType()); + .object(const $SecureRandom$NullableType$()); } static final _id_getInstance$4 = _class.staticMethodId( @@ -23309,7 +23620,7 @@ class SecureRandom extends jni$_.JObject { _$string.pointer, _$secureRandomParameters.pointer, _$string1.pointer) - .object(const $SecureRandom$NullableType()); + .object(const $SecureRandom$NullableType$()); } static final _id_getInstance$5 = _class.staticMethodId( @@ -23353,81 +23664,32 @@ class SecureRandom extends jni$_.JObject { _$string.pointer, _$secureRandomParameters.pointer, _$provider.pointer) - .object(const $SecureRandom$NullableType()); - } - - static final _id_getProvider = _class.instanceMethodId( - r'getProvider', - r'()Ljava/security/Provider;', - ); - - static final _getProvider = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public final java.security.Provider getProvider()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getProvider() { - return _getProvider( - reference.pointer, _id_getProvider as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_getAlgorithm = _class.instanceMethodId( - r'getAlgorithm', - r'()Ljava/lang/String;', - ); - - static final _getAlgorithm = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public java.lang.String getAlgorithm()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getAlgorithm() { - return _getAlgorithm( - reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const $SecureRandom$NullableType$()); } - static final _id_toString$1 = _class.instanceMethodId( - r'toString', - r'()Ljava/lang/String;', + static final _id_getInstanceStrong = _class.staticMethodId( + r'getInstanceStrong', + r'()Ljava/security/SecureRandom;', ); - static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< + static final _getInstanceStrong = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `public java.lang.String toString()` + /// from: `static public java.security.SecureRandom getInstanceStrong()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? toString$1() { - return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + static SecureRandom? getInstanceStrong() { + return _getInstanceStrong(_class.reference.pointer, + _id_getInstanceStrong as jni$_.JMethodIDPtr) + .object(const $SecureRandom$NullableType$()); } static final _id_getParameters = _class.instanceMethodId( @@ -23452,55 +23714,56 @@ class SecureRandom extends jni$_.JObject { jni$_.JObject? getParameters() { return _getParameters( reference.pointer, _id_getParameters as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } - static final _id_setSeed = _class.instanceMethodId( - r'setSeed', - r'([B)V', + static final _id_getProvider = _class.instanceMethodId( + r'getProvider', + r'()Ljava/security/Provider;', ); - static final _setSeed = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + static final _getProvider = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); - /// from: `public void setSeed(byte[] bs)` - void setSeed( - jni$_.JByteArray? bs, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - _setSeed(reference.pointer, _id_setSeed as jni$_.JMethodIDPtr, _$bs.pointer) - .check(); + /// from: `public final java.security.Provider getProvider()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? getProvider() { + return _getProvider( + reference.pointer, _id_getProvider as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_setSeed$1 = _class.instanceMethodId( - r'setSeed', - r'(J)V', + static final _id_getSeed = _class.staticMethodId( + r'getSeed', + r'(I)[B', ); - static final _setSeed$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallVoidMethod') + static final _getSeed = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - /// from: `public void setSeed(long j)` - void setSeed$1( - int j, + /// from: `static public byte[] getSeed(int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JByteArray? getSeed( + int i, ) { - _setSeed$1(reference.pointer, _id_setSeed$1 as jni$_.JMethodIDPtr, j) - .check(); + return _getSeed( + _class.reference.pointer, _id_getSeed as jni$_.JMethodIDPtr, i) + .object(const jni$_.$JByteArray$NullableType$()); } static final _id_nextBytes = _class.instanceMethodId( @@ -23564,80 +23827,6 @@ class SecureRandom extends jni$_.JObject { .check(); } - static final _id_getSeed = _class.staticMethodId( - r'getSeed', - r'(I)[B', - ); - - static final _getSeed = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - - /// from: `static public byte[] getSeed(int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JByteArray? getSeed( - int i, - ) { - return _getSeed( - _class.reference.pointer, _id_getSeed as jni$_.JMethodIDPtr, i) - .object(const jni$_.JByteArrayNullableType()); - } - - static final _id_generateSeed = _class.instanceMethodId( - r'generateSeed', - r'(I)[B', - ); - - static final _generateSeed = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); - - /// from: `public byte[] generateSeed(int i)` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JByteArray? generateSeed( - int i, - ) { - return _generateSeed( - reference.pointer, _id_generateSeed as jni$_.JMethodIDPtr, i) - .object(const jni$_.JByteArrayNullableType()); - } - - static final _id_getInstanceStrong = _class.staticMethodId( - r'getInstanceStrong', - r'()Ljava/security/SecureRandom;', - ); - - static final _getInstanceStrong = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `static public java.security.SecureRandom getInstanceStrong()` - /// The returned object must be released after use, by calling the [release] method. - static SecureRandom? getInstanceStrong() { - return _getInstanceStrong(_class.reference.pointer, - _id_getInstanceStrong as jni$_.JMethodIDPtr) - .object(const $SecureRandom$NullableType()); - } - static final _id_reseed = _class.instanceMethodId( r'reseed', r'()V', @@ -23686,11 +23875,83 @@ class SecureRandom extends jni$_.JObject { _$secureRandomParameters.pointer) .check(); } + + static final _id_setSeed = _class.instanceMethodId( + r'setSeed', + r'([B)V', + ); + + static final _setSeed = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public void setSeed(byte[] bs)` + void setSeed( + jni$_.JByteArray? bs, + ) { + final _$bs = bs?.reference ?? jni$_.jNullReference; + _setSeed(reference.pointer, _id_setSeed as jni$_.JMethodIDPtr, _$bs.pointer) + .check(); + } + + static final _id_setSeed$1 = _class.instanceMethodId( + r'setSeed', + r'(J)V', + ); + + static final _setSeed$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + + /// from: `public void setSeed(long j)` + void setSeed$1( + int j, + ) { + _setSeed$1(reference.pointer, _id_setSeed$1 as jni$_.JMethodIDPtr, j) + .check(); + } + + static final _id_toString$1 = _class.instanceMethodId( + r'toString', + r'()Ljava/lang/String;', + ); + + static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public java.lang.String toString()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? toString$1() { + return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); + } } -final class $SecureRandom$NullableType extends jni$_.JObjType { +final class $SecureRandom$NullableType$ extends jni$_.JType { @jni$_.internal - const $SecureRandom$NullableType(); + const $SecureRandom$NullableType$(); @jni$_.internal @core$_.override @@ -23705,29 +23966,29 @@ final class $SecureRandom$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($SecureRandom$NullableType).hashCode; + int get hashCode => ($SecureRandom$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($SecureRandom$NullableType) && - other is $SecureRandom$NullableType; + return other.runtimeType == ($SecureRandom$NullableType$) && + other is $SecureRandom$NullableType$; } } -final class $SecureRandom$Type extends jni$_.JObjType { +final class $SecureRandom$Type$ extends jni$_.JType { @jni$_.internal - const $SecureRandom$Type(); + const $SecureRandom$Type$(); @jni$_.internal @core$_.override @@ -23741,24 +24002,24 @@ final class $SecureRandom$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $SecureRandom$NullableType(); + jni$_.JType get nullableType => + const $SecureRandom$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($SecureRandom$Type).hashCode; + int get hashCode => ($SecureRandom$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($SecureRandom$Type) && - other is $SecureRandom$Type; + return other.runtimeType == ($SecureRandom$Type$) && + other is $SecureRandom$Type$; } } @@ -23766,7 +24027,7 @@ final class $SecureRandom$Type extends jni$_.JObjType { class X509KeyManager extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal X509KeyManager.fromReference( @@ -23777,48 +24038,11 @@ class X509KeyManager extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'javax/net/ssl/X509KeyManager'); /// The type which includes information such as the signature of this class. - static const nullableType = $X509KeyManager$NullableType(); - static const type = $X509KeyManager$Type(); - static final _id_getClientAliases = _class.instanceMethodId( - r'getClientAliases', - r'(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;', - ); - - static final _getClientAliases = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); - - /// from: `public abstract java.lang.String[] getClientAliases(java.lang.String string, java.security.Principal[] principals)` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getClientAliases( - jni$_.JString? string, - jni$_.JArray? principals, - ) { - final _$string = string?.reference ?? jni$_.jNullReference; - final _$principals = principals?.reference ?? jni$_.jNullReference; - return _getClientAliases( - reference.pointer, - _id_getClientAliases as jni$_.JMethodIDPtr, - _$string.pointer, - _$principals.pointer) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JStringNullableType())); - } + static const jni$_.JType nullableType = + $X509KeyManager$NullableType$(); + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $X509KeyManager$Type$(); static final _id_chooseClientAlias = _class.instanceMethodId( r'chooseClientAlias', r'([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;', @@ -23859,47 +24083,7 @@ class X509KeyManager extends jni$_.JObject { _$strings.pointer, _$principals.pointer, _$socket.pointer) - .object(const jni$_.JStringNullableType()); - } - - static final _id_getServerAliases = _class.instanceMethodId( - r'getServerAliases', - r'(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;', - ); - - static final _getServerAliases = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); - - /// from: `public abstract java.lang.String[] getServerAliases(java.lang.String string, java.security.Principal[] principals)` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getServerAliases( - jni$_.JString? string, - jni$_.JArray? principals, - ) { - final _$string = string?.reference ?? jni$_.jNullReference; - final _$principals = principals?.reference ?? jni$_.jNullReference; - return _getServerAliases( - reference.pointer, - _id_getServerAliases as jni$_.JMethodIDPtr, - _$string.pointer, - _$principals.pointer) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JStringNullableType())); + .object(const jni$_.$JString$NullableType$()); } static final _id_chooseServerAlias = _class.instanceMethodId( @@ -23942,7 +24126,7 @@ class X509KeyManager extends jni$_.JObject { _$string.pointer, _$principals.pointer, _$socket.pointer) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getCertificateChain = _class.instanceMethodId( @@ -23970,8 +24154,48 @@ class X509KeyManager extends jni$_.JObject { return _getCertificateChain(reference.pointer, _id_getCertificateChain as jni$_.JMethodIDPtr, _$string.pointer) .object?>( - const jni$_.JArrayNullableType( - $X509Certificate$NullableType())); + const jni$_.$JArray$NullableType$( + $X509Certificate$NullableType$())); + } + + static final _id_getClientAliases = _class.instanceMethodId( + r'getClientAliases', + r'(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;', + ); + + static final _getClientAliases = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `public abstract java.lang.String[] getClientAliases(java.lang.String string, java.security.Principal[] principals)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getClientAliases( + jni$_.JString? string, + jni$_.JArray? principals, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$principals = principals?.reference ?? jni$_.jNullReference; + return _getClientAliases( + reference.pointer, + _id_getClientAliases as jni$_.JMethodIDPtr, + _$string.pointer, + _$principals.pointer) + .object?>( + const jni$_.$JArray$NullableType$( + jni$_.$JString$NullableType$())); } static final _id_getPrivateKey = _class.instanceMethodId( @@ -23998,7 +24222,47 @@ class X509KeyManager extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; return _getPrivateKey(reference.pointer, _id_getPrivateKey as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $PrivateKey$NullableType()); + .object(const $PrivateKey$NullableType$()); + } + + static final _id_getServerAliases = _class.instanceMethodId( + r'getServerAliases', + r'(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;', + ); + + static final _getServerAliases = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `public abstract java.lang.String[] getServerAliases(java.lang.String string, java.security.Principal[] principals)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getServerAliases( + jni$_.JString? string, + jni$_.JArray? principals, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$principals = principals?.reference ?? jni$_.jNullReference; + return _getServerAliases( + reference.pointer, + _id_getServerAliases as jni$_.JMethodIDPtr, + _$string.pointer, + _$principals.pointer) + .object?>( + const jni$_.$JArray$NullableType$( + jni$_.$JString$NullableType$())); } /// Maps a specific port to the implemented interface. @@ -24032,88 +24296,88 @@ class X509KeyManager extends jni$_.JObject { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; if ($d == - r'getClientAliases(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;') { - final $r = _$impls[$p]!.getClientAliases( - $a![0]?.as(const jni$_.JStringType(), releaseOriginal: true), + r'chooseClientAlias([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;') { + final $r = _$impls[$p]!.chooseClientAlias( + $a![0]?.as( + const jni$_.$JArray$Type$( + jni$_.$JString$NullableType$()), + releaseOriginal: true), $a![1]?.as( - const jni$_.JArrayType( - jni$_.JObjectNullableType()), + const jni$_.$JArray$Type$( + jni$_.$JObject$NullableType$()), releaseOriginal: true), + $a![2]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } if ($d == - r'chooseClientAlias([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;') { - final $r = _$impls[$p]!.chooseClientAlias( - $a![0]?.as( - const jni$_.JArrayType( - jni$_.JStringNullableType()), - releaseOriginal: true), + r'chooseServerAlias(Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;') { + final $r = _$impls[$p]!.chooseServerAlias( + $a![0]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), $a![1]?.as( - const jni$_.JArrayType( - jni$_.JObjectNullableType()), + const jni$_.$JArray$Type$( + jni$_.$JObject$NullableType$()), releaseOriginal: true), - $a![2]?.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![2]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } if ($d == - r'getServerAliases(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;') { - final $r = _$impls[$p]!.getServerAliases( - $a![0]?.as(const jni$_.JStringType(), releaseOriginal: true), - $a![1]?.as( - const jni$_.JArrayType( - jni$_.JObjectNullableType()), - releaseOriginal: true), + r'getCertificateChain(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;') { + final $r = _$impls[$p]!.getCertificateChain( + $a![0]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } if ($d == - r'chooseServerAlias(Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;') { - final $r = _$impls[$p]!.chooseServerAlias( - $a![0]?.as(const jni$_.JStringType(), releaseOriginal: true), + r'getClientAliases(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;') { + final $r = _$impls[$p]!.getClientAliases( + $a![0]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), $a![1]?.as( - const jni$_.JArrayType( - jni$_.JObjectNullableType()), + const jni$_.$JArray$Type$( + jni$_.$JObject$NullableType$()), releaseOriginal: true), - $a![2]?.as(const jni$_.JObjectType(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } if ($d == - r'getCertificateChain(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;') { - final $r = _$impls[$p]!.getCertificateChain( - $a![0]?.as(const jni$_.JStringType(), releaseOriginal: true), + r'getPrivateKey(Ljava/lang/String;)Ljava/security/PrivateKey;') { + final $r = _$impls[$p]!.getPrivateKey( + $a![0]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } if ($d == - r'getPrivateKey(Ljava/lang/String;)Ljava/security/PrivateKey;') { - final $r = _$impls[$p]!.getPrivateKey( - $a![0]?.as(const jni$_.JStringType(), releaseOriginal: true), + r'getServerAliases(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;') { + final $r = _$impls[$p]!.getServerAliases( + $a![0]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), + $a![1]?.as( + const jni$_.$JArray$Type$( + jni$_.$JObject$NullableType$()), + releaseOriginal: true), ); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -24162,92 +24426,82 @@ class X509KeyManager extends jni$_.JObject { abstract base mixin class $X509KeyManager { factory $X509KeyManager({ - required jni$_.JArray? Function( - jni$_.JString? string, jni$_.JArray? principals) - getClientAliases, required jni$_.JString? Function(jni$_.JArray? strings, jni$_.JArray? principals, jni$_.JObject? socket) chooseClientAlias, - required jni$_.JArray? Function( - jni$_.JString? string, jni$_.JArray? principals) - getServerAliases, required jni$_.JString? Function(jni$_.JString? string, jni$_.JArray? principals, jni$_.JObject? socket) chooseServerAlias, required jni$_.JArray? Function(jni$_.JString? string) getCertificateChain, + required jni$_.JArray? Function( + jni$_.JString? string, jni$_.JArray? principals) + getClientAliases, required PrivateKey? Function(jni$_.JString? string) getPrivateKey, + required jni$_.JArray? Function( + jni$_.JString? string, jni$_.JArray? principals) + getServerAliases, }) = _$X509KeyManager; - jni$_.JArray? getClientAliases( - jni$_.JString? string, jni$_.JArray? principals); jni$_.JString? chooseClientAlias(jni$_.JArray? strings, jni$_.JArray? principals, jni$_.JObject? socket); - jni$_.JArray? getServerAliases( - jni$_.JString? string, jni$_.JArray? principals); jni$_.JString? chooseServerAlias(jni$_.JString? string, jni$_.JArray? principals, jni$_.JObject? socket); jni$_.JArray? getCertificateChain(jni$_.JString? string); + jni$_.JArray? getClientAliases( + jni$_.JString? string, jni$_.JArray? principals); PrivateKey? getPrivateKey(jni$_.JString? string); + jni$_.JArray? getServerAliases( + jni$_.JString? string, jni$_.JArray? principals); } final class _$X509KeyManager with $X509KeyManager { _$X509KeyManager({ - required jni$_.JArray? Function( - jni$_.JString? string, jni$_.JArray? principals) - getClientAliases, required jni$_.JString? Function(jni$_.JArray? strings, jni$_.JArray? principals, jni$_.JObject? socket) chooseClientAlias, - required jni$_.JArray? Function( - jni$_.JString? string, jni$_.JArray? principals) - getServerAliases, required jni$_.JString? Function(jni$_.JString? string, jni$_.JArray? principals, jni$_.JObject? socket) chooseServerAlias, required jni$_.JArray? Function(jni$_.JString? string) getCertificateChain, + required jni$_.JArray? Function( + jni$_.JString? string, jni$_.JArray? principals) + getClientAliases, required PrivateKey? Function(jni$_.JString? string) getPrivateKey, - }) : _getClientAliases = getClientAliases, - _chooseClientAlias = chooseClientAlias, - _getServerAliases = getServerAliases, + required jni$_.JArray? Function( + jni$_.JString? string, jni$_.JArray? principals) + getServerAliases, + }) : _chooseClientAlias = chooseClientAlias, _chooseServerAlias = chooseServerAlias, _getCertificateChain = getCertificateChain, - _getPrivateKey = getPrivateKey; + _getClientAliases = getClientAliases, + _getPrivateKey = getPrivateKey, + _getServerAliases = getServerAliases; - final jni$_.JArray? Function( - jni$_.JString? string, jni$_.JArray? principals) - _getClientAliases; final jni$_.JString? Function( jni$_.JArray? strings, jni$_.JArray? principals, jni$_.JObject? socket) _chooseClientAlias; - final jni$_.JArray? Function( - jni$_.JString? string, jni$_.JArray? principals) - _getServerAliases; final jni$_.JString? Function( jni$_.JString? string, jni$_.JArray? principals, jni$_.JObject? socket) _chooseServerAlias; final jni$_.JArray? Function(jni$_.JString? string) _getCertificateChain; + final jni$_.JArray? Function( + jni$_.JString? string, jni$_.JArray? principals) + _getClientAliases; final PrivateKey? Function(jni$_.JString? string) _getPrivateKey; - - jni$_.JArray? getClientAliases( - jni$_.JString? string, jni$_.JArray? principals) { - return _getClientAliases(string, principals); - } + final jni$_.JArray? Function( + jni$_.JString? string, jni$_.JArray? principals) + _getServerAliases; jni$_.JString? chooseClientAlias(jni$_.JArray? strings, jni$_.JArray? principals, jni$_.JObject? socket) { return _chooseClientAlias(strings, principals, socket); } - jni$_.JArray? getServerAliases( - jni$_.JString? string, jni$_.JArray? principals) { - return _getServerAliases(string, principals); - } - jni$_.JString? chooseServerAlias(jni$_.JString? string, jni$_.JArray? principals, jni$_.JObject? socket) { return _chooseServerAlias(string, principals, socket); @@ -24257,15 +24511,24 @@ final class _$X509KeyManager with $X509KeyManager { return _getCertificateChain(string); } + jni$_.JArray? getClientAliases( + jni$_.JString? string, jni$_.JArray? principals) { + return _getClientAliases(string, principals); + } + PrivateKey? getPrivateKey(jni$_.JString? string) { return _getPrivateKey(string); } + + jni$_.JArray? getServerAliases( + jni$_.JString? string, jni$_.JArray? principals) { + return _getServerAliases(string, principals); + } } -final class $X509KeyManager$NullableType - extends jni$_.JObjType { +final class $X509KeyManager$NullableType$ extends jni$_.JType { @jni$_.internal - const $X509KeyManager$NullableType(); + const $X509KeyManager$NullableType$(); @jni$_.internal @core$_.override @@ -24280,29 +24543,29 @@ final class $X509KeyManager$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($X509KeyManager$NullableType).hashCode; + int get hashCode => ($X509KeyManager$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($X509KeyManager$NullableType) && - other is $X509KeyManager$NullableType; + return other.runtimeType == ($X509KeyManager$NullableType$) && + other is $X509KeyManager$NullableType$; } } -final class $X509KeyManager$Type extends jni$_.JObjType { +final class $X509KeyManager$Type$ extends jni$_.JType { @jni$_.internal - const $X509KeyManager$Type(); + const $X509KeyManager$Type$(); @jni$_.internal @core$_.override @@ -24316,24 +24579,24 @@ final class $X509KeyManager$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $X509KeyManager$NullableType(); + jni$_.JType get nullableType => + const $X509KeyManager$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($X509KeyManager$Type).hashCode; + int get hashCode => ($X509KeyManager$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($X509KeyManager$Type) && - other is $X509KeyManager$Type; + return other.runtimeType == ($X509KeyManager$Type$) && + other is $X509KeyManager$Type$; } } @@ -24341,7 +24604,7 @@ final class $X509KeyManager$Type extends jni$_.JObjType { class X509ExtendedKeyManager extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal X509ExtendedKeyManager.fromReference( @@ -24353,8 +24616,12 @@ class X509ExtendedKeyManager extends jni$_.JObject { jni$_.JClass.forName(r'javax/net/ssl/X509ExtendedKeyManager'); /// The type which includes information such as the signature of this class. - static const nullableType = $X509ExtendedKeyManager$NullableType(); - static const type = $X509ExtendedKeyManager$Type(); + static const jni$_.JType nullableType = + $X509ExtendedKeyManager$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $X509ExtendedKeyManager$Type$(); static final _id_chooseEngineClientAlias = _class.instanceMethodId( r'chooseEngineClientAlias', r'([Ljava/lang/String;[Ljava/security/Principal;Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;', @@ -24395,7 +24662,7 @@ class X509ExtendedKeyManager extends jni$_.JObject { _$strings.pointer, _$principals.pointer, _$sSLEngine.pointer) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_chooseEngineServerAlias = _class.instanceMethodId( @@ -24438,53 +24705,275 @@ class X509ExtendedKeyManager extends jni$_.JObject { _$string.pointer, _$principals.pointer, _$sSLEngine.pointer) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } -} - -final class $X509ExtendedKeyManager$NullableType - extends jni$_.JObjType { - @jni$_.internal - const $X509ExtendedKeyManager$NullableType(); - - @jni$_.internal - @core$_.override - String get signature => r'Ljavax/net/ssl/X509ExtendedKeyManager;'; - - @jni$_.internal - @core$_.override - X509ExtendedKeyManager? fromReference(jni$_.JReference reference) => - reference.isNull - ? null - : X509ExtendedKeyManager.fromReference( - reference, - ); - @jni$_.internal - @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); - - @jni$_.internal - @core$_.override - jni$_.JObjType get nullableType => this; - @jni$_.internal - @core$_.override - final superCount = 1; - - @core$_.override - int get hashCode => ($X509ExtendedKeyManager$NullableType).hashCode; + static final _id_chooseClientAlias = _class.instanceMethodId( + r'chooseClientAlias', + r'([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;', + ); - @core$_.override - bool operator ==(Object other) { - return other.runtimeType == ($X509ExtendedKeyManager$NullableType) && - other is $X509ExtendedKeyManager$NullableType; - } -} + static final _chooseClientAlias = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); -final class $X509ExtendedKeyManager$Type - extends jni$_.JObjType { - @jni$_.internal - const $X509ExtendedKeyManager$Type(); + /// from: `public abstract java.lang.String chooseClientAlias(java.lang.String[] strings, java.security.Principal[] principals, java.net.Socket socket)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? chooseClientAlias( + jni$_.JArray? strings, + jni$_.JArray? principals, + jni$_.JObject? socket, + ) { + final _$strings = strings?.reference ?? jni$_.jNullReference; + final _$principals = principals?.reference ?? jni$_.jNullReference; + final _$socket = socket?.reference ?? jni$_.jNullReference; + return _chooseClientAlias( + reference.pointer, + _id_chooseClientAlias as jni$_.JMethodIDPtr, + _$strings.pointer, + _$principals.pointer, + _$socket.pointer) + .object(const jni$_.$JString$NullableType$()); + } + + static final _id_chooseServerAlias = _class.instanceMethodId( + r'chooseServerAlias', + r'(Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;', + ); + + static final _chooseServerAlias = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `public abstract java.lang.String chooseServerAlias(java.lang.String string, java.security.Principal[] principals, java.net.Socket socket)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? chooseServerAlias( + jni$_.JString? string, + jni$_.JArray? principals, + jni$_.JObject? socket, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$principals = principals?.reference ?? jni$_.jNullReference; + final _$socket = socket?.reference ?? jni$_.jNullReference; + return _chooseServerAlias( + reference.pointer, + _id_chooseServerAlias as jni$_.JMethodIDPtr, + _$string.pointer, + _$principals.pointer, + _$socket.pointer) + .object(const jni$_.$JString$NullableType$()); + } + + static final _id_getCertificateChain = _class.instanceMethodId( + r'getCertificateChain', + r'(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;', + ); + + static final _getCertificateChain = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public abstract java.security.cert.X509Certificate[] getCertificateChain(java.lang.String string)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getCertificateChain( + jni$_.JString? string, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + return _getCertificateChain(reference.pointer, + _id_getCertificateChain as jni$_.JMethodIDPtr, _$string.pointer) + .object?>( + const jni$_.$JArray$NullableType$( + $X509Certificate$NullableType$())); + } + + static final _id_getClientAliases = _class.instanceMethodId( + r'getClientAliases', + r'(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;', + ); + + static final _getClientAliases = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `public abstract java.lang.String[] getClientAliases(java.lang.String string, java.security.Principal[] principals)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getClientAliases( + jni$_.JString? string, + jni$_.JArray? principals, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$principals = principals?.reference ?? jni$_.jNullReference; + return _getClientAliases( + reference.pointer, + _id_getClientAliases as jni$_.JMethodIDPtr, + _$string.pointer, + _$principals.pointer) + .object?>( + const jni$_.$JArray$NullableType$( + jni$_.$JString$NullableType$())); + } + + static final _id_getPrivateKey = _class.instanceMethodId( + r'getPrivateKey', + r'(Ljava/lang/String;)Ljava/security/PrivateKey;', + ); + + static final _getPrivateKey = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `public abstract java.security.PrivateKey getPrivateKey(java.lang.String string)` + /// The returned object must be released after use, by calling the [release] method. + PrivateKey? getPrivateKey( + jni$_.JString? string, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + return _getPrivateKey(reference.pointer, + _id_getPrivateKey as jni$_.JMethodIDPtr, _$string.pointer) + .object(const $PrivateKey$NullableType$()); + } + + static final _id_getServerAliases = _class.instanceMethodId( + r'getServerAliases', + r'(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;', + ); + + static final _getServerAliases = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `public abstract java.lang.String[] getServerAliases(java.lang.String string, java.security.Principal[] principals)` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getServerAliases( + jni$_.JString? string, + jni$_.JArray? principals, + ) { + final _$string = string?.reference ?? jni$_.jNullReference; + final _$principals = principals?.reference ?? jni$_.jNullReference; + return _getServerAliases( + reference.pointer, + _id_getServerAliases as jni$_.JMethodIDPtr, + _$string.pointer, + _$principals.pointer) + .object?>( + const jni$_.$JArray$NullableType$( + jni$_.$JString$NullableType$())); + } +} + +final class $X509ExtendedKeyManager$NullableType$ + extends jni$_.JType { + @jni$_.internal + const $X509ExtendedKeyManager$NullableType$(); + + @jni$_.internal + @core$_.override + String get signature => r'Ljavax/net/ssl/X509ExtendedKeyManager;'; + + @jni$_.internal + @core$_.override + X509ExtendedKeyManager? fromReference(jni$_.JReference reference) => + reference.isNull + ? null + : X509ExtendedKeyManager.fromReference( + reference, + ); + @jni$_.internal + @core$_.override + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); + + @jni$_.internal + @core$_.override + jni$_.JType get nullableType => this; + + @jni$_.internal + @core$_.override + final superCount = 1; + + @core$_.override + int get hashCode => ($X509ExtendedKeyManager$NullableType$).hashCode; + + @core$_.override + bool operator ==(Object other) { + return other.runtimeType == ($X509ExtendedKeyManager$NullableType$) && + other is $X509ExtendedKeyManager$NullableType$; + } +} + +final class $X509ExtendedKeyManager$Type$ + extends jni$_.JType { + @jni$_.internal + const $X509ExtendedKeyManager$Type$(); @jni$_.internal @core$_.override @@ -24498,24 +24987,24 @@ final class $X509ExtendedKeyManager$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $X509ExtendedKeyManager$NullableType(); + jni$_.JType get nullableType => + const $X509ExtendedKeyManager$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($X509ExtendedKeyManager$Type).hashCode; + int get hashCode => ($X509ExtendedKeyManager$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($X509ExtendedKeyManager$Type) && - other is $X509ExtendedKeyManager$Type; + return other.runtimeType == ($X509ExtendedKeyManager$Type$) && + other is $X509ExtendedKeyManager$Type$; } } @@ -24523,7 +25012,7 @@ final class $X509ExtendedKeyManager$Type class HostnameVerifier extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal HostnameVerifier.fromReference( @@ -24534,8 +25023,11 @@ class HostnameVerifier extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'javax/net/ssl/HostnameVerifier'); /// The type which includes information such as the signature of this class. - static const nullableType = $HostnameVerifier$NullableType(); - static const type = $HostnameVerifier$Type(); + static const jni$_.JType nullableType = + $HostnameVerifier$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $HostnameVerifier$Type$(); static final _id_verify = _class.instanceMethodId( r'verify', r'(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z', @@ -24602,8 +25094,8 @@ class HostnameVerifier extends jni$_.JObject { final $a = $i.args; if ($d == r'verify(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z') { final $r = _$impls[$p]!.verify( - $a![0]?.as(const jni$_.JStringType(), releaseOriginal: true), - $a![1]?.as(const jni$_.JObjectType(), releaseOriginal: true), + $a![0]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), + $a![1]?.as(const jni$_.$JObject$Type$(), releaseOriginal: true), ); return jni$_.JBoolean($r).reference.toPointer(); } @@ -24671,10 +25163,10 @@ final class _$HostnameVerifier with $HostnameVerifier { } } -final class $HostnameVerifier$NullableType - extends jni$_.JObjType { +final class $HostnameVerifier$NullableType$ + extends jni$_.JType { @jni$_.internal - const $HostnameVerifier$NullableType(); + const $HostnameVerifier$NullableType$(); @jni$_.internal @core$_.override @@ -24690,29 +25182,29 @@ final class $HostnameVerifier$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($HostnameVerifier$NullableType).hashCode; + int get hashCode => ($HostnameVerifier$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($HostnameVerifier$NullableType) && - other is $HostnameVerifier$NullableType; + return other.runtimeType == ($HostnameVerifier$NullableType$) && + other is $HostnameVerifier$NullableType$; } } -final class $HostnameVerifier$Type extends jni$_.JObjType { +final class $HostnameVerifier$Type$ extends jni$_.JType { @jni$_.internal - const $HostnameVerifier$Type(); + const $HostnameVerifier$Type$(); @jni$_.internal @core$_.override @@ -24726,24 +25218,24 @@ final class $HostnameVerifier$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $HostnameVerifier$NullableType(); + jni$_.JType get nullableType => + const $HostnameVerifier$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($HostnameVerifier$Type).hashCode; + int get hashCode => ($HostnameVerifier$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($HostnameVerifier$Type) && - other is $HostnameVerifier$Type; + return other.runtimeType == ($HostnameVerifier$Type$) && + other is $HostnameVerifier$Type$; } } @@ -24751,7 +25243,7 @@ final class $HostnameVerifier$Type extends jni$_.JObjType { class X509Certificate extends Certificate { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal X509Certificate.fromReference( @@ -24763,8 +25255,11 @@ class X509Certificate extends Certificate { jni$_.JClass.forName(r'java/security/cert/X509Certificate'); /// The type which includes information such as the signature of this class. - static const nullableType = $X509Certificate$NullableType(); - static const type = $X509Certificate$Type(); + static const jni$_.JType nullableType = + $X509Certificate$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $X509Certificate$Type$(); static final _id_checkValidity = _class.instanceMethodId( r'checkValidity', r'()V', @@ -24814,12 +25309,12 @@ class X509Certificate extends Certificate { .check(); } - static final _id_getVersion = _class.instanceMethodId( - r'getVersion', + static final _id_getBasicConstraints = _class.instanceMethodId( + r'getBasicConstraints', r'()I', ); - static final _getVersion = jni$_.ProtectedJniExtensions.lookup< + static final _getBasicConstraints = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -24831,18 +25326,19 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract int getVersion()` - int getVersion() { - return _getVersion(reference.pointer, _id_getVersion as jni$_.JMethodIDPtr) + /// from: `public abstract int getBasicConstraints()` + int getBasicConstraints() { + return _getBasicConstraints( + reference.pointer, _id_getBasicConstraints as jni$_.JMethodIDPtr) .integer; } - static final _id_getSerialNumber = _class.instanceMethodId( - r'getSerialNumber', - r'()Ljava/math/BigInteger;', + static final _id_getExtendedKeyUsage = _class.instanceMethodId( + r'getExtendedKeyUsage', + r'()Ljava/util/List;', ); - static final _getSerialNumber = jni$_.ProtectedJniExtensions.lookup< + static final _getExtendedKeyUsage = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -24854,20 +25350,22 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract java.math.BigInteger getSerialNumber()` + /// from: `public java.util.List getExtendedKeyUsage()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSerialNumber() { - return _getSerialNumber( - reference.pointer, _id_getSerialNumber as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JList? getExtendedKeyUsage() { + return _getExtendedKeyUsage( + reference.pointer, _id_getExtendedKeyUsage as jni$_.JMethodIDPtr) + .object?>( + const jni$_.$JList$NullableType$( + jni$_.$JString$NullableType$())); } - static final _id_getIssuerDN = _class.instanceMethodId( - r'getIssuerDN', - r'()Ljava/security/Principal;', + static final _id_getIssuerAlternativeNames = _class.instanceMethodId( + r'getIssuerAlternativeNames', + r'()Ljava/util/Collection;', ); - static final _getIssuerDN = jni$_.ProtectedJniExtensions.lookup< + static final _getIssuerAlternativeNames = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -24879,20 +25377,20 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract java.security.Principal getIssuerDN()` + /// from: `public java.util.Collection> getIssuerAlternativeNames()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getIssuerDN() { - return _getIssuerDN( - reference.pointer, _id_getIssuerDN as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JObject? getIssuerAlternativeNames() { + return _getIssuerAlternativeNames(reference.pointer, + _id_getIssuerAlternativeNames as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getIssuerX500Principal = _class.instanceMethodId( - r'getIssuerX500Principal', - r'()Ljavax/security/auth/x500/X500Principal;', + static final _id_getIssuerDN = _class.instanceMethodId( + r'getIssuerDN', + r'()Ljava/security/Principal;', ); - static final _getIssuerX500Principal = jni$_.ProtectedJniExtensions.lookup< + static final _getIssuerDN = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -24904,20 +25402,20 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public javax.security.auth.x500.X500Principal getIssuerX500Principal()` + /// from: `public abstract java.security.Principal getIssuerDN()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getIssuerX500Principal() { - return _getIssuerX500Principal( - reference.pointer, _id_getIssuerX500Principal as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JObject? getIssuerDN() { + return _getIssuerDN( + reference.pointer, _id_getIssuerDN as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getSubjectDN = _class.instanceMethodId( - r'getSubjectDN', - r'()Ljava/security/Principal;', + static final _id_getIssuerUniqueID = _class.instanceMethodId( + r'getIssuerUniqueID', + r'()[Z', ); - static final _getSubjectDN = jni$_.ProtectedJniExtensions.lookup< + static final _getIssuerUniqueID = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -24929,20 +25427,21 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract java.security.Principal getSubjectDN()` + /// from: `public abstract boolean[] getIssuerUniqueID()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSubjectDN() { - return _getSubjectDN( - reference.pointer, _id_getSubjectDN as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JBooleanArray? getIssuerUniqueID() { + return _getIssuerUniqueID( + reference.pointer, _id_getIssuerUniqueID as jni$_.JMethodIDPtr) + .object( + const jni$_.$JBooleanArray$NullableType$()); } - static final _id_getSubjectX500Principal = _class.instanceMethodId( - r'getSubjectX500Principal', + static final _id_getIssuerX500Principal = _class.instanceMethodId( + r'getIssuerX500Principal', r'()Ljavax/security/auth/x500/X500Principal;', ); - static final _getSubjectX500Principal = jni$_.ProtectedJniExtensions.lookup< + static final _getIssuerX500Principal = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -24954,20 +25453,20 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public javax.security.auth.x500.X500Principal getSubjectX500Principal()` + /// from: `public javax.security.auth.x500.X500Principal getIssuerX500Principal()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSubjectX500Principal() { - return _getSubjectX500Principal(reference.pointer, - _id_getSubjectX500Principal as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JObject? getIssuerX500Principal() { + return _getIssuerX500Principal( + reference.pointer, _id_getIssuerX500Principal as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getNotBefore = _class.instanceMethodId( - r'getNotBefore', - r'()Ljava/util/Date;', + static final _id_getKeyUsage = _class.instanceMethodId( + r'getKeyUsage', + r'()[Z', ); - static final _getNotBefore = jni$_.ProtectedJniExtensions.lookup< + static final _getKeyUsage = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -24979,12 +25478,13 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract java.util.Date getNotBefore()` + /// from: `public abstract boolean[] getKeyUsage()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getNotBefore() { - return _getNotBefore( - reference.pointer, _id_getNotBefore as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JBooleanArray? getKeyUsage() { + return _getKeyUsage( + reference.pointer, _id_getKeyUsage as jni$_.JMethodIDPtr) + .object( + const jni$_.$JBooleanArray$NullableType$()); } static final _id_getNotAfter = _class.instanceMethodId( @@ -25009,15 +25509,15 @@ class X509Certificate extends Certificate { jni$_.JObject? getNotAfter() { return _getNotAfter( reference.pointer, _id_getNotAfter as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getTBSCertificate = _class.instanceMethodId( - r'getTBSCertificate', - r'()[B', + static final _id_getNotBefore = _class.instanceMethodId( + r'getNotBefore', + r'()Ljava/util/Date;', ); - static final _getTBSCertificate = jni$_.ProtectedJniExtensions.lookup< + static final _getNotBefore = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -25029,20 +25529,20 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract byte[] getTBSCertificate()` + /// from: `public abstract java.util.Date getNotBefore()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JByteArray? getTBSCertificate() { - return _getTBSCertificate( - reference.pointer, _id_getTBSCertificate as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayNullableType()); + jni$_.JObject? getNotBefore() { + return _getNotBefore( + reference.pointer, _id_getNotBefore as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getSignature = _class.instanceMethodId( - r'getSignature', - r'()[B', + static final _id_getSerialNumber = _class.instanceMethodId( + r'getSerialNumber', + r'()Ljava/math/BigInteger;', ); - static final _getSignature = jni$_.ProtectedJniExtensions.lookup< + static final _getSerialNumber = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -25054,12 +25554,12 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract byte[] getSignature()` + /// from: `public abstract java.math.BigInteger getSerialNumber()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JByteArray? getSignature() { - return _getSignature( - reference.pointer, _id_getSignature as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayNullableType()); + jni$_.JObject? getSerialNumber() { + return _getSerialNumber( + reference.pointer, _id_getSerialNumber as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } static final _id_getSigAlgName = _class.instanceMethodId( @@ -25084,7 +25584,7 @@ class X509Certificate extends Certificate { jni$_.JString? getSigAlgName() { return _getSigAlgName( reference.pointer, _id_getSigAlgName as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getSigAlgOID = _class.instanceMethodId( @@ -25109,7 +25609,7 @@ class X509Certificate extends Certificate { jni$_.JString? getSigAlgOID() { return _getSigAlgOID( reference.pointer, _id_getSigAlgOID as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getSigAlgParams = _class.instanceMethodId( @@ -25134,15 +25634,15 @@ class X509Certificate extends Certificate { jni$_.JByteArray? getSigAlgParams() { return _getSigAlgParams( reference.pointer, _id_getSigAlgParams as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayNullableType()); + .object(const jni$_.$JByteArray$NullableType$()); } - static final _id_getIssuerUniqueID = _class.instanceMethodId( - r'getIssuerUniqueID', - r'()[Z', + static final _id_getSignature = _class.instanceMethodId( + r'getSignature', + r'()[B', ); - static final _getIssuerUniqueID = jni$_.ProtectedJniExtensions.lookup< + static final _getSignature = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -25154,45 +25654,46 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract boolean[] getIssuerUniqueID()` + /// from: `public abstract byte[] getSignature()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JBooleanArray? getIssuerUniqueID() { - return _getIssuerUniqueID( - reference.pointer, _id_getIssuerUniqueID as jni$_.JMethodIDPtr) - .object(const jni$_.JBooleanArrayNullableType()); + jni$_.JByteArray? getSignature() { + return _getSignature( + reference.pointer, _id_getSignature as jni$_.JMethodIDPtr) + .object(const jni$_.$JByteArray$NullableType$()); } - static final _id_getSubjectUniqueID = _class.instanceMethodId( - r'getSubjectUniqueID', - r'()[Z', + static final _id_getSubjectAlternativeNames = _class.instanceMethodId( + r'getSubjectAlternativeNames', + r'()Ljava/util/Collection;', ); - static final _getSubjectUniqueID = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getSubjectAlternativeNames = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + )>(); - /// from: `public abstract boolean[] getSubjectUniqueID()` + /// from: `public java.util.Collection> getSubjectAlternativeNames()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JBooleanArray? getSubjectUniqueID() { - return _getSubjectUniqueID( - reference.pointer, _id_getSubjectUniqueID as jni$_.JMethodIDPtr) - .object(const jni$_.JBooleanArrayNullableType()); + jni$_.JObject? getSubjectAlternativeNames() { + return _getSubjectAlternativeNames(reference.pointer, + _id_getSubjectAlternativeNames as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getKeyUsage = _class.instanceMethodId( - r'getKeyUsage', - r'()[Z', + static final _id_getSubjectDN = _class.instanceMethodId( + r'getSubjectDN', + r'()Ljava/security/Principal;', ); - static final _getKeyUsage = jni$_.ProtectedJniExtensions.lookup< + static final _getSubjectDN = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -25204,20 +25705,20 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract boolean[] getKeyUsage()` + /// from: `public abstract java.security.Principal getSubjectDN()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JBooleanArray? getKeyUsage() { - return _getKeyUsage( - reference.pointer, _id_getKeyUsage as jni$_.JMethodIDPtr) - .object(const jni$_.JBooleanArrayNullableType()); + jni$_.JObject? getSubjectDN() { + return _getSubjectDN( + reference.pointer, _id_getSubjectDN as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getExtendedKeyUsage = _class.instanceMethodId( - r'getExtendedKeyUsage', - r'()Ljava/util/List;', + static final _id_getSubjectUniqueID = _class.instanceMethodId( + r'getSubjectUniqueID', + r'()[Z', ); - static final _getExtendedKeyUsage = jni$_.ProtectedJniExtensions.lookup< + static final _getSubjectUniqueID = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -25229,89 +25730,86 @@ class X509Certificate extends Certificate { jni$_.JMethodIDPtr, )>(); - /// from: `public java.util.List getExtendedKeyUsage()` + /// from: `public abstract boolean[] getSubjectUniqueID()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JList? getExtendedKeyUsage() { - return _getExtendedKeyUsage( - reference.pointer, _id_getExtendedKeyUsage as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JListNullableType( - jni$_.JStringNullableType())); + jni$_.JBooleanArray? getSubjectUniqueID() { + return _getSubjectUniqueID( + reference.pointer, _id_getSubjectUniqueID as jni$_.JMethodIDPtr) + .object( + const jni$_.$JBooleanArray$NullableType$()); } - static final _id_getBasicConstraints = _class.instanceMethodId( - r'getBasicConstraints', - r'()I', + static final _id_getSubjectX500Principal = _class.instanceMethodId( + r'getSubjectX500Principal', + r'()Ljavax/security/auth/x500/X500Principal;', ); - static final _getBasicConstraints = jni$_.ProtectedJniExtensions.lookup< + static final _getSubjectX500Principal = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') + )>>('globalEnv_CallObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `public abstract int getBasicConstraints()` - int getBasicConstraints() { - return _getBasicConstraints( - reference.pointer, _id_getBasicConstraints as jni$_.JMethodIDPtr) - .integer; + /// from: `public javax.security.auth.x500.X500Principal getSubjectX500Principal()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JObject? getSubjectX500Principal() { + return _getSubjectX500Principal(reference.pointer, + _id_getSubjectX500Principal as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getSubjectAlternativeNames = _class.instanceMethodId( - r'getSubjectAlternativeNames', - r'()Ljava/util/Collection;', + static final _id_getTBSCertificate = _class.instanceMethodId( + r'getTBSCertificate', + r'()[B', ); - static final _getSubjectAlternativeNames = - jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< + static final _getTBSCertificate = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); - /// from: `public java.util.Collection getSubjectAlternativeNames()` + /// from: `public abstract byte[] getTBSCertificate()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSubjectAlternativeNames() { - return _getSubjectAlternativeNames(reference.pointer, - _id_getSubjectAlternativeNames as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + jni$_.JByteArray? getTBSCertificate() { + return _getTBSCertificate( + reference.pointer, _id_getTBSCertificate as jni$_.JMethodIDPtr) + .object(const jni$_.$JByteArray$NullableType$()); } - static final _id_getIssuerAlternativeNames = _class.instanceMethodId( - r'getIssuerAlternativeNames', - r'()Ljava/util/Collection;', + static final _id_getVersion = _class.instanceMethodId( + r'getVersion', + r'()I', ); - static final _getIssuerAlternativeNames = jni$_.ProtectedJniExtensions.lookup< + static final _getVersion = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + )>>('globalEnv_CallIntMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `public java.util.Collection getIssuerAlternativeNames()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getIssuerAlternativeNames() { - return _getIssuerAlternativeNames(reference.pointer, - _id_getIssuerAlternativeNames as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + /// from: `public abstract int getVersion()` + int getVersion() { + return _getVersion(reference.pointer, _id_getVersion as jni$_.JMethodIDPtr) + .integer; } static final _id_verify2 = _class.instanceMethodId( @@ -25349,10 +25847,10 @@ class X509Certificate extends Certificate { } } -final class $X509Certificate$NullableType - extends jni$_.JObjType { +final class $X509Certificate$NullableType$ + extends jni$_.JType { @jni$_.internal - const $X509Certificate$NullableType(); + const $X509Certificate$NullableType$(); @jni$_.internal @core$_.override @@ -25367,29 +25865,29 @@ final class $X509Certificate$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const $Certificate$NullableType(); + jni$_.JType get superType => const $Certificate$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 2; @core$_.override - int get hashCode => ($X509Certificate$NullableType).hashCode; + int get hashCode => ($X509Certificate$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($X509Certificate$NullableType) && - other is $X509Certificate$NullableType; + return other.runtimeType == ($X509Certificate$NullableType$) && + other is $X509Certificate$NullableType$; } } -final class $X509Certificate$Type extends jni$_.JObjType { +final class $X509Certificate$Type$ extends jni$_.JType { @jni$_.internal - const $X509Certificate$Type(); + const $X509Certificate$Type$(); @jni$_.internal @core$_.override @@ -25403,24 +25901,24 @@ final class $X509Certificate$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const $Certificate$NullableType(); + jni$_.JType get superType => const $Certificate$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $X509Certificate$NullableType(); + jni$_.JType get nullableType => + const $X509Certificate$NullableType$(); @jni$_.internal @core$_.override final superCount = 2; @core$_.override - int get hashCode => ($X509Certificate$Type).hashCode; + int get hashCode => ($X509Certificate$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($X509Certificate$Type) && - other is $X509Certificate$Type; + return other.runtimeType == ($X509Certificate$Type$) && + other is $X509Certificate$Type$; } } @@ -25428,7 +25926,7 @@ final class $X509Certificate$Type extends jni$_.JObjType { class KeyChain extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyChain.fromReference( @@ -25439,8 +25937,10 @@ class KeyChain extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'android/security/KeyChain'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyChain$NullableType(); - static const type = $KeyChain$Type(); + static const jni$_.JType nullableType = $KeyChain$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $KeyChain$Type$(); static final _id_ACTION_KEYCHAIN_CHANGED = _class.staticFieldId( r'ACTION_KEYCHAIN_CHANGED', r'Ljava/lang/String;', @@ -25450,7 +25950,7 @@ class KeyChain extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_KEYCHAIN_CHANGED => _id_ACTION_KEYCHAIN_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, const jni$_.$JString$NullableType$()); static final _id_ACTION_KEY_ACCESS_CHANGED = _class.staticFieldId( r'ACTION_KEY_ACCESS_CHANGED', @@ -25461,7 +25961,7 @@ class KeyChain extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_KEY_ACCESS_CHANGED => _id_ACTION_KEY_ACCESS_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, const jni$_.$JString$NullableType$()); static final _id_ACTION_STORAGE_CHANGED = _class.staticFieldId( r'ACTION_STORAGE_CHANGED', @@ -25470,8 +25970,8 @@ class KeyChain extends jni$_.JObject { /// from: `static public final java.lang.String ACTION_STORAGE_CHANGED` /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? get ACTION_STORAGE_CHANGED => - _id_ACTION_STORAGE_CHANGED.get(_class, const jni$_.JStringNullableType()); + static jni$_.JString? get ACTION_STORAGE_CHANGED => _id_ACTION_STORAGE_CHANGED + .get(_class, const jni$_.$JString$NullableType$()); static final _id_ACTION_TRUST_STORE_CHANGED = _class.staticFieldId( r'ACTION_TRUST_STORE_CHANGED', @@ -25482,7 +25982,7 @@ class KeyChain extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_TRUST_STORE_CHANGED => _id_ACTION_TRUST_STORE_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, const jni$_.$JString$NullableType$()); static final _id_EXTRA_CERTIFICATE = _class.staticFieldId( r'EXTRA_CERTIFICATE', @@ -25492,7 +25992,7 @@ class KeyChain extends jni$_.JObject { /// from: `static public final java.lang.String EXTRA_CERTIFICATE` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_CERTIFICATE => - _id_EXTRA_CERTIFICATE.get(_class, const jni$_.JStringNullableType()); + _id_EXTRA_CERTIFICATE.get(_class, const jni$_.$JString$NullableType$()); static final _id_EXTRA_KEY_ACCESSIBLE = _class.staticFieldId( r'EXTRA_KEY_ACCESSIBLE', @@ -25501,8 +26001,8 @@ class KeyChain extends jni$_.JObject { /// from: `static public final java.lang.String EXTRA_KEY_ACCESSIBLE` /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? get EXTRA_KEY_ACCESSIBLE => - _id_EXTRA_KEY_ACCESSIBLE.get(_class, const jni$_.JStringNullableType()); + static jni$_.JString? get EXTRA_KEY_ACCESSIBLE => _id_EXTRA_KEY_ACCESSIBLE + .get(_class, const jni$_.$JString$NullableType$()); static final _id_EXTRA_KEY_ALIAS = _class.staticFieldId( r'EXTRA_KEY_ALIAS', @@ -25512,7 +26012,7 @@ class KeyChain extends jni$_.JObject { /// from: `static public final java.lang.String EXTRA_KEY_ALIAS` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_KEY_ALIAS => - _id_EXTRA_KEY_ALIAS.get(_class, const jni$_.JStringNullableType()); + _id_EXTRA_KEY_ALIAS.get(_class, const jni$_.$JString$NullableType$()); static final _id_EXTRA_NAME = _class.staticFieldId( r'EXTRA_NAME', @@ -25522,7 +26022,7 @@ class KeyChain extends jni$_.JObject { /// from: `static public final java.lang.String EXTRA_NAME` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_NAME => - _id_EXTRA_NAME.get(_class, const jni$_.JStringNullableType()); + _id_EXTRA_NAME.get(_class, const jni$_.$JString$NullableType$()); static final _id_EXTRA_PKCS12 = _class.staticFieldId( r'EXTRA_PKCS12', @@ -25532,7 +26032,7 @@ class KeyChain extends jni$_.JObject { /// from: `static public final java.lang.String EXTRA_PKCS12` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_PKCS12 => - _id_EXTRA_PKCS12.get(_class, const jni$_.JStringNullableType()); + _id_EXTRA_PKCS12.get(_class, const jni$_.$JString$NullableType$()); static final _id_KEY_ALIAS_SELECTION_DENIED = _class.staticFieldId( r'KEY_ALIAS_SELECTION_DENIED', @@ -25543,7 +26043,7 @@ class KeyChain extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get KEY_ALIAS_SELECTION_DENIED => _id_KEY_ALIAS_SELECTION_DENIED.get( - _class, const jni$_.JStringNullableType()); + _class, const jni$_.$JString$NullableType$()); static final _id_new$ = _class.constructorId( r'()V', @@ -25569,65 +26069,9 @@ class KeyChain extends jni$_.JObject { .reference); } - static final _id_createInstallIntent = _class.staticMethodId( - r'createInstallIntent', - r'()Landroid/content/Intent;', - ); - - static final _createInstallIntent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `static public android.content.Intent createInstallIntent()` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? createInstallIntent() { - return _createInstallIntent(_class.reference.pointer, - _id_createInstallIntent as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_createManageCredentialsIntent = _class.staticMethodId( - r'createManageCredentialsIntent', - r'(Landroid/security/AppUriAuthenticationPolicy;)Landroid/content/Intent;', - ); - - static final _createManageCredentialsIntent = - jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public android.content.Intent createManageCredentialsIntent(android.security.AppUriAuthenticationPolicy appUriAuthenticationPolicy)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? createManageCredentialsIntent( - jni$_.JObject? appUriAuthenticationPolicy, - ) { - final _$appUriAuthenticationPolicy = - appUriAuthenticationPolicy?.reference ?? jni$_.jNullReference; - return _createManageCredentialsIntent( - _class.reference.pointer, - _id_createManageCredentialsIntent as jni$_.JMethodIDPtr, - _$appUriAuthenticationPolicy.pointer) - .object(const jni$_.JObjectNullableType()); - } - static final _id_choosePrivateKeyAlias = _class.staticMethodId( r'choosePrivateKeyAlias', - r'(Landroid/app/Activity;Landroid/security/KeyChainAliasCallback;[Ljava/lang/String;[Ljava/security/Principal;Ljava/lang/String;ILjava/lang/String;)V', + r'(Landroid/app/Activity;Landroid/security/KeyChainAliasCallback;[Ljava/lang/String;[Ljava/security/Principal;Landroid/net/Uri;Ljava/lang/String;)V', ); static final _choosePrivateKeyAlias = jni$_.ProtectedJniExtensions.lookup< @@ -25642,7 +26086,6 @@ class KeyChain extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Int32, jni$_.Pointer )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< @@ -25654,26 +26097,24 @@ class KeyChain extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - int, jni$_.Pointer)>(); - /// from: `static public void choosePrivateKeyAlias(android.app.Activity activity, android.security.KeyChainAliasCallback keyChainAliasCallback, java.lang.String[] strings, java.security.Principal[] principals, java.lang.String string, int i, java.lang.String string1)` + /// from: `static public void choosePrivateKeyAlias(android.app.Activity activity, android.security.KeyChainAliasCallback keyChainAliasCallback, java.lang.String[] strings, java.security.Principal[] principals, android.net.Uri uri, java.lang.String string)` static void choosePrivateKeyAlias( jni$_.JObject? activity, KeyChainAliasCallback? keyChainAliasCallback, jni$_.JArray? strings, jni$_.JArray? principals, + jni$_.JObject? uri, jni$_.JString? string, - int i, - jni$_.JString? string1, ) { final _$activity = activity?.reference ?? jni$_.jNullReference; final _$keyChainAliasCallback = keyChainAliasCallback?.reference ?? jni$_.jNullReference; final _$strings = strings?.reference ?? jni$_.jNullReference; final _$principals = principals?.reference ?? jni$_.jNullReference; + final _$uri = uri?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; - final _$string1 = string1?.reference ?? jni$_.jNullReference; _choosePrivateKeyAlias( _class.reference.pointer, _id_choosePrivateKeyAlias as jni$_.JMethodIDPtr, @@ -25681,15 +26122,14 @@ class KeyChain extends jni$_.JObject { _$keyChainAliasCallback.pointer, _$strings.pointer, _$principals.pointer, - _$string.pointer, - i, - _$string1.pointer) + _$uri.pointer, + _$string.pointer) .check(); } static final _id_choosePrivateKeyAlias$1 = _class.staticMethodId( r'choosePrivateKeyAlias', - r'(Landroid/app/Activity;Landroid/security/KeyChainAliasCallback;[Ljava/lang/String;[Ljava/security/Principal;Landroid/net/Uri;Ljava/lang/String;)V', + r'(Landroid/app/Activity;Landroid/security/KeyChainAliasCallback;[Ljava/lang/String;[Ljava/security/Principal;Ljava/lang/String;ILjava/lang/String;)V', ); static final _choosePrivateKeyAlias$1 = jni$_.ProtectedJniExtensions.lookup< @@ -25704,6 +26144,7 @@ class KeyChain extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, + jni$_.Int32, jni$_.Pointer )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< @@ -25715,24 +26156,26 @@ class KeyChain extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, + int, jni$_.Pointer)>(); - /// from: `static public void choosePrivateKeyAlias(android.app.Activity activity, android.security.KeyChainAliasCallback keyChainAliasCallback, java.lang.String[] strings, java.security.Principal[] principals, android.net.Uri uri, java.lang.String string)` + /// from: `static public void choosePrivateKeyAlias(android.app.Activity activity, android.security.KeyChainAliasCallback keyChainAliasCallback, java.lang.String[] strings, java.security.Principal[] principals, java.lang.String string, int i, java.lang.String string1)` static void choosePrivateKeyAlias$1( jni$_.JObject? activity, KeyChainAliasCallback? keyChainAliasCallback, jni$_.JArray? strings, jni$_.JArray? principals, - jni$_.JObject? uri, jni$_.JString? string, + int i, + jni$_.JString? string1, ) { final _$activity = activity?.reference ?? jni$_.jNullReference; final _$keyChainAliasCallback = keyChainAliasCallback?.reference ?? jni$_.jNullReference; final _$strings = strings?.reference ?? jni$_.jNullReference; final _$principals = principals?.reference ?? jni$_.jNullReference; - final _$uri = uri?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; + final _$string1 = string1?.reference ?? jni$_.jNullReference; _choosePrivateKeyAlias$1( _class.reference.pointer, _id_choosePrivateKeyAlias$1 as jni$_.JMethodIDPtr, @@ -25740,45 +26183,43 @@ class KeyChain extends jni$_.JObject { _$keyChainAliasCallback.pointer, _$strings.pointer, _$principals.pointer, - _$uri.pointer, - _$string.pointer) + _$string.pointer, + i, + _$string1.pointer) .check(); } - static final _id_isCredentialManagementApp = _class.staticMethodId( - r'isCredentialManagementApp', - r'(Landroid/content/Context;)Z', + static final _id_createInstallIntent = _class.staticMethodId( + r'createInstallIntent', + r'()Landroid/content/Intent;', ); - static final _isCredentialManagementApp = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticBooleanMethod') + static final _createInstallIntent = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); - /// from: `static public boolean isCredentialManagementApp(android.content.Context context)` - static bool isCredentialManagementApp( - jni$_.JObject? context, - ) { - final _$context = context?.reference ?? jni$_.jNullReference; - return _isCredentialManagementApp( - _class.reference.pointer, - _id_isCredentialManagementApp as jni$_.JMethodIDPtr, - _$context.pointer) - .boolean; + /// from: `static public android.content.Intent createInstallIntent()` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? createInstallIntent() { + return _createInstallIntent(_class.reference.pointer, + _id_createInstallIntent as jni$_.JMethodIDPtr) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_getCredentialManagementAppPolicy = _class.staticMethodId( - r'getCredentialManagementAppPolicy', - r'(Landroid/content/Context;)Landroid/security/AppUriAuthenticationPolicy;', + static final _id_createManageCredentialsIntent = _class.staticMethodId( + r'createManageCredentialsIntent', + r'(Landroid/security/AppUriAuthenticationPolicy;)Landroid/content/Intent;', ); - static final _getCredentialManagementAppPolicy = + static final _createManageCredentialsIntent = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( @@ -25790,46 +26231,88 @@ class KeyChain extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public android.security.AppUriAuthenticationPolicy getCredentialManagementAppPolicy(android.content.Context context)` + /// from: `static public android.content.Intent createManageCredentialsIntent(android.security.AppUriAuthenticationPolicy appUriAuthenticationPolicy)` /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? getCredentialManagementAppPolicy( + static jni$_.JObject? createManageCredentialsIntent( + jni$_.JObject? appUriAuthenticationPolicy, + ) { + final _$appUriAuthenticationPolicy = + appUriAuthenticationPolicy?.reference ?? jni$_.jNullReference; + return _createManageCredentialsIntent( + _class.reference.pointer, + _id_createManageCredentialsIntent as jni$_.JMethodIDPtr, + _$appUriAuthenticationPolicy.pointer) + .object(const jni$_.$JObject$NullableType$()); + } + + static final _id_getCertificateChain = _class.staticMethodId( + r'getCertificateChain', + r'(Landroid/content/Context;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;', + ); + + static final _getCertificateChain = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `static public java.security.cert.X509Certificate[] getCertificateChain(android.content.Context context, java.lang.String string)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JArray? getCertificateChain( jni$_.JObject? context, + jni$_.JString? string, ) { final _$context = context?.reference ?? jni$_.jNullReference; - return _getCredentialManagementAppPolicy( + final _$string = string?.reference ?? jni$_.jNullReference; + return _getCertificateChain( _class.reference.pointer, - _id_getCredentialManagementAppPolicy as jni$_.JMethodIDPtr, - _$context.pointer) - .object(const jni$_.JObjectNullableType()); + _id_getCertificateChain as jni$_.JMethodIDPtr, + _$context.pointer, + _$string.pointer) + .object?>( + const jni$_.$JArray$NullableType$( + $X509Certificate$NullableType$())); } - static final _id_removeCredentialManagementApp = _class.staticMethodId( - r'removeCredentialManagementApp', - r'(Landroid/content/Context;)Z', + static final _id_getCredentialManagementAppPolicy = _class.staticMethodId( + r'getCredentialManagementAppPolicy', + r'(Landroid/content/Context;)Landroid/security/AppUriAuthenticationPolicy;', ); - static final _removeCredentialManagementApp = + static final _getCredentialManagementAppPolicy = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticBooleanMethod') + 'globalEnv_CallStaticObjectMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public boolean removeCredentialManagementApp(android.content.Context context)` - static bool removeCredentialManagementApp( + /// from: `static public android.security.AppUriAuthenticationPolicy getCredentialManagementAppPolicy(android.content.Context context)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? getCredentialManagementAppPolicy( jni$_.JObject? context, ) { final _$context = context?.reference ?? jni$_.jNullReference; - return _removeCredentialManagementApp( + return _getCredentialManagementAppPolicy( _class.reference.pointer, - _id_removeCredentialManagementApp as jni$_.JMethodIDPtr, + _id_getCredentialManagementAppPolicy as jni$_.JMethodIDPtr, _$context.pointer) - .boolean; + .object(const jni$_.$JObject$NullableType$()); } static final _id_getPrivateKey = _class.staticMethodId( @@ -25867,55 +26350,41 @@ class KeyChain extends jni$_.JObject { _id_getPrivateKey as jni$_.JMethodIDPtr, _$context.pointer, _$string.pointer) - .object(const $PrivateKey$NullableType()); + .object(const $PrivateKey$NullableType$()); } - static final _id_getCertificateChain = _class.staticMethodId( - r'getCertificateChain', - r'(Landroid/content/Context;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;', + static final _id_isBoundKeyAlgorithm = _class.staticMethodId( + r'isBoundKeyAlgorithm', + r'(Ljava/lang/String;)Z', ); - static final _getCertificateChain = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') + static final _isBoundKeyAlgorithm = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticBooleanMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public java.security.cert.X509Certificate[] getCertificateChain(android.content.Context context, java.lang.String string)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JArray? getCertificateChain( - jni$_.JObject? context, + /// from: `static public boolean isBoundKeyAlgorithm(java.lang.String string)` + static bool isBoundKeyAlgorithm( jni$_.JString? string, ) { - final _$context = context?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; - return _getCertificateChain( - _class.reference.pointer, - _id_getCertificateChain as jni$_.JMethodIDPtr, - _$context.pointer, - _$string.pointer) - .object?>( - const jni$_.JArrayNullableType( - $X509Certificate$NullableType())); + return _isBoundKeyAlgorithm(_class.reference.pointer, + _id_isBoundKeyAlgorithm as jni$_.JMethodIDPtr, _$string.pointer) + .boolean; } - static final _id_isKeyAlgorithmSupported = _class.staticMethodId( - r'isKeyAlgorithmSupported', - r'(Ljava/lang/String;)Z', + static final _id_isCredentialManagementApp = _class.staticMethodId( + r'isCredentialManagementApp', + r'(Landroid/content/Context;)Z', ); - static final _isKeyAlgorithmSupported = jni$_.ProtectedJniExtensions.lookup< + static final _isCredentialManagementApp = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -25926,22 +26395,24 @@ class KeyChain extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public boolean isKeyAlgorithmSupported(java.lang.String string)` - static bool isKeyAlgorithmSupported( - jni$_.JString? string, + /// from: `static public boolean isCredentialManagementApp(android.content.Context context)` + static bool isCredentialManagementApp( + jni$_.JObject? context, ) { - final _$string = string?.reference ?? jni$_.jNullReference; - return _isKeyAlgorithmSupported(_class.reference.pointer, - _id_isKeyAlgorithmSupported as jni$_.JMethodIDPtr, _$string.pointer) + final _$context = context?.reference ?? jni$_.jNullReference; + return _isCredentialManagementApp( + _class.reference.pointer, + _id_isCredentialManagementApp as jni$_.JMethodIDPtr, + _$context.pointer) .boolean; } - static final _id_isBoundKeyAlgorithm = _class.staticMethodId( - r'isBoundKeyAlgorithm', + static final _id_isKeyAlgorithmSupported = _class.staticMethodId( + r'isKeyAlgorithmSupported', r'(Ljava/lang/String;)Z', ); - static final _isBoundKeyAlgorithm = jni$_.ProtectedJniExtensions.lookup< + static final _isKeyAlgorithmSupported = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -25952,20 +26423,49 @@ class KeyChain extends jni$_.JObject { jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public boolean isBoundKeyAlgorithm(java.lang.String string)` - static bool isBoundKeyAlgorithm( + /// from: `static public boolean isKeyAlgorithmSupported(java.lang.String string)` + static bool isKeyAlgorithmSupported( jni$_.JString? string, ) { final _$string = string?.reference ?? jni$_.jNullReference; - return _isBoundKeyAlgorithm(_class.reference.pointer, - _id_isBoundKeyAlgorithm as jni$_.JMethodIDPtr, _$string.pointer) + return _isKeyAlgorithmSupported(_class.reference.pointer, + _id_isKeyAlgorithmSupported as jni$_.JMethodIDPtr, _$string.pointer) + .boolean; + } + + static final _id_removeCredentialManagementApp = _class.staticMethodId( + r'removeCredentialManagementApp', + r'(Landroid/content/Context;)Z', + ); + + static final _removeCredentialManagementApp = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public boolean removeCredentialManagementApp(android.content.Context context)` + static bool removeCredentialManagementApp( + jni$_.JObject? context, + ) { + final _$context = context?.reference ?? jni$_.jNullReference; + return _removeCredentialManagementApp( + _class.reference.pointer, + _id_removeCredentialManagementApp as jni$_.JMethodIDPtr, + _$context.pointer) .boolean; } } -final class $KeyChain$NullableType extends jni$_.JObjType { +final class $KeyChain$NullableType$ extends jni$_.JType { @jni$_.internal - const $KeyChain$NullableType(); + const $KeyChain$NullableType$(); @jni$_.internal @core$_.override @@ -25980,29 +26480,29 @@ final class $KeyChain$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyChain$NullableType).hashCode; + int get hashCode => ($KeyChain$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyChain$NullableType) && - other is $KeyChain$NullableType; + return other.runtimeType == ($KeyChain$NullableType$) && + other is $KeyChain$NullableType$; } } -final class $KeyChain$Type extends jni$_.JObjType { +final class $KeyChain$Type$ extends jni$_.JType { @jni$_.internal - const $KeyChain$Type(); + const $KeyChain$Type$(); @jni$_.internal @core$_.override @@ -26015,22 +26515,22 @@ final class $KeyChain$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $KeyChain$NullableType(); + jni$_.JType get nullableType => const $KeyChain$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyChain$Type).hashCode; + int get hashCode => ($KeyChain$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyChain$Type) && other is $KeyChain$Type; + return other.runtimeType == ($KeyChain$Type$) && other is $KeyChain$Type$; } } @@ -26038,7 +26538,7 @@ final class $KeyChain$Type extends jni$_.JObjType { class KeyChainAliasCallback extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyChainAliasCallback.fromReference( @@ -26050,8 +26550,12 @@ class KeyChainAliasCallback extends jni$_.JObject { jni$_.JClass.forName(r'android/security/KeyChainAliasCallback'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyChainAliasCallback$NullableType(); - static const type = $KeyChainAliasCallback$Type(); + static const jni$_.JType nullableType = + $KeyChainAliasCallback$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $KeyChainAliasCallback$Type$(); static final _id_alias = _class.instanceMethodId( r'alias', r'(Ljava/lang/String;)V', @@ -26109,7 +26613,7 @@ class KeyChainAliasCallback extends jni$_.JObject { final $a = $i.args; if ($d == r'alias(Ljava/lang/String;)V') { _$impls[$p]!.alias( - $a![0]?.as(const jni$_.JStringType(), releaseOriginal: true), + $a![0]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -26181,10 +26685,10 @@ final class _$KeyChainAliasCallback with $KeyChainAliasCallback { } } -final class $KeyChainAliasCallback$NullableType - extends jni$_.JObjType { +final class $KeyChainAliasCallback$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyChainAliasCallback$NullableType(); + const $KeyChainAliasCallback$NullableType$(); @jni$_.internal @core$_.override @@ -26200,30 +26704,30 @@ final class $KeyChainAliasCallback$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyChainAliasCallback$NullableType).hashCode; + int get hashCode => ($KeyChainAliasCallback$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyChainAliasCallback$NullableType) && - other is $KeyChainAliasCallback$NullableType; + return other.runtimeType == ($KeyChainAliasCallback$NullableType$) && + other is $KeyChainAliasCallback$NullableType$; } } -final class $KeyChainAliasCallback$Type - extends jni$_.JObjType { +final class $KeyChainAliasCallback$Type$ + extends jni$_.JType { @jni$_.internal - const $KeyChainAliasCallback$Type(); + const $KeyChainAliasCallback$Type$(); @jni$_.internal @core$_.override @@ -26237,24 +26741,24 @@ final class $KeyChainAliasCallback$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyChainAliasCallback$NullableType(); + jni$_.JType get nullableType => + const $KeyChainAliasCallback$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyChainAliasCallback$Type).hashCode; + int get hashCode => ($KeyChainAliasCallback$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyChainAliasCallback$Type) && - other is $KeyChainAliasCallback$Type; + return other.runtimeType == ($KeyChainAliasCallback$Type$) && + other is $KeyChainAliasCallback$Type$; } } @@ -26262,7 +26766,7 @@ final class $KeyChainAliasCallback$Type class PrivateKey extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal PrivateKey.fromReference( @@ -26273,11 +26777,86 @@ class PrivateKey extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/PrivateKey'); /// The type which includes information such as the signature of this class. - static const nullableType = $PrivateKey$NullableType(); - static const type = $PrivateKey$Type(); + static const jni$_.JType nullableType = + $PrivateKey$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $PrivateKey$Type$(); /// from: `static public final long serialVersionUID` static const serialVersionUID = 6034044314589513430; + static final _id_getAlgorithm = _class.instanceMethodId( + r'getAlgorithm', + r'()Ljava/lang/String;', + ); + + static final _getAlgorithm = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract java.lang.String getAlgorithm()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? getAlgorithm() { + return _getAlgorithm( + reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); + } + + static final _id_getEncoded = _class.instanceMethodId( + r'getEncoded', + r'()[B', + ); + + static final _getEncoded = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract byte[] getEncoded()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JByteArray? getEncoded() { + return _getEncoded(reference.pointer, _id_getEncoded as jni$_.JMethodIDPtr) + .object(const jni$_.$JByteArray$NullableType$()); + } + + static final _id_getFormat = _class.instanceMethodId( + r'getFormat', + r'()Ljava/lang/String;', + ); + + static final _getFormat = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract java.lang.String getFormat()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? getFormat() { + return _getFormat(reference.pointer, _id_getFormat as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); + } /// Maps a specific port to the implemented interface. static final core$_.Map _$impls = {}; @@ -26309,6 +26888,30 @@ class PrivateKey extends jni$_.JObject { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; + if ($d == r'getAlgorithm()Ljava/lang/String;') { + final $r = _$impls[$p]!.getAlgorithm(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.$JObject$Type$()) + .reference + .toPointer() ?? + jni$_.nullptr; + } + if ($d == r'getEncoded()[B') { + final $r = _$impls[$p]!.getEncoded(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.$JObject$Type$()) + .reference + .toPointer() ?? + jni$_.nullptr; + } + if ($d == r'getFormat()Ljava/lang/String;') { + final $r = _$impls[$p]!.getFormat(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.$JObject$Type$()) + .reference + .toPointer() ?? + jni$_.nullptr; + } } catch (e) { return jni$_.ProtectedJniExtensions.newDartException(e); } @@ -26352,16 +26955,46 @@ class PrivateKey extends jni$_.JObject { } abstract base mixin class $PrivateKey { - factory $PrivateKey() = _$PrivateKey; + factory $PrivateKey({ + required jni$_.JString? Function() getAlgorithm, + required jni$_.JByteArray? Function() getEncoded, + required jni$_.JString? Function() getFormat, + }) = _$PrivateKey; + + jni$_.JString? getAlgorithm(); + jni$_.JByteArray? getEncoded(); + jni$_.JString? getFormat(); } final class _$PrivateKey with $PrivateKey { - _$PrivateKey(); + _$PrivateKey({ + required jni$_.JString? Function() getAlgorithm, + required jni$_.JByteArray? Function() getEncoded, + required jni$_.JString? Function() getFormat, + }) : _getAlgorithm = getAlgorithm, + _getEncoded = getEncoded, + _getFormat = getFormat; + + final jni$_.JString? Function() _getAlgorithm; + final jni$_.JByteArray? Function() _getEncoded; + final jni$_.JString? Function() _getFormat; + + jni$_.JString? getAlgorithm() { + return _getAlgorithm(); + } + + jni$_.JByteArray? getEncoded() { + return _getEncoded(); + } + + jni$_.JString? getFormat() { + return _getFormat(); + } } -final class $PrivateKey$NullableType extends jni$_.JObjType { +final class $PrivateKey$NullableType$ extends jni$_.JType { @jni$_.internal - const $PrivateKey$NullableType(); + const $PrivateKey$NullableType$(); @jni$_.internal @core$_.override @@ -26376,29 +27009,29 @@ final class $PrivateKey$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($PrivateKey$NullableType).hashCode; + int get hashCode => ($PrivateKey$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($PrivateKey$NullableType) && - other is $PrivateKey$NullableType; + return other.runtimeType == ($PrivateKey$NullableType$) && + other is $PrivateKey$NullableType$; } } -final class $PrivateKey$Type extends jni$_.JObjType { +final class $PrivateKey$Type$ extends jni$_.JType { @jni$_.internal - const $PrivateKey$Type(); + const $PrivateKey$Type$(); @jni$_.internal @core$_.override @@ -26412,23 +27045,24 @@ final class $PrivateKey$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $PrivateKey$NullableType(); + jni$_.JType get nullableType => + const $PrivateKey$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($PrivateKey$Type).hashCode; + int get hashCode => ($PrivateKey$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($PrivateKey$Type) && other is $PrivateKey$Type; + return other.runtimeType == ($PrivateKey$Type$) && + other is $PrivateKey$Type$; } } @@ -26436,7 +27070,7 @@ final class $PrivateKey$Type extends jni$_.JObjType { class Key extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Key.fromReference( @@ -26447,8 +27081,10 @@ class Key extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/Key'); /// The type which includes information such as the signature of this class. - static const nullableType = $Key$NullableType(); - static const type = $Key$Type(); + static const jni$_.JType nullableType = $Key$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Key$Type$(); /// from: `static public final long serialVersionUID` static const serialVersionUID = 6603384152749567654; @@ -26474,15 +27110,15 @@ class Key extends jni$_.JObject { jni$_.JString? getAlgorithm() { return _getAlgorithm( reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } - static final _id_getFormat = _class.instanceMethodId( - r'getFormat', - r'()Ljava/lang/String;', + static final _id_getEncoded = _class.instanceMethodId( + r'getEncoded', + r'()[B', ); - static final _getFormat = jni$_.ProtectedJniExtensions.lookup< + static final _getEncoded = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -26494,19 +27130,19 @@ class Key extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract java.lang.String getFormat()` + /// from: `public abstract byte[] getEncoded()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getFormat() { - return _getFormat(reference.pointer, _id_getFormat as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + jni$_.JByteArray? getEncoded() { + return _getEncoded(reference.pointer, _id_getEncoded as jni$_.JMethodIDPtr) + .object(const jni$_.$JByteArray$NullableType$()); } - static final _id_getEncoded = _class.instanceMethodId( - r'getEncoded', - r'()[B', + static final _id_getFormat = _class.instanceMethodId( + r'getFormat', + r'()Ljava/lang/String;', ); - static final _getEncoded = jni$_.ProtectedJniExtensions.lookup< + static final _getFormat = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -26518,11 +27154,11 @@ class Key extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract byte[] getEncoded()` + /// from: `public abstract java.lang.String getFormat()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JByteArray? getEncoded() { - return _getEncoded(reference.pointer, _id_getEncoded as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayNullableType()); + jni$_.JString? getFormat() { + return _getFormat(reference.pointer, _id_getFormat as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); } /// Maps a specific port to the implemented interface. @@ -26558,23 +27194,23 @@ class Key extends jni$_.JObject { if ($d == r'getAlgorithm()Ljava/lang/String;') { final $r = _$impls[$p]!.getAlgorithm(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } - if ($d == r'getFormat()Ljava/lang/String;') { - final $r = _$impls[$p]!.getFormat(); + if ($d == r'getEncoded()[B') { + final $r = _$impls[$p]!.getEncoded(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; } - if ($d == r'getEncoded()[B') { - final $r = _$impls[$p]!.getEncoded(); + if ($d == r'getFormat()Ljava/lang/String;') { + final $r = _$impls[$p]!.getFormat(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -26624,44 +27260,44 @@ class Key extends jni$_.JObject { abstract base mixin class $Key { factory $Key({ required jni$_.JString? Function() getAlgorithm, - required jni$_.JString? Function() getFormat, required jni$_.JByteArray? Function() getEncoded, + required jni$_.JString? Function() getFormat, }) = _$Key; jni$_.JString? getAlgorithm(); - jni$_.JString? getFormat(); jni$_.JByteArray? getEncoded(); + jni$_.JString? getFormat(); } final class _$Key with $Key { _$Key({ required jni$_.JString? Function() getAlgorithm, - required jni$_.JString? Function() getFormat, required jni$_.JByteArray? Function() getEncoded, + required jni$_.JString? Function() getFormat, }) : _getAlgorithm = getAlgorithm, - _getFormat = getFormat, - _getEncoded = getEncoded; + _getEncoded = getEncoded, + _getFormat = getFormat; final jni$_.JString? Function() _getAlgorithm; - final jni$_.JString? Function() _getFormat; final jni$_.JByteArray? Function() _getEncoded; + final jni$_.JString? Function() _getFormat; jni$_.JString? getAlgorithm() { return _getAlgorithm(); } - jni$_.JString? getFormat() { - return _getFormat(); - } - jni$_.JByteArray? getEncoded() { return _getEncoded(); } + + jni$_.JString? getFormat() { + return _getFormat(); + } } -final class $Key$NullableType extends jni$_.JObjType { +final class $Key$NullableType$ extends jni$_.JType { @jni$_.internal - const $Key$NullableType(); + const $Key$NullableType$(); @jni$_.internal @core$_.override @@ -26676,29 +27312,29 @@ final class $Key$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Key$NullableType).hashCode; + int get hashCode => ($Key$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Key$NullableType) && - other is $Key$NullableType; + return other.runtimeType == ($Key$NullableType$) && + other is $Key$NullableType$; } } -final class $Key$Type extends jni$_.JObjType { +final class $Key$Type$ extends jni$_.JType { @jni$_.internal - const $Key$Type(); + const $Key$Type$(); @jni$_.internal @core$_.override @@ -26711,22 +27347,22 @@ final class $Key$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $Key$NullableType(); + jni$_.JType get nullableType => const $Key$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Key$Type).hashCode; + int get hashCode => ($Key$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Key$Type) && other is $Key$Type; + return other.runtimeType == ($Key$Type$) && other is $Key$Type$; } } @@ -26734,7 +27370,7 @@ final class $Key$Type extends jni$_.JObjType { class KeyManagerFactory extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyManagerFactory.fromReference( @@ -26746,56 +27382,59 @@ class KeyManagerFactory extends jni$_.JObject { jni$_.JClass.forName(r'javax/net/ssl/KeyManagerFactory'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyManagerFactory$NullableType(); - static const type = $KeyManagerFactory$Type(); - static final _id_getDefaultAlgorithm = _class.staticMethodId( - r'getDefaultAlgorithm', + static const jni$_.JType nullableType = + $KeyManagerFactory$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $KeyManagerFactory$Type$(); + static final _id_getAlgorithm = _class.instanceMethodId( + r'getAlgorithm', r'()Ljava/lang/String;', ); - static final _getDefaultAlgorithm = jni$_.ProtectedJniExtensions.lookup< + static final _getAlgorithm = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallStaticObjectMethod') + )>>('globalEnv_CallObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `static public final java.lang.String getDefaultAlgorithm()` + /// from: `public final java.lang.String getAlgorithm()` /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? getDefaultAlgorithm() { - return _getDefaultAlgorithm(_class.reference.pointer, - _id_getDefaultAlgorithm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + jni$_.JString? getAlgorithm() { + return _getAlgorithm( + reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); } - static final _id_getAlgorithm = _class.instanceMethodId( - r'getAlgorithm', + static final _id_getDefaultAlgorithm = _class.staticMethodId( + r'getDefaultAlgorithm', r'()Ljava/lang/String;', ); - static final _getAlgorithm = jni$_.ProtectedJniExtensions.lookup< + static final _getDefaultAlgorithm = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, )>(); - /// from: `public final java.lang.String getAlgorithm()` + /// from: `static public final java.lang.String getDefaultAlgorithm()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getAlgorithm() { - return _getAlgorithm( - reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + static jni$_.JString? getDefaultAlgorithm() { + return _getDefaultAlgorithm(_class.reference.pointer, + _id_getDefaultAlgorithm as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); } static final _id_getInstance = _class.staticMethodId( @@ -26822,7 +27461,7 @@ class KeyManagerFactory extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; return _getInstance(_class.reference.pointer, _id_getInstance as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $KeyManagerFactory$NullableType()); + .object(const $KeyManagerFactory$NullableType$()); } static final _id_getInstance$1 = _class.staticMethodId( @@ -26860,7 +27499,7 @@ class KeyManagerFactory extends jni$_.JObject { _id_getInstance$1 as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $KeyManagerFactory$NullableType()); + .object(const $KeyManagerFactory$NullableType$()); } static final _id_getInstance$2 = _class.staticMethodId( @@ -26898,7 +27537,34 @@ class KeyManagerFactory extends jni$_.JObject { _id_getInstance$2 as jni$_.JMethodIDPtr, _$string.pointer, _$provider.pointer) - .object(const $KeyManagerFactory$NullableType()); + .object(const $KeyManagerFactory$NullableType$()); + } + + static final _id_getKeyManagers = _class.instanceMethodId( + r'getKeyManagers', + r'()[Ljavax/net/ssl/KeyManager;', + ); + + static final _getKeyManagers = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public final javax.net.ssl.KeyManager[] getKeyManagers()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JArray? getKeyManagers() { + return _getKeyManagers( + reference.pointer, _id_getKeyManagers as jni$_.JMethodIDPtr) + .object?>( + const jni$_.$JArray$NullableType$( + $KeyManager$NullableType$())); } static final _id_getProvider = _class.instanceMethodId( @@ -26923,7 +27589,7 @@ class KeyManagerFactory extends jni$_.JObject { jni$_.JObject? getProvider() { return _getProvider( reference.pointer, _id_getProvider as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_init = _class.instanceMethodId( @@ -26986,39 +27652,12 @@ class KeyManagerFactory extends jni$_.JObject { _$managerFactoryParameters.pointer) .check(); } - - static final _id_getKeyManagers = _class.instanceMethodId( - r'getKeyManagers', - r'()[Ljavax/net/ssl/KeyManager;', - ); - - static final _getKeyManagers = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public final javax.net.ssl.KeyManager[] getKeyManagers()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getKeyManagers() { - return _getKeyManagers( - reference.pointer, _id_getKeyManagers as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - $KeyManager$NullableType())); - } } -final class $KeyManagerFactory$NullableType - extends jni$_.JObjType { +final class $KeyManagerFactory$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyManagerFactory$NullableType(); + const $KeyManagerFactory$NullableType$(); @jni$_.internal @core$_.override @@ -27034,29 +27673,29 @@ final class $KeyManagerFactory$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyManagerFactory$NullableType).hashCode; + int get hashCode => ($KeyManagerFactory$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyManagerFactory$NullableType) && - other is $KeyManagerFactory$NullableType; + return other.runtimeType == ($KeyManagerFactory$NullableType$) && + other is $KeyManagerFactory$NullableType$; } } -final class $KeyManagerFactory$Type extends jni$_.JObjType { +final class $KeyManagerFactory$Type$ extends jni$_.JType { @jni$_.internal - const $KeyManagerFactory$Type(); + const $KeyManagerFactory$Type$(); @jni$_.internal @core$_.override @@ -27070,24 +27709,24 @@ final class $KeyManagerFactory$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyManagerFactory$NullableType(); + jni$_.JType get nullableType => + const $KeyManagerFactory$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyManagerFactory$Type).hashCode; + int get hashCode => ($KeyManagerFactory$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyManagerFactory$Type) && - other is $KeyManagerFactory$Type; + return other.runtimeType == ($KeyManagerFactory$Type$) && + other is $KeyManagerFactory$Type$; } } @@ -27095,7 +27734,7 @@ final class $KeyManagerFactory$Type extends jni$_.JObjType { class KeyPairGenerator extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyPairGenerator.fromReference( @@ -27106,8 +27745,60 @@ class KeyPairGenerator extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/KeyPairGenerator'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyPairGenerator$NullableType(); - static const type = $KeyPairGenerator$Type(); + static const jni$_.JType nullableType = + $KeyPairGenerator$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $KeyPairGenerator$Type$(); + static final _id_genKeyPair = _class.instanceMethodId( + r'genKeyPair', + r'()Ljava/security/KeyPair;', + ); + + static final _genKeyPair = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public final java.security.KeyPair genKeyPair()` + /// The returned object must be released after use, by calling the [release] method. + KeyPair? genKeyPair() { + return _genKeyPair(reference.pointer, _id_genKeyPair as jni$_.JMethodIDPtr) + .object(const $KeyPair$NullableType$()); + } + + static final _id_generateKeyPair = _class.instanceMethodId( + r'generateKeyPair', + r'()Ljava/security/KeyPair;', + ); + + static final _generateKeyPair = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public java.security.KeyPair generateKeyPair()` + /// The returned object must be released after use, by calling the [release] method. + KeyPair? generateKeyPair() { + return _generateKeyPair( + reference.pointer, _id_generateKeyPair as jni$_.JMethodIDPtr) + .object(const $KeyPair$NullableType$()); + } + static final _id_getAlgorithm = _class.instanceMethodId( r'getAlgorithm', r'()Ljava/lang/String;', @@ -27130,7 +27821,7 @@ class KeyPairGenerator extends jni$_.JObject { jni$_.JString? getAlgorithm() { return _getAlgorithm( reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getInstance = _class.staticMethodId( @@ -27157,7 +27848,7 @@ class KeyPairGenerator extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; return _getInstance(_class.reference.pointer, _id_getInstance as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $KeyPairGenerator$NullableType()); + .object(const $KeyPairGenerator$NullableType$()); } static final _id_getInstance$1 = _class.staticMethodId( @@ -27195,7 +27886,7 @@ class KeyPairGenerator extends jni$_.JObject { _id_getInstance$1 as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $KeyPairGenerator$NullableType()); + .object(const $KeyPairGenerator$NullableType$()); } static final _id_getInstance$2 = _class.staticMethodId( @@ -27233,7 +27924,7 @@ class KeyPairGenerator extends jni$_.JObject { _id_getInstance$2 as jni$_.JMethodIDPtr, _$string.pointer, _$provider.pointer) - .object(const $KeyPairGenerator$NullableType()); + .object(const $KeyPairGenerator$NullableType$()); } static final _id_getProvider = _class.instanceMethodId( @@ -27258,7 +27949,7 @@ class KeyPairGenerator extends jni$_.JObject { jni$_.JObject? getProvider() { return _getProvider( reference.pointer, _id_getProvider as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_initialize = _class.instanceMethodId( @@ -27373,61 +28064,12 @@ class KeyPairGenerator extends jni$_.JObject { _$algorithmParameterSpec.pointer, _$secureRandom.pointer) .check(); } - - static final _id_genKeyPair = _class.instanceMethodId( - r'genKeyPair', - r'()Ljava/security/KeyPair;', - ); - - static final _genKeyPair = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public final java.security.KeyPair genKeyPair()` - /// The returned object must be released after use, by calling the [release] method. - KeyPair? genKeyPair() { - return _genKeyPair(reference.pointer, _id_genKeyPair as jni$_.JMethodIDPtr) - .object(const $KeyPair$NullableType()); - } - - static final _id_generateKeyPair = _class.instanceMethodId( - r'generateKeyPair', - r'()Ljava/security/KeyPair;', - ); - - static final _generateKeyPair = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public java.security.KeyPair generateKeyPair()` - /// The returned object must be released after use, by calling the [release] method. - KeyPair? generateKeyPair() { - return _generateKeyPair( - reference.pointer, _id_generateKeyPair as jni$_.JMethodIDPtr) - .object(const $KeyPair$NullableType()); - } } -final class $KeyPairGenerator$NullableType - extends jni$_.JObjType { +final class $KeyPairGenerator$NullableType$ + extends jni$_.JType { @jni$_.internal - const $KeyPairGenerator$NullableType(); + const $KeyPairGenerator$NullableType$(); @jni$_.internal @core$_.override @@ -27443,29 +28085,29 @@ final class $KeyPairGenerator$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyPairGenerator$NullableType).hashCode; + int get hashCode => ($KeyPairGenerator$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyPairGenerator$NullableType) && - other is $KeyPairGenerator$NullableType; + return other.runtimeType == ($KeyPairGenerator$NullableType$) && + other is $KeyPairGenerator$NullableType$; } } -final class $KeyPairGenerator$Type extends jni$_.JObjType { +final class $KeyPairGenerator$Type$ extends jni$_.JType { @jni$_.internal - const $KeyPairGenerator$Type(); + const $KeyPairGenerator$Type$(); @jni$_.internal @core$_.override @@ -27479,24 +28121,24 @@ final class $KeyPairGenerator$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $KeyPairGenerator$NullableType(); + jni$_.JType get nullableType => + const $KeyPairGenerator$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyPairGenerator$Type).hashCode; + int get hashCode => ($KeyPairGenerator$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyPairGenerator$Type) && - other is $KeyPairGenerator$Type; + return other.runtimeType == ($KeyPairGenerator$Type$) && + other is $KeyPairGenerator$Type$; } } @@ -27504,7 +28146,7 @@ final class $KeyPairGenerator$Type extends jni$_.JObjType { class KeyPair extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal KeyPair.fromReference( @@ -27515,8 +28157,10 @@ class KeyPair extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/KeyPair'); /// The type which includes information such as the signature of this class. - static const nullableType = $KeyPair$NullableType(); - static const type = $KeyPair$Type(); + static const jni$_.JType nullableType = $KeyPair$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $KeyPair$Type$(); static final _id_new$ = _class.constructorId( r'(Ljava/security/PublicKey;Ljava/security/PrivateKey;)V', ); @@ -27554,12 +28198,12 @@ class KeyPair extends jni$_.JObject { .reference); } - static final _id_getPublic = _class.instanceMethodId( - r'getPublic', - r'()Ljava/security/PublicKey;', + static final _id_getPrivate = _class.instanceMethodId( + r'getPrivate', + r'()Ljava/security/PrivateKey;', ); - static final _getPublic = jni$_.ProtectedJniExtensions.lookup< + static final _getPrivate = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -27571,19 +28215,19 @@ class KeyPair extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.security.PublicKey getPublic()` + /// from: `public java.security.PrivateKey getPrivate()` /// The returned object must be released after use, by calling the [release] method. - PublicKey? getPublic() { - return _getPublic(reference.pointer, _id_getPublic as jni$_.JMethodIDPtr) - .object(const $PublicKey$NullableType()); + PrivateKey? getPrivate() { + return _getPrivate(reference.pointer, _id_getPrivate as jni$_.JMethodIDPtr) + .object(const $PrivateKey$NullableType$()); } - static final _id_getPrivate = _class.instanceMethodId( - r'getPrivate', - r'()Ljava/security/PrivateKey;', + static final _id_getPublic = _class.instanceMethodId( + r'getPublic', + r'()Ljava/security/PublicKey;', ); - static final _getPrivate = jni$_.ProtectedJniExtensions.lookup< + static final _getPublic = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -27595,17 +28239,17 @@ class KeyPair extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public java.security.PrivateKey getPrivate()` + /// from: `public java.security.PublicKey getPublic()` /// The returned object must be released after use, by calling the [release] method. - PrivateKey? getPrivate() { - return _getPrivate(reference.pointer, _id_getPrivate as jni$_.JMethodIDPtr) - .object(const $PrivateKey$NullableType()); + PublicKey? getPublic() { + return _getPublic(reference.pointer, _id_getPublic as jni$_.JMethodIDPtr) + .object(const $PublicKey$NullableType$()); } } -final class $KeyPair$NullableType extends jni$_.JObjType { +final class $KeyPair$NullableType$ extends jni$_.JType { @jni$_.internal - const $KeyPair$NullableType(); + const $KeyPair$NullableType$(); @jni$_.internal @core$_.override @@ -27620,29 +28264,29 @@ final class $KeyPair$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyPair$NullableType).hashCode; + int get hashCode => ($KeyPair$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyPair$NullableType) && - other is $KeyPair$NullableType; + return other.runtimeType == ($KeyPair$NullableType$) && + other is $KeyPair$NullableType$; } } -final class $KeyPair$Type extends jni$_.JObjType { +final class $KeyPair$Type$ extends jni$_.JType { @jni$_.internal - const $KeyPair$Type(); + const $KeyPair$Type$(); @jni$_.internal @core$_.override @@ -27655,22 +28299,22 @@ final class $KeyPair$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $KeyPair$NullableType(); + jni$_.JType get nullableType => const $KeyPair$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($KeyPair$Type).hashCode; + int get hashCode => ($KeyPair$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($KeyPair$Type) && other is $KeyPair$Type; + return other.runtimeType == ($KeyPair$Type$) && other is $KeyPair$Type$; } } @@ -27678,7 +28322,7 @@ final class $KeyPair$Type extends jni$_.JObjType { class PublicKey extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal PublicKey.fromReference( @@ -27689,11 +28333,86 @@ class PublicKey extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/PublicKey'); /// The type which includes information such as the signature of this class. - static const nullableType = $PublicKey$NullableType(); - static const type = $PublicKey$Type(); + static const jni$_.JType nullableType = + $PublicKey$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $PublicKey$Type$(); /// from: `static public final long serialVersionUID` static const serialVersionUID = 7187392471159151072; + static final _id_getAlgorithm = _class.instanceMethodId( + r'getAlgorithm', + r'()Ljava/lang/String;', + ); + + static final _getAlgorithm = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract java.lang.String getAlgorithm()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? getAlgorithm() { + return _getAlgorithm( + reference.pointer, _id_getAlgorithm as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); + } + + static final _id_getEncoded = _class.instanceMethodId( + r'getEncoded', + r'()[B', + ); + + static final _getEncoded = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract byte[] getEncoded()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JByteArray? getEncoded() { + return _getEncoded(reference.pointer, _id_getEncoded as jni$_.JMethodIDPtr) + .object(const jni$_.$JByteArray$NullableType$()); + } + + static final _id_getFormat = _class.instanceMethodId( + r'getFormat', + r'()Ljava/lang/String;', + ); + + static final _getFormat = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract java.lang.String getFormat()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? getFormat() { + return _getFormat(reference.pointer, _id_getFormat as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); + } /// Maps a specific port to the implemented interface. static final core$_.Map _$impls = {}; @@ -27725,6 +28444,30 @@ class PublicKey extends jni$_.JObject { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; + if ($d == r'getAlgorithm()Ljava/lang/String;') { + final $r = _$impls[$p]!.getAlgorithm(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.$JObject$Type$()) + .reference + .toPointer() ?? + jni$_.nullptr; + } + if ($d == r'getEncoded()[B') { + final $r = _$impls[$p]!.getEncoded(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.$JObject$Type$()) + .reference + .toPointer() ?? + jni$_.nullptr; + } + if ($d == r'getFormat()Ljava/lang/String;') { + final $r = _$impls[$p]!.getFormat(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.$JObject$Type$()) + .reference + .toPointer() ?? + jni$_.nullptr; + } } catch (e) { return jni$_.ProtectedJniExtensions.newDartException(e); } @@ -27768,16 +28511,46 @@ class PublicKey extends jni$_.JObject { } abstract base mixin class $PublicKey { - factory $PublicKey() = _$PublicKey; + factory $PublicKey({ + required jni$_.JString? Function() getAlgorithm, + required jni$_.JByteArray? Function() getEncoded, + required jni$_.JString? Function() getFormat, + }) = _$PublicKey; + + jni$_.JString? getAlgorithm(); + jni$_.JByteArray? getEncoded(); + jni$_.JString? getFormat(); } final class _$PublicKey with $PublicKey { - _$PublicKey(); + _$PublicKey({ + required jni$_.JString? Function() getAlgorithm, + required jni$_.JByteArray? Function() getEncoded, + required jni$_.JString? Function() getFormat, + }) : _getAlgorithm = getAlgorithm, + _getEncoded = getEncoded, + _getFormat = getFormat; + + final jni$_.JString? Function() _getAlgorithm; + final jni$_.JByteArray? Function() _getEncoded; + final jni$_.JString? Function() _getFormat; + + jni$_.JString? getAlgorithm() { + return _getAlgorithm(); + } + + jni$_.JByteArray? getEncoded() { + return _getEncoded(); + } + + jni$_.JString? getFormat() { + return _getFormat(); + } } -final class $PublicKey$NullableType extends jni$_.JObjType { +final class $PublicKey$NullableType$ extends jni$_.JType { @jni$_.internal - const $PublicKey$NullableType(); + const $PublicKey$NullableType$(); @jni$_.internal @core$_.override @@ -27792,29 +28565,29 @@ final class $PublicKey$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($PublicKey$NullableType).hashCode; + int get hashCode => ($PublicKey$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($PublicKey$NullableType) && - other is $PublicKey$NullableType; + return other.runtimeType == ($PublicKey$NullableType$) && + other is $PublicKey$NullableType$; } } -final class $PublicKey$Type extends jni$_.JObjType { +final class $PublicKey$Type$ extends jni$_.JType { @jni$_.internal - const $PublicKey$Type(); + const $PublicKey$Type$(); @jni$_.internal @core$_.override @@ -27828,23 +28601,22 @@ final class $PublicKey$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $PublicKey$NullableType(); + jni$_.JType get nullableType => const $PublicKey$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($PublicKey$Type).hashCode; + int get hashCode => ($PublicKey$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($PublicKey$Type) && other is $PublicKey$Type; + return other.runtimeType == ($PublicKey$Type$) && other is $PublicKey$Type$; } } @@ -27852,7 +28624,7 @@ final class $PublicKey$Type extends jni$_.JObjType { class ByteArrayInputStream extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal ByteArrayInputStream.fromReference( @@ -27863,8 +28635,12 @@ class ByteArrayInputStream extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/io/ByteArrayInputStream'); /// The type which includes information such as the signature of this class. - static const nullableType = $ByteArrayInputStream$NullableType(); - static const type = $ByteArrayInputStream$Type(); + static const jni$_.JType nullableType = + $ByteArrayInputStream$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $ByteArrayInputStream$Type$(); static final _id_new$ = _class.constructorId( r'([B)V', ); @@ -27923,6 +28699,97 @@ class ByteArrayInputStream extends jni$_.JObject { .reference); } + static final _id_available = _class.instanceMethodId( + r'available', + r'()I', + ); + + static final _available = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public int available()` + int available() { + return _available(reference.pointer, _id_available as jni$_.JMethodIDPtr) + .integer; + } + + static final _id_close = _class.instanceMethodId( + r'close', + r'()V', + ); + + static final _close = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public void close()` + void close() { + _close(reference.pointer, _id_close as jni$_.JMethodIDPtr).check(); + } + + static final _id_mark = _class.instanceMethodId( + r'mark', + r'(I)V', + ); + + static final _mark = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + + /// from: `public void mark(int i)` + void mark( + int i, + ) { + _mark(reference.pointer, _id_mark as jni$_.JMethodIDPtr, i).check(); + } + + static final _id_markSupported = _class.instanceMethodId( + r'markSupported', + r'()Z', + ); + + static final _markSupported = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public boolean markSupported()` + bool markSupported() { + return _markSupported( + reference.pointer, _id_markSupported as jni$_.JMethodIDPtr) + .boolean; + } + static final _id_read = _class.instanceMethodId( r'read', r'()I', @@ -27999,7 +28866,7 @@ class ByteArrayInputStream extends jni$_.JObject { jni$_.JByteArray? readAllBytes() { return _readAllBytes( reference.pointer, _id_readAllBytes as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayNullableType()); + .object(const jni$_.$JByteArray$NullableType$()); } static final _id_readNBytes = _class.instanceMethodId( @@ -28034,30 +28901,26 @@ class ByteArrayInputStream extends jni$_.JObject { .integer; } - static final _id_transferTo = _class.instanceMethodId( - r'transferTo', - r'(Ljava/io/OutputStream;)J', + static final _id_reset = _class.instanceMethodId( + r'reset', + r'()V', ); - static final _transferTo = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallLongMethod') + static final _reset = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); - /// from: `public long transferTo(java.io.OutputStream outputStream)` - int transferTo( - jni$_.JObject? outputStream, - ) { - final _$outputStream = outputStream?.reference ?? jni$_.jNullReference; - return _transferTo(reference.pointer, _id_transferTo as jni$_.JMethodIDPtr, - _$outputStream.pointer) - .long; + /// from: `public void reset()` + void reset() { + _reset(reference.pointer, _id_reset as jni$_.JMethodIDPtr).check(); } static final _id_skip = _class.instanceMethodId( @@ -28082,124 +28945,37 @@ class ByteArrayInputStream extends jni$_.JObject { return _skip(reference.pointer, _id_skip as jni$_.JMethodIDPtr, j).long; } - static final _id_available = _class.instanceMethodId( - r'available', - r'()I', - ); - - static final _available = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public int available()` - int available() { - return _available(reference.pointer, _id_available as jni$_.JMethodIDPtr) - .integer; - } - - static final _id_markSupported = _class.instanceMethodId( - r'markSupported', - r'()Z', - ); - - static final _markSupported = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public boolean markSupported()` - bool markSupported() { - return _markSupported( - reference.pointer, _id_markSupported as jni$_.JMethodIDPtr) - .boolean; - } - - static final _id_mark = _class.instanceMethodId( - r'mark', - r'(I)V', + static final _id_transferTo = _class.instanceMethodId( + r'transferTo', + r'(Ljava/io/OutputStream;)J', ); - static final _mark = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') + static final _transferTo = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallLongMethod') .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `public void mark(int i)` - void mark( - int i, + /// from: `public long transferTo(java.io.OutputStream outputStream)` + int transferTo( + jni$_.JObject? outputStream, ) { - _mark(reference.pointer, _id_mark as jni$_.JMethodIDPtr, i).check(); - } - - static final _id_reset = _class.instanceMethodId( - r'reset', - r'()V', - ); - - static final _reset = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public void reset()` - void reset() { - _reset(reference.pointer, _id_reset as jni$_.JMethodIDPtr).check(); - } - - static final _id_close = _class.instanceMethodId( - r'close', - r'()V', - ); - - static final _close = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public void close()` - void close() { - _close(reference.pointer, _id_close as jni$_.JMethodIDPtr).check(); + final _$outputStream = outputStream?.reference ?? jni$_.jNullReference; + return _transferTo(reference.pointer, _id_transferTo as jni$_.JMethodIDPtr, + _$outputStream.pointer) + .long; } } -final class $ByteArrayInputStream$NullableType - extends jni$_.JObjType { +final class $ByteArrayInputStream$NullableType$ + extends jni$_.JType { @jni$_.internal - const $ByteArrayInputStream$NullableType(); + const $ByteArrayInputStream$NullableType$(); @jni$_.internal @core$_.override @@ -28215,30 +28991,30 @@ final class $ByteArrayInputStream$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ByteArrayInputStream$NullableType).hashCode; + int get hashCode => ($ByteArrayInputStream$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ByteArrayInputStream$NullableType) && - other is $ByteArrayInputStream$NullableType; + return other.runtimeType == ($ByteArrayInputStream$NullableType$) && + other is $ByteArrayInputStream$NullableType$; } } -final class $ByteArrayInputStream$Type - extends jni$_.JObjType { +final class $ByteArrayInputStream$Type$ + extends jni$_.JType { @jni$_.internal - const $ByteArrayInputStream$Type(); + const $ByteArrayInputStream$Type$(); @jni$_.internal @core$_.override @@ -28252,24 +29028,24 @@ final class $ByteArrayInputStream$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $ByteArrayInputStream$NullableType(); + jni$_.JType get nullableType => + const $ByteArrayInputStream$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($ByteArrayInputStream$Type).hashCode; + int get hashCode => ($ByteArrayInputStream$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($ByteArrayInputStream$Type) && - other is $ByteArrayInputStream$Type; + return other.runtimeType == ($ByteArrayInputStream$Type$) && + other is $ByteArrayInputStream$Type$; } } @@ -28277,10 +29053,10 @@ final class $ByteArrayInputStream$Type class Enumeration<$E extends jni$_.JObject?> extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType> $type; + final jni$_.JType> $type; @jni$_.internal - final jni$_.JObjType<$E> E; + final jni$_.JType<$E> E; @jni$_.internal Enumeration.fromReference( @@ -28292,22 +29068,48 @@ class Enumeration<$E extends jni$_.JObject?> extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/util/Enumeration'); /// The type which includes information such as the signature of this class. - static $Enumeration$NullableType<$E> nullableType<$E extends jni$_.JObject?>( - jni$_.JObjType<$E> E, + static jni$_.JType?> nullableType<$E extends jni$_.JObject?>( + jni$_.JType<$E> E, ) { - return $Enumeration$NullableType<$E>( + return $Enumeration$NullableType$<$E>( E, ); } - static $Enumeration$Type<$E> type<$E extends jni$_.JObject?>( - jni$_.JObjType<$E> E, + /// The type which includes information such as the signature of this class. + static jni$_.JType> type<$E extends jni$_.JObject?>( + jni$_.JType<$E> E, ) { - return $Enumeration$Type<$E>( + return $Enumeration$Type$<$E>( E, ); } + static final _id_asIterator = _class.instanceMethodId( + r'asIterator', + r'()Ljava/util/Iterator;', + ); + + static final _asIterator = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public java.util.Iterator asIterator()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JIterator<$E?>? asIterator() { + return _asIterator(reference.pointer, _id_asIterator as jni$_.JMethodIDPtr) + .object?>( + jni$_.$JIterator$NullableType$<$E?>(E.nullableType)); + } + static final _id_hasMoreElements = _class.instanceMethodId( r'hasMoreElements', r'()Z', @@ -28357,31 +29159,6 @@ class Enumeration<$E extends jni$_.JObject?> extends jni$_.JObject { .object<$E?>(E.nullableType); } - static final _id_asIterator = _class.instanceMethodId( - r'asIterator', - r'()Ljava/util/Iterator;', - ); - - static final _asIterator = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public java.util.Iterator asIterator()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JIterator<$E?>? asIterator() { - return _asIterator(reference.pointer, _id_asIterator as jni$_.JMethodIDPtr) - .object?>( - jni$_.JIteratorNullableType<$E?>(E.nullableType)); - } - /// Maps a specific port to the implemented interface. static final core$_.Map _$impls = {}; static jni$_.JObjectPtr _$invoke( @@ -28412,6 +29189,14 @@ class Enumeration<$E extends jni$_.JObject?> extends jni$_.JObject { try { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; + if ($d == r'asIterator()Ljava/util/Iterator;') { + final $r = _$impls[$p]!.asIterator(); + return ($r as jni$_.JObject?) + ?.as(const jni$_.$JObject$Type$()) + .reference + .toPointer() ?? + jni$_.nullptr; + } if ($d == r'hasMoreElements()Z') { final $r = _$impls[$p]!.hasMoreElements(); return jni$_.JBoolean($r).reference.toPointer(); @@ -28419,15 +29204,7 @@ class Enumeration<$E extends jni$_.JObject?> extends jni$_.JObject { if ($d == r'nextElement()Ljava/lang/Object;') { final $r = _$impls[$p]!.nextElement(); return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) - .reference - .toPointer() ?? - jni$_.nullptr; - } - if ($d == r'asIterator()Ljava/util/Iterator;') { - final $r = _$impls[$p]!.asIterator(); - return ($r as jni$_.JObject?) - ?.as(const jni$_.JObjectType()) + ?.as(const jni$_.$JObject$Type$()) .reference .toPointer() ?? jni$_.nullptr; @@ -28477,35 +29254,39 @@ class Enumeration<$E extends jni$_.JObject?> extends jni$_.JObject { abstract base mixin class $Enumeration<$E extends jni$_.JObject?> { factory $Enumeration({ - required jni$_.JObjType<$E> E, + required jni$_.JType<$E> E, + required jni$_.JIterator? Function() asIterator, required bool Function() hasMoreElements, required $E? Function() nextElement, - required jni$_.JIterator? Function() asIterator, }) = _$Enumeration<$E>; - jni$_.JObjType<$E> get E; + jni$_.JType<$E> get E; + jni$_.JIterator? asIterator(); bool hasMoreElements(); $E? nextElement(); - jni$_.JIterator? asIterator(); } final class _$Enumeration<$E extends jni$_.JObject?> with $Enumeration<$E> { _$Enumeration({ required this.E, + required jni$_.JIterator? Function() asIterator, required bool Function() hasMoreElements, required $E? Function() nextElement, - required jni$_.JIterator? Function() asIterator, - }) : _hasMoreElements = hasMoreElements, - _nextElement = nextElement, - _asIterator = asIterator; + }) : _asIterator = asIterator, + _hasMoreElements = hasMoreElements, + _nextElement = nextElement; @core$_.override - final jni$_.JObjType<$E> E; + final jni$_.JType<$E> E; + final jni$_.JIterator? Function() _asIterator; final bool Function() _hasMoreElements; final $E? Function() _nextElement; - final jni$_.JIterator? Function() _asIterator; + + jni$_.JIterator? asIterator() { + return _asIterator(); + } bool hasMoreElements() { return _hasMoreElements(); @@ -28514,19 +29295,15 @@ final class _$Enumeration<$E extends jni$_.JObject?> with $Enumeration<$E> { $E? nextElement() { return _nextElement(); } - - jni$_.JIterator? asIterator() { - return _asIterator(); - } } -final class $Enumeration$NullableType<$E extends jni$_.JObject?> - extends jni$_.JObjType?> { +final class $Enumeration$NullableType$<$E extends jni$_.JObject?> + extends jni$_.JType?> { @jni$_.internal - final jni$_.JObjType<$E> E; + final jni$_.JType<$E> E; @jni$_.internal - const $Enumeration$NullableType( + const $Enumeration$NullableType$( this.E, ); @@ -28544,34 +29321,34 @@ final class $Enumeration$NullableType<$E extends jni$_.JObject?> ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType?> get nullableType => this; + jni$_.JType?> get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => Object.hash($Enumeration$NullableType, E); + int get hashCode => Object.hash($Enumeration$NullableType$, E); @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Enumeration$NullableType<$E>) && - other is $Enumeration$NullableType<$E> && + return other.runtimeType == ($Enumeration$NullableType$<$E>) && + other is $Enumeration$NullableType$<$E> && E == other.E; } } -final class $Enumeration$Type<$E extends jni$_.JObject?> - extends jni$_.JObjType> { +final class $Enumeration$Type$<$E extends jni$_.JObject?> + extends jni$_.JType> { @jni$_.internal - final jni$_.JObjType<$E> E; + final jni$_.JType<$E> E; @jni$_.internal - const $Enumeration$Type( + const $Enumeration$Type$( this.E, ); @@ -28588,24 +29365,24 @@ final class $Enumeration$Type<$E extends jni$_.JObject?> ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType?> get nullableType => - $Enumeration$NullableType<$E>(E); + jni$_.JType?> get nullableType => + $Enumeration$NullableType$<$E>(E); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => Object.hash($Enumeration$Type, E); + int get hashCode => Object.hash($Enumeration$Type$, E); @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Enumeration$Type<$E>) && - other is $Enumeration$Type<$E> && + return other.runtimeType == ($Enumeration$Type$<$E>) && + other is $Enumeration$Type$<$E> && E == other.E; } } @@ -28614,7 +29391,7 @@ final class $Enumeration$Type<$E extends jni$_.JObject?> class Arrays extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Arrays.fromReference( @@ -28625,930 +29402,879 @@ class Arrays extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/util/Arrays'); /// The type which includes information such as the signature of this class. - static const nullableType = $Arrays$NullableType(); - static const type = $Arrays$Type(); - static final _id_sort = _class.staticMethodId( - r'sort', - r'([I)V', + static const jni$_.JType nullableType = $Arrays$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Arrays$Type$(); + static final _id_asList = _class.staticMethodId( + r'asList', + r'([Ljava/lang/Object;)Ljava/util/List;', ); - static final _sort = jni$_.ProtectedJniExtensions.lookup< + static final _asList = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JniResult Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public void sort(int[] is)` - static void sort( - jni$_.JIntArray? is$, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - _sort(_class.reference.pointer, _id_sort as jni$_.JMethodIDPtr, - _$is$.pointer) - .check(); - } - - static final _id_sort$1 = _class.staticMethodId( - r'sort', - r'([III)V', - ); - - static final _sort$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - - /// from: `static public void sort(int[] is, int i, int i1)` - static void sort$1( - jni$_.JIntArray? is$, - int i, - int i1, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - _sort$1(_class.reference.pointer, _id_sort$1 as jni$_.JMethodIDPtr, - _$is$.pointer, i, i1) - .check(); + /// from: `static public java.util.List asList(T[] objects)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JList<$T?>? asList<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _asList(_class.reference.pointer, _id_asList as jni$_.JMethodIDPtr, + _$objects.pointer) + .object?>( + jni$_.$JList$NullableType$<$T?>(T.nullableType)); } - static final _id_sort$2 = _class.staticMethodId( - r'sort', - r'([J)V', + static final _id_binarySearch = _class.staticMethodId( + r'binarySearch', + r'([BB)I', ); - static final _sort$2 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public void sort(long[] js)` - static void sort$2( - jni$_.JLongArray? js, + /// from: `static public int binarySearch(byte[] bs, byte b)` + static int binarySearch( + jni$_.JByteArray? bs, + int b, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - _sort$2(_class.reference.pointer, _id_sort$2 as jni$_.JMethodIDPtr, - _$js.pointer) - .check(); + final _$bs = bs?.reference ?? jni$_.jNullReference; + return _binarySearch(_class.reference.pointer, + _id_binarySearch as jni$_.JMethodIDPtr, _$bs.pointer, b) + .integer; } - static final _id_sort$3 = _class.staticMethodId( - r'sort', - r'([JII)V', + static final _id_binarySearch$1 = _class.staticMethodId( + r'binarySearch', + r'([BIIB)I', ); - static final _sort$3 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, + jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public void sort(long[] js, int i, int i1)` - static void sort$3( - jni$_.JLongArray? js, + /// from: `static public int binarySearch(byte[] bs, int i, int i1, byte b)` + static int binarySearch$1( + jni$_.JByteArray? bs, int i, int i1, + int b, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - _sort$3(_class.reference.pointer, _id_sort$3 as jni$_.JMethodIDPtr, - _$js.pointer, i, i1) - .check(); + final _$bs = bs?.reference ?? jni$_.jNullReference; + return _binarySearch$1(_class.reference.pointer, + _id_binarySearch$1 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1, b) + .integer; } - static final _id_sort$4 = _class.staticMethodId( - r'sort', - r'([S)V', + static final _id_binarySearch$2 = _class.staticMethodId( + r'binarySearch', + r'([CC)I', ); - static final _sort$4 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public void sort(short[] ss)` - static void sort$4( - jni$_.JShortArray? ss, + /// from: `static public int binarySearch(char[] cs, char c)` + static int binarySearch$2( + jni$_.JCharArray? cs, + int c, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - _sort$4(_class.reference.pointer, _id_sort$4 as jni$_.JMethodIDPtr, - _$ss.pointer) - .check(); + final _$cs = cs?.reference ?? jni$_.jNullReference; + return _binarySearch$2(_class.reference.pointer, + _id_binarySearch$2 as jni$_.JMethodIDPtr, _$cs.pointer, c) + .integer; } - static final _id_sort$5 = _class.staticMethodId( - r'sort', - r'([SII)V', + static final _id_binarySearch$3 = _class.staticMethodId( + r'binarySearch', + r'([CIIC)I', ); - static final _sort$5 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, + jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public void sort(short[] ss, int i, int i1)` - static void sort$5( - jni$_.JShortArray? ss, + /// from: `static public int binarySearch(char[] cs, int i, int i1, char c)` + static int binarySearch$3( + jni$_.JCharArray? cs, int i, int i1, + int c, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - _sort$5(_class.reference.pointer, _id_sort$5 as jni$_.JMethodIDPtr, - _$ss.pointer, i, i1) - .check(); + final _$cs = cs?.reference ?? jni$_.jNullReference; + return _binarySearch$3(_class.reference.pointer, + _id_binarySearch$3 as jni$_.JMethodIDPtr, _$cs.pointer, i, i1, c) + .integer; } - static final _id_sort$6 = _class.staticMethodId( - r'sort', - r'([C)V', + static final _id_binarySearch$4 = _class.staticMethodId( + r'binarySearch', + r'([DD)I', ); - static final _sort$6 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + static final _binarySearch$4 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Double + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); - /// from: `static public void sort(char[] cs)` - static void sort$6( - jni$_.JCharArray? cs, + /// from: `static public int binarySearch(double[] ds, double d)` + static int binarySearch$4( + jni$_.JDoubleArray? ds, + double d, ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - _sort$6(_class.reference.pointer, _id_sort$6 as jni$_.JMethodIDPtr, - _$cs.pointer) - .check(); + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _binarySearch$4(_class.reference.pointer, + _id_binarySearch$4 as jni$_.JMethodIDPtr, _$ds.pointer, d) + .integer; } - static final _id_sort$7 = _class.staticMethodId( - r'sort', - r'([CII)V', + static final _id_binarySearch$5 = _class.staticMethodId( + r'binarySearch', + r'([DIID)I', ); - static final _sort$7 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Int32, + jni$_.Double + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + double)>(); - /// from: `static public void sort(char[] cs, int i, int i1)` - static void sort$7( - jni$_.JCharArray? cs, + /// from: `static public int binarySearch(double[] ds, int i, int i1, double d)` + static int binarySearch$5( + jni$_.JDoubleArray? ds, int i, int i1, + double d, ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - _sort$7(_class.reference.pointer, _id_sort$7 as jni$_.JMethodIDPtr, - _$cs.pointer, i, i1) - .check(); + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _binarySearch$5(_class.reference.pointer, + _id_binarySearch$5 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1, d) + .integer; } - static final _id_sort$8 = _class.staticMethodId( - r'sort', - r'([B)V', - ); - - static final _sort$8 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public void sort(byte[] bs)` - static void sort$8( - jni$_.JByteArray? bs, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - _sort$8(_class.reference.pointer, _id_sort$8 as jni$_.JMethodIDPtr, - _$bs.pointer) - .check(); - } - - static final _id_sort$9 = _class.staticMethodId( - r'sort', - r'([BII)V', + static final _id_binarySearch$6 = _class.staticMethodId( + r'binarySearch', + r'([FF)I', ); - static final _sort$9 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$6 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - - /// from: `static public void sort(byte[] bs, int i, int i1)` - static void sort$9( - jni$_.JByteArray? bs, - int i, - int i1, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - _sort$9(_class.reference.pointer, _id_sort$9 as jni$_.JMethodIDPtr, - _$bs.pointer, i, i1) - .check(); - } - - static final _id_sort$10 = _class.staticMethodId( - r'sort', - r'([F)V', - ); - - static final _sort$10 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + jni$_.Double + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); - /// from: `static public void sort(float[] fs)` - static void sort$10( + /// from: `static public int binarySearch(float[] fs, float f)` + static int binarySearch$6( jni$_.JFloatArray? fs, + double f, ) { final _$fs = fs?.reference ?? jni$_.jNullReference; - _sort$10(_class.reference.pointer, _id_sort$10 as jni$_.JMethodIDPtr, - _$fs.pointer) - .check(); + return _binarySearch$6(_class.reference.pointer, + _id_binarySearch$6 as jni$_.JMethodIDPtr, _$fs.pointer, f) + .integer; } - static final _id_sort$11 = _class.staticMethodId( - r'sort', - r'([FII)V', + static final _id_binarySearch$7 = _class.staticMethodId( + r'binarySearch', + r'([FIIF)I', ); - static final _sort$11 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Int32, + jni$_.Double + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + double)>(); - /// from: `static public void sort(float[] fs, int i, int i1)` - static void sort$11( + /// from: `static public int binarySearch(float[] fs, int i, int i1, float f)` + static int binarySearch$7( jni$_.JFloatArray? fs, int i, int i1, + double f, ) { final _$fs = fs?.reference ?? jni$_.jNullReference; - _sort$11(_class.reference.pointer, _id_sort$11 as jni$_.JMethodIDPtr, - _$fs.pointer, i, i1) - .check(); + return _binarySearch$7(_class.reference.pointer, + _id_binarySearch$7 as jni$_.JMethodIDPtr, _$fs.pointer, i, i1, f) + .integer; } - static final _id_sort$12 = _class.staticMethodId( - r'sort', - r'([D)V', + static final _id_binarySearch$8 = _class.staticMethodId( + r'binarySearch', + r'([II)I', ); - static final _sort$12 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$8 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public void sort(double[] ds)` - static void sort$12( - jni$_.JDoubleArray? ds, + /// from: `static public int binarySearch(int[] is, int i)` + static int binarySearch$8( + jni$_.JIntArray? is$, + int i, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - _sort$12(_class.reference.pointer, _id_sort$12 as jni$_.JMethodIDPtr, - _$ds.pointer) - .check(); + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _binarySearch$8(_class.reference.pointer, + _id_binarySearch$8 as jni$_.JMethodIDPtr, _$is$.pointer, i) + .integer; } - static final _id_sort$13 = _class.staticMethodId( - r'sort', - r'([DII)V', + static final _id_binarySearch$9 = _class.staticMethodId( + r'binarySearch', + r'([IIII)I', ); - static final _sort$13 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$9 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, + jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public void sort(double[] ds, int i, int i1)` - static void sort$13( - jni$_.JDoubleArray? ds, + /// from: `static public int binarySearch(int[] is, int i, int i1, int i2)` + static int binarySearch$9( + jni$_.JIntArray? is$, int i, int i1, + int i2, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - _sort$13(_class.reference.pointer, _id_sort$13 as jni$_.JMethodIDPtr, - _$ds.pointer, i, i1) - .check(); - } - - static final _id_parallelSort = _class.staticMethodId( - r'parallelSort', - r'([B)V', - ); - - static final _parallelSort = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public void parallelSort(byte[] bs)` - static void parallelSort( - jni$_.JByteArray? bs, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - _parallelSort(_class.reference.pointer, - _id_parallelSort as jni$_.JMethodIDPtr, _$bs.pointer) - .check(); + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _binarySearch$9(_class.reference.pointer, + _id_binarySearch$9 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1, i2) + .integer; } - static final _id_parallelSort$1 = _class.staticMethodId( - r'parallelSort', - r'([BII)V', + static final _id_binarySearch$10 = _class.staticMethodId( + r'binarySearch', + r'([Ljava/lang/Object;IILjava/lang/Object;)I', ); - static final _parallelSort$1 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$10 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Int32, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer)>(); - /// from: `static public void parallelSort(byte[] bs, int i, int i1)` - static void parallelSort$1( - jni$_.JByteArray? bs, + /// from: `static public int binarySearch(java.lang.Object[] objects, int i, int i1, java.lang.Object object)` + static int binarySearch$10( + jni$_.JArray? objects, int i, int i1, + jni$_.JObject? object, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - _parallelSort$1(_class.reference.pointer, - _id_parallelSort$1 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1) - .check(); + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$object = object?.reference ?? jni$_.jNullReference; + return _binarySearch$10( + _class.reference.pointer, + _id_binarySearch$10 as jni$_.JMethodIDPtr, + _$objects.pointer, + i, + i1, + _$object.pointer) + .integer; } - static final _id_parallelSort$2 = _class.staticMethodId( - r'parallelSort', - r'([C)V', + static final _id_binarySearch$11 = _class.staticMethodId( + r'binarySearch', + r'([Ljava/lang/Object;Ljava/lang/Object;)I', ); - static final _parallelSort$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + static final _binarySearch$11 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public void parallelSort(char[] cs)` - static void parallelSort$2( - jni$_.JCharArray? cs, + /// from: `static public int binarySearch(java.lang.Object[] objects, java.lang.Object object)` + static int binarySearch$11( + jni$_.JArray? objects, + jni$_.JObject? object, ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - _parallelSort$2(_class.reference.pointer, - _id_parallelSort$2 as jni$_.JMethodIDPtr, _$cs.pointer) - .check(); + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$object = object?.reference ?? jni$_.jNullReference; + return _binarySearch$11( + _class.reference.pointer, + _id_binarySearch$11 as jni$_.JMethodIDPtr, + _$objects.pointer, + _$object.pointer) + .integer; } - static final _id_parallelSort$3 = _class.staticMethodId( - r'parallelSort', - r'([CII)V', + static final _id_binarySearch$12 = _class.staticMethodId( + r'binarySearch', + r'([JIIJ)I', ); - static final _parallelSort$3 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$12 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Int32, + jni$_.Int64 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public void parallelSort(char[] cs, int i, int i1)` - static void parallelSort$3( - jni$_.JCharArray? cs, + /// from: `static public int binarySearch(long[] js, int i, int i1, long j)` + static int binarySearch$12( + jni$_.JLongArray? js, int i, int i1, + int j, ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - _parallelSort$3(_class.reference.pointer, - _id_parallelSort$3 as jni$_.JMethodIDPtr, _$cs.pointer, i, i1) - .check(); + final _$js = js?.reference ?? jni$_.jNullReference; + return _binarySearch$12(_class.reference.pointer, + _id_binarySearch$12 as jni$_.JMethodIDPtr, _$js.pointer, i, i1, j) + .integer; } - static final _id_parallelSort$4 = _class.staticMethodId( - r'parallelSort', - r'([S)V', + static final _id_binarySearch$13 = _class.staticMethodId( + r'binarySearch', + r'([JJ)I', ); - static final _parallelSort$4 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$13 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public void parallelSort(short[] ss)` - static void parallelSort$4( - jni$_.JShortArray? ss, + /// from: `static public int binarySearch(long[] js, long j)` + static int binarySearch$13( + jni$_.JLongArray? js, + int j, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - _parallelSort$4(_class.reference.pointer, - _id_parallelSort$4 as jni$_.JMethodIDPtr, _$ss.pointer) - .check(); + final _$js = js?.reference ?? jni$_.jNullReference; + return _binarySearch$13(_class.reference.pointer, + _id_binarySearch$13 as jni$_.JMethodIDPtr, _$js.pointer, j) + .integer; } - static final _id_parallelSort$5 = _class.staticMethodId( - r'parallelSort', - r'([SII)V', + static final _id_binarySearch$14 = _class.staticMethodId( + r'binarySearch', + r'([SIIS)I', ); - static final _parallelSort$5 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$14 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, + jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public void parallelSort(short[] ss, int i, int i1)` - static void parallelSort$5( + /// from: `static public int binarySearch(short[] ss, int i, int i1, short s)` + static int binarySearch$14( jni$_.JShortArray? ss, int i, int i1, + int s, ) { final _$ss = ss?.reference ?? jni$_.jNullReference; - _parallelSort$5(_class.reference.pointer, - _id_parallelSort$5 as jni$_.JMethodIDPtr, _$ss.pointer, i, i1) - .check(); + return _binarySearch$14(_class.reference.pointer, + _id_binarySearch$14 as jni$_.JMethodIDPtr, _$ss.pointer, i, i1, s) + .integer; } - static final _id_parallelSort$6 = _class.staticMethodId( - r'parallelSort', - r'([I)V', + static final _id_binarySearch$15 = _class.staticMethodId( + r'binarySearch', + r'([SS)I', ); - static final _parallelSort$6 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$15 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public void parallelSort(int[] is)` - static void parallelSort$6( - jni$_.JIntArray? is$, + /// from: `static public int binarySearch(short[] ss, short s)` + static int binarySearch$15( + jni$_.JShortArray? ss, + int s, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - _parallelSort$6(_class.reference.pointer, - _id_parallelSort$6 as jni$_.JMethodIDPtr, _$is$.pointer) - .check(); + final _$ss = ss?.reference ?? jni$_.jNullReference; + return _binarySearch$15(_class.reference.pointer, + _id_binarySearch$15 as jni$_.JMethodIDPtr, _$ss.pointer, s) + .integer; } - static final _id_parallelSort$7 = _class.staticMethodId( - r'parallelSort', - r'([III)V', + static final _id_binarySearch$16 = _class.staticMethodId( + r'binarySearch', + r'([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I', ); - static final _parallelSort$7 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$16 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public void parallelSort(int[] is, int i, int i1)` - static void parallelSort$7( - jni$_.JIntArray? is$, + /// from: `static public int binarySearch(T[] objects, int i, int i1, T object, java.util.Comparator comparator)` + static int binarySearch$16<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, int i, int i1, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - _parallelSort$7(_class.reference.pointer, - _id_parallelSort$7 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1) - .check(); - } - - static final _id_parallelSort$8 = _class.staticMethodId( - r'parallelSort', - r'([J)V', - ); - - static final _parallelSort$8 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public void parallelSort(long[] js)` - static void parallelSort$8( - jni$_.JLongArray? js, - ) { - final _$js = js?.reference ?? jni$_.jNullReference; - _parallelSort$8(_class.reference.pointer, - _id_parallelSort$8 as jni$_.JMethodIDPtr, _$js.pointer) - .check(); + $T? object, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$object = object?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + return _binarySearch$16( + _class.reference.pointer, + _id_binarySearch$16 as jni$_.JMethodIDPtr, + _$objects.pointer, + i, + i1, + _$object.pointer, + _$comparator.pointer) + .integer; } - static final _id_parallelSort$9 = _class.staticMethodId( - r'parallelSort', - r'([JII)V', + static final _id_binarySearch$17 = _class.staticMethodId( + r'binarySearch', + r'([Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)I', ); - static final _parallelSort$9 = jni$_.ProtectedJniExtensions.lookup< + static final _binarySearch$17 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - - /// from: `static public void parallelSort(long[] js, int i, int i1)` - static void parallelSort$9( - jni$_.JLongArray? js, - int i, - int i1, - ) { - final _$js = js?.reference ?? jni$_.jNullReference; - _parallelSort$9(_class.reference.pointer, - _id_parallelSort$9 as jni$_.JMethodIDPtr, _$js.pointer, i, i1) - .check(); - } - - static final _id_parallelSort$10 = _class.staticMethodId( - r'parallelSort', - r'([F)V', - ); - - static final _parallelSort$10 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public void parallelSort(float[] fs)` - static void parallelSort$10( - jni$_.JFloatArray? fs, - ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - _parallelSort$10(_class.reference.pointer, - _id_parallelSort$10 as jni$_.JMethodIDPtr, _$fs.pointer) - .check(); + /// from: `static public int binarySearch(T[] objects, T object, java.util.Comparator comparator)` + static int binarySearch$17<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + $T? object, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$object = object?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + return _binarySearch$17( + _class.reference.pointer, + _id_binarySearch$17 as jni$_.JMethodIDPtr, + _$objects.pointer, + _$object.pointer, + _$comparator.pointer) + .integer; } - static final _id_parallelSort$11 = _class.staticMethodId( - r'parallelSort', - r'([FII)V', + static final _id_compare = _class.staticMethodId( + r'compare', + r'([Z[Z)I', ); - static final _parallelSort$11 = jni$_.ProtectedJniExtensions.lookup< + static final _compare = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - - /// from: `static public void parallelSort(float[] fs, int i, int i1)` - static void parallelSort$11( - jni$_.JFloatArray? fs, - int i, - int i1, - ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - _parallelSort$11(_class.reference.pointer, - _id_parallelSort$11 as jni$_.JMethodIDPtr, _$fs.pointer, i, i1) - .check(); - } - - static final _id_parallelSort$12 = _class.staticMethodId( - r'parallelSort', - r'([D)V', - ); - - static final _parallelSort$12 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public void parallelSort(double[] ds)` - static void parallelSort$12( - jni$_.JDoubleArray? ds, + /// from: `static public int compare(boolean[] zs, boolean[] zs1)` + static int compare( + jni$_.JBooleanArray? zs, + jni$_.JBooleanArray? zs1, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - _parallelSort$12(_class.reference.pointer, - _id_parallelSort$12 as jni$_.JMethodIDPtr, _$ds.pointer) - .check(); + final _$zs = zs?.reference ?? jni$_.jNullReference; + final _$zs1 = zs1?.reference ?? jni$_.jNullReference; + return _compare(_class.reference.pointer, _id_compare as jni$_.JMethodIDPtr, + _$zs.pointer, _$zs1.pointer) + .integer; } - static final _id_parallelSort$13 = _class.staticMethodId( - r'parallelSort', - r'([DII)V', + static final _id_compare$1 = _class.staticMethodId( + r'compare', + r'([ZII[ZII)I', ); - static final _parallelSort$13 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public void parallelSort(double[] ds, int i, int i1)` - static void parallelSort$13( - jni$_.JDoubleArray? ds, + /// from: `static public int compare(boolean[] zs, int i, int i1, boolean[] zs1, int i2, int i3)` + static int compare$1( + jni$_.JBooleanArray? zs, int i, int i1, + jni$_.JBooleanArray? zs1, + int i2, + int i3, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - _parallelSort$13(_class.reference.pointer, - _id_parallelSort$13 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1) - .check(); + final _$zs = zs?.reference ?? jni$_.jNullReference; + final _$zs1 = zs1?.reference ?? jni$_.jNullReference; + return _compare$1( + _class.reference.pointer, + _id_compare$1 as jni$_.JMethodIDPtr, + _$zs.pointer, + i, + i1, + _$zs1.pointer, + i2, + i3) + .integer; } - static final _id_parallelSort$14 = _class.staticMethodId( - r'parallelSort', - r'([Ljava/lang/Comparable;)V', + static final _id_compare$2 = _class.staticMethodId( + r'compare', + r'([B[B)I', ); - static final _parallelSort$14 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + static final _compare$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public void parallelSort(java.lang.Object[] comparables)` - static void parallelSort$14<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? comparables, { - required jni$_.JObjType<$T> T, - }) { - final _$comparables = comparables?.reference ?? jni$_.jNullReference; - _parallelSort$14(_class.reference.pointer, - _id_parallelSort$14 as jni$_.JMethodIDPtr, _$comparables.pointer) - .check(); + /// from: `static public int compare(byte[] bs, byte[] bs1)` + static int compare$2( + jni$_.JByteArray? bs, + jni$_.JByteArray? bs1, + ) { + final _$bs = bs?.reference ?? jni$_.jNullReference; + final _$bs1 = bs1?.reference ?? jni$_.jNullReference; + return _compare$2(_class.reference.pointer, + _id_compare$2 as jni$_.JMethodIDPtr, _$bs.pointer, _$bs1.pointer) + .integer; } - static final _id_parallelSort$15 = _class.staticMethodId( - r'parallelSort', - r'([Ljava/lang/Comparable;II)V', + static final _id_compare$3 = _class.staticMethodId( + r'compare', + r'([BII[BII)I', ); - static final _parallelSort$15 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public void parallelSort(java.lang.Object[] comparables, int i, int i1)` - static void parallelSort$15<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? comparables, + /// from: `static public int compare(byte[] bs, int i, int i1, byte[] bs1, int i2, int i3)` + static int compare$3( + jni$_.JByteArray? bs, int i, - int i1, { - required jni$_.JObjType<$T> T, - }) { - final _$comparables = comparables?.reference ?? jni$_.jNullReference; - _parallelSort$15( + int i1, + jni$_.JByteArray? bs1, + int i2, + int i3, + ) { + final _$bs = bs?.reference ?? jni$_.jNullReference; + final _$bs1 = bs1?.reference ?? jni$_.jNullReference; + return _compare$3( _class.reference.pointer, - _id_parallelSort$15 as jni$_.JMethodIDPtr, - _$comparables.pointer, + _id_compare$3 as jni$_.JMethodIDPtr, + _$bs.pointer, i, - i1) - .check(); + i1, + _$bs1.pointer, + i2, + i3) + .integer; } - static final _id_parallelSort$16 = _class.staticMethodId( - r'parallelSort', - r'([Ljava/lang/Object;Ljava/util/Comparator;)V', + static final _id_compare$4 = _class.staticMethodId( + r'compare', + r'([C[C)I', ); - static final _parallelSort$16 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void parallelSort(java.lang.Object[] objects, java.util.Comparator comparator)` - static void parallelSort$16<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - _parallelSort$16( - _class.reference.pointer, - _id_parallelSort$16 as jni$_.JMethodIDPtr, - _$objects.pointer, - _$comparator.pointer) - .check(); + /// from: `static public int compare(char[] cs, char[] cs1)` + static int compare$4( + jni$_.JCharArray? cs, + jni$_.JCharArray? cs1, + ) { + final _$cs = cs?.reference ?? jni$_.jNullReference; + final _$cs1 = cs1?.reference ?? jni$_.jNullReference; + return _compare$4(_class.reference.pointer, + _id_compare$4 as jni$_.JMethodIDPtr, _$cs.pointer, _$cs1.pointer) + .integer; } - static final _id_parallelSort$17 = _class.staticMethodId( - r'parallelSort', - r'([Ljava/lang/Object;IILjava/util/Comparator;)V', + static final _id_compare$5 = _class.staticMethodId( + r'compare', + r'([CII[CII)I', ); - static final _parallelSort$17 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -29556,138 +30282,173 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + int, + int)>(); - /// from: `static public void parallelSort(java.lang.Object[] objects, int i, int i1, java.util.Comparator comparator)` - static void parallelSort$17<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, + /// from: `static public int compare(char[] cs, int i, int i1, char[] cs1, int i2, int i3)` + static int compare$5( + jni$_.JCharArray? cs, int i, int i1, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - _parallelSort$17( + jni$_.JCharArray? cs1, + int i2, + int i3, + ) { + final _$cs = cs?.reference ?? jni$_.jNullReference; + final _$cs1 = cs1?.reference ?? jni$_.jNullReference; + return _compare$5( _class.reference.pointer, - _id_parallelSort$17 as jni$_.JMethodIDPtr, - _$objects.pointer, + _id_compare$5 as jni$_.JMethodIDPtr, + _$cs.pointer, i, i1, - _$comparator.pointer) - .check(); + _$cs1.pointer, + i2, + i3) + .integer; } - static final _id_sort$14 = _class.staticMethodId( - r'sort', - r'([Ljava/lang/Object;)V', + static final _id_compare$6 = _class.staticMethodId( + r'compare', + r'([D[D)I', ); - static final _sort$14 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticVoidMethod') + static final _compare$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public void sort(java.lang.Object[] objects)` - static void sort$14( - jni$_.JArray? objects, + /// from: `static public int compare(double[] ds, double[] ds1)` + static int compare$6( + jni$_.JDoubleArray? ds, + jni$_.JDoubleArray? ds1, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - _sort$14(_class.reference.pointer, _id_sort$14 as jni$_.JMethodIDPtr, - _$objects.pointer) - .check(); + final _$ds = ds?.reference ?? jni$_.jNullReference; + final _$ds1 = ds1?.reference ?? jni$_.jNullReference; + return _compare$6(_class.reference.pointer, + _id_compare$6 as jni$_.JMethodIDPtr, _$ds.pointer, _$ds1.pointer) + .integer; } - static final _id_sort$15 = _class.staticMethodId( - r'sort', - r'([Ljava/lang/Object;II)V', + static final _id_compare$7 = _class.staticMethodId( + r'compare', + r'([DII[DII)I', ); - static final _sort$15 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public void sort(java.lang.Object[] objects, int i, int i1)` - static void sort$15( - jni$_.JArray? objects, + /// from: `static public int compare(double[] ds, int i, int i1, double[] ds1, int i2, int i3)` + static int compare$7( + jni$_.JDoubleArray? ds, int i, int i1, + jni$_.JDoubleArray? ds1, + int i2, + int i3, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - _sort$15(_class.reference.pointer, _id_sort$15 as jni$_.JMethodIDPtr, - _$objects.pointer, i, i1) - .check(); + final _$ds = ds?.reference ?? jni$_.jNullReference; + final _$ds1 = ds1?.reference ?? jni$_.jNullReference; + return _compare$7( + _class.reference.pointer, + _id_compare$7 as jni$_.JMethodIDPtr, + _$ds.pointer, + i, + i1, + _$ds1.pointer, + i2, + i3) + .integer; } - static final _id_sort$16 = _class.staticMethodId( - r'sort', - r'([Ljava/lang/Object;Ljava/util/Comparator;)V', + static final _id_compare$8 = _class.staticMethodId( + r'compare', + r'([F[F)I', ); - static final _sort$16 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$8 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void sort(java.lang.Object[] objects, java.util.Comparator comparator)` - static void sort$16<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - _sort$16(_class.reference.pointer, _id_sort$16 as jni$_.JMethodIDPtr, - _$objects.pointer, _$comparator.pointer) - .check(); + /// from: `static public int compare(float[] fs, float[] fs1)` + static int compare$8( + jni$_.JFloatArray? fs, + jni$_.JFloatArray? fs1, + ) { + final _$fs = fs?.reference ?? jni$_.jNullReference; + final _$fs1 = fs1?.reference ?? jni$_.jNullReference; + return _compare$8(_class.reference.pointer, + _id_compare$8 as jni$_.JMethodIDPtr, _$fs.pointer, _$fs1.pointer) + .integer; } - static final _id_sort$17 = _class.staticMethodId( - r'sort', - r'([Ljava/lang/Object;IILjava/util/Comparator;)V', + static final _id_compare$9 = _class.staticMethodId( + r'compare', + r'([FII[FII)I', ); - static final _sort$17 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$9 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -29695,78 +30456,52 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + int, + int)>(); - /// from: `static public void sort(java.lang.Object[] objects, int i, int i1, java.util.Comparator comparator)` - static void sort$17<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, + /// from: `static public int compare(float[] fs, int i, int i1, float[] fs1, int i2, int i3)` + static int compare$9( + jni$_.JFloatArray? fs, int i, int i1, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - _sort$17(_class.reference.pointer, _id_sort$17 as jni$_.JMethodIDPtr, - _$objects.pointer, i, i1, _$comparator.pointer) - .check(); - } - - static final _id_parallelPrefix = _class.staticMethodId( - r'parallelPrefix', - r'([Ljava/lang/Object;Ljava/util/function/BinaryOperator;)V', - ); - - static final _parallelPrefix = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); - - /// from: `static public void parallelPrefix(java.lang.Object[] objects, java.util.function.BinaryOperator binaryOperator)` - static void parallelPrefix<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - jni$_.JObject? binaryOperator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$binaryOperator = binaryOperator?.reference ?? jni$_.jNullReference; - _parallelPrefix( + jni$_.JFloatArray? fs1, + int i2, + int i3, + ) { + final _$fs = fs?.reference ?? jni$_.jNullReference; + final _$fs1 = fs1?.reference ?? jni$_.jNullReference; + return _compare$9( _class.reference.pointer, - _id_parallelPrefix as jni$_.JMethodIDPtr, - _$objects.pointer, - _$binaryOperator.pointer) - .check(); + _id_compare$9 as jni$_.JMethodIDPtr, + _$fs.pointer, + i, + i1, + _$fs1.pointer, + i2, + i3) + .integer; } - static final _id_parallelPrefix$1 = _class.staticMethodId( - r'parallelPrefix', - r'([Ljava/lang/Object;IILjava/util/function/BinaryOperator;)V', + static final _id_compare$10 = _class.staticMethodId( + r'compare', + r'([III[III)I', ); - static final _parallelPrefix$1 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$10 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -29774,83 +30509,86 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + int, + int)>(); - /// from: `static public void parallelPrefix(java.lang.Object[] objects, int i, int i1, java.util.function.BinaryOperator binaryOperator)` - static void parallelPrefix$1<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, + /// from: `static public int compare(int[] is, int i, int i1, int[] is1, int i2, int i3)` + static int compare$10( + jni$_.JIntArray? is$, int i, int i1, - jni$_.JObject? binaryOperator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$binaryOperator = binaryOperator?.reference ?? jni$_.jNullReference; - _parallelPrefix$1( + jni$_.JIntArray? is1, + int i2, + int i3, + ) { + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$is1 = is1?.reference ?? jni$_.jNullReference; + return _compare$10( _class.reference.pointer, - _id_parallelPrefix$1 as jni$_.JMethodIDPtr, - _$objects.pointer, + _id_compare$10 as jni$_.JMethodIDPtr, + _$is$.pointer, i, i1, - _$binaryOperator.pointer) - .check(); + _$is1.pointer, + i2, + i3) + .integer; } - static final _id_parallelPrefix$2 = _class.staticMethodId( - r'parallelPrefix', - r'([JLjava/util/function/LongBinaryOperator;)V', + static final _id_compare$11 = _class.staticMethodId( + r'compare', + r'([I[I)I', ); - static final _parallelPrefix$2 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$11 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void parallelPrefix(long[] js, java.util.function.LongBinaryOperator longBinaryOperator)` - static void parallelPrefix$2( - jni$_.JLongArray? js, - jni$_.JObject? longBinaryOperator, + /// from: `static public int compare(int[] is, int[] is1)` + static int compare$11( + jni$_.JIntArray? is$, + jni$_.JIntArray? is1, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - final _$longBinaryOperator = - longBinaryOperator?.reference ?? jni$_.jNullReference; - _parallelPrefix$2( - _class.reference.pointer, - _id_parallelPrefix$2 as jni$_.JMethodIDPtr, - _$js.pointer, - _$longBinaryOperator.pointer) - .check(); + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$is1 = is1?.reference ?? jni$_.jNullReference; + return _compare$11(_class.reference.pointer, + _id_compare$11 as jni$_.JMethodIDPtr, _$is$.pointer, _$is1.pointer) + .integer; } - static final _id_parallelPrefix$3 = _class.staticMethodId( - r'parallelPrefix', - r'([JIILjava/util/function/LongBinaryOperator;)V', + static final _id_compare$12 = _class.staticMethodId( + r'compare', + r'([JII[JII)I', ); - static final _parallelPrefix$3 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$12 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -29858,83 +30596,86 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + int, + int)>(); - /// from: `static public void parallelPrefix(long[] js, int i, int i1, java.util.function.LongBinaryOperator longBinaryOperator)` - static void parallelPrefix$3( + /// from: `static public int compare(long[] js, int i, int i1, long[] js1, int i2, int i3)` + static int compare$12( jni$_.JLongArray? js, int i, int i1, - jni$_.JObject? longBinaryOperator, + jni$_.JLongArray? js1, + int i2, + int i3, ) { final _$js = js?.reference ?? jni$_.jNullReference; - final _$longBinaryOperator = - longBinaryOperator?.reference ?? jni$_.jNullReference; - _parallelPrefix$3( + final _$js1 = js1?.reference ?? jni$_.jNullReference; + return _compare$12( _class.reference.pointer, - _id_parallelPrefix$3 as jni$_.JMethodIDPtr, + _id_compare$12 as jni$_.JMethodIDPtr, _$js.pointer, i, i1, - _$longBinaryOperator.pointer) - .check(); + _$js1.pointer, + i2, + i3) + .integer; } - static final _id_parallelPrefix$4 = _class.staticMethodId( - r'parallelPrefix', - r'([DLjava/util/function/DoubleBinaryOperator;)V', + static final _id_compare$13 = _class.staticMethodId( + r'compare', + r'([J[J)I', ); - static final _parallelPrefix$4 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$13 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void parallelPrefix(double[] ds, java.util.function.DoubleBinaryOperator doubleBinaryOperator)` - static void parallelPrefix$4( - jni$_.JDoubleArray? ds, - jni$_.JObject? doubleBinaryOperator, + /// from: `static public int compare(long[] js, long[] js1)` + static int compare$13( + jni$_.JLongArray? js, + jni$_.JLongArray? js1, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$doubleBinaryOperator = - doubleBinaryOperator?.reference ?? jni$_.jNullReference; - _parallelPrefix$4( - _class.reference.pointer, - _id_parallelPrefix$4 as jni$_.JMethodIDPtr, - _$ds.pointer, - _$doubleBinaryOperator.pointer) - .check(); + final _$js = js?.reference ?? jni$_.jNullReference; + final _$js1 = js1?.reference ?? jni$_.jNullReference; + return _compare$13(_class.reference.pointer, + _id_compare$13 as jni$_.JMethodIDPtr, _$js.pointer, _$js1.pointer) + .integer; } - static final _id_parallelPrefix$5 = _class.staticMethodId( - r'parallelPrefix', - r'([DIILjava/util/function/DoubleBinaryOperator;)V', + static final _id_compare$14 = _class.staticMethodId( + r'compare', + r'([SII[SII)I', ); - static final _parallelPrefix$5 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$14 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -29942,83 +30683,86 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + int, + int)>(); - /// from: `static public void parallelPrefix(double[] ds, int i, int i1, java.util.function.DoubleBinaryOperator doubleBinaryOperator)` - static void parallelPrefix$5( - jni$_.JDoubleArray? ds, + /// from: `static public int compare(short[] ss, int i, int i1, short[] ss1, int i2, int i3)` + static int compare$14( + jni$_.JShortArray? ss, int i, int i1, - jni$_.JObject? doubleBinaryOperator, + jni$_.JShortArray? ss1, + int i2, + int i3, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$doubleBinaryOperator = - doubleBinaryOperator?.reference ?? jni$_.jNullReference; - _parallelPrefix$5( + final _$ss = ss?.reference ?? jni$_.jNullReference; + final _$ss1 = ss1?.reference ?? jni$_.jNullReference; + return _compare$14( _class.reference.pointer, - _id_parallelPrefix$5 as jni$_.JMethodIDPtr, - _$ds.pointer, + _id_compare$14 as jni$_.JMethodIDPtr, + _$ss.pointer, i, i1, - _$doubleBinaryOperator.pointer) - .check(); + _$ss1.pointer, + i2, + i3) + .integer; } - static final _id_parallelPrefix$6 = _class.staticMethodId( - r'parallelPrefix', - r'([ILjava/util/function/IntBinaryOperator;)V', + static final _id_compare$15 = _class.staticMethodId( + r'compare', + r'([S[S)I', ); - static final _parallelPrefix$6 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$15 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void parallelPrefix(int[] is, java.util.function.IntBinaryOperator intBinaryOperator)` - static void parallelPrefix$6( - jni$_.JIntArray? is$, - jni$_.JObject? intBinaryOperator, + /// from: `static public int compare(short[] ss, short[] ss1)` + static int compare$15( + jni$_.JShortArray? ss, + jni$_.JShortArray? ss1, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$intBinaryOperator = - intBinaryOperator?.reference ?? jni$_.jNullReference; - _parallelPrefix$6( - _class.reference.pointer, - _id_parallelPrefix$6 as jni$_.JMethodIDPtr, - _$is$.pointer, - _$intBinaryOperator.pointer) - .check(); + final _$ss = ss?.reference ?? jni$_.jNullReference; + final _$ss1 = ss1?.reference ?? jni$_.jNullReference; + return _compare$15(_class.reference.pointer, + _id_compare$15 as jni$_.JMethodIDPtr, _$ss.pointer, _$ss1.pointer) + .integer; } - static final _id_parallelPrefix$7 = _class.staticMethodId( - r'parallelPrefix', - r'([IIILjava/util/function/IntBinaryOperator;)V', + static final _id_compare$16 = _class.staticMethodId( + r'compare', + r'([Ljava/lang/Comparable;II[Ljava/lang/Comparable;II)I', ); - static final _parallelPrefix$7 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$16 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -30026,71 +30770,51 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + int, + int)>(); - /// from: `static public void parallelPrefix(int[] is, int i, int i1, java.util.function.IntBinaryOperator intBinaryOperator)` - static void parallelPrefix$7( - jni$_.JIntArray? is$, + /// from: `static public int compare(T[] comparables, int i, int i1, T[] comparables1, int i2, int i3)` + static int compare$16<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? comparables, int i, int i1, - jni$_.JObject? intBinaryOperator, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$intBinaryOperator = - intBinaryOperator?.reference ?? jni$_.jNullReference; - _parallelPrefix$7( + jni$_.JArray<$T?>? comparables1, + int i2, + int i3, { + required jni$_.JType<$T> T, + }) { + final _$comparables = comparables?.reference ?? jni$_.jNullReference; + final _$comparables1 = comparables1?.reference ?? jni$_.jNullReference; + return _compare$16( _class.reference.pointer, - _id_parallelPrefix$7 as jni$_.JMethodIDPtr, - _$is$.pointer, + _id_compare$16 as jni$_.JMethodIDPtr, + _$comparables.pointer, i, i1, - _$intBinaryOperator.pointer) - .check(); - } - - static final _id_binarySearch = _class.staticMethodId( - r'binarySearch', - r'([JJ)I', - ); - - static final _binarySearch = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - - /// from: `static public int binarySearch(long[] js, long j)` - static int binarySearch( - jni$_.JLongArray? js, - int j, - ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _binarySearch(_class.reference.pointer, - _id_binarySearch as jni$_.JMethodIDPtr, _$js.pointer, j) + _$comparables1.pointer, + i2, + i3) .integer; } - static final _id_binarySearch$1 = _class.staticMethodId( - r'binarySearch', - r'([JIIJ)I', + static final _id_compare$17 = _class.staticMethodId( + r'compare', + r'([Ljava/lang/Object;II[Ljava/lang/Object;IILjava/util/Comparator;)I', ); - static final _binarySearch$1 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$17 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30100,59 +30824,56 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Int64 + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int, + jni$_.Pointer)>(); - /// from: `static public int binarySearch(long[] js, int i, int i1, long j)` - static int binarySearch$1( - jni$_.JLongArray? js, + /// from: `static public int compare(T[] objects, int i, int i1, T[] objects1, int i2, int i3, java.util.Comparator comparator)` + static int compare$17<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, int i, int i1, - int j, - ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _binarySearch$1(_class.reference.pointer, - _id_binarySearch$1 as jni$_.JMethodIDPtr, _$js.pointer, i, i1, j) - .integer; - } - - static final _id_binarySearch$2 = _class.staticMethodId( - r'binarySearch', - r'([II)I', - ); - - static final _binarySearch$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - - /// from: `static public int binarySearch(int[] is, int i)` - static int binarySearch$2( - jni$_.JIntArray? is$, - int i, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _binarySearch$2(_class.reference.pointer, - _id_binarySearch$2 as jni$_.JMethodIDPtr, _$is$.pointer, i) + jni$_.JArray<$T?>? objects1, + int i2, + int i3, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + return _compare$17( + _class.reference.pointer, + _id_compare$17 as jni$_.JMethodIDPtr, + _$objects.pointer, + i, + i1, + _$objects1.pointer, + i2, + i3, + _$comparator.pointer) .integer; } - static final _id_binarySearch$3 = _class.staticMethodId( - r'binarySearch', - r'([IIII)I', + static final _id_compare$18 = _class.staticMethodId( + r'compare', + r'([Ljava/lang/Comparable;[Ljava/lang/Comparable;)I', ); - static final _binarySearch$3 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$18 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30160,61 +30881,37 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 + jni$_.Pointer )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - - /// from: `static public int binarySearch(int[] is, int i, int i1, int i2)` - static int binarySearch$3( - jni$_.JIntArray? is$, - int i, - int i1, - int i2, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _binarySearch$3(_class.reference.pointer, - _id_binarySearch$3 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1, i2) - .integer; - } - - static final _id_binarySearch$4 = _class.staticMethodId( - r'binarySearch', - r'([SS)I', - ); - - static final _binarySearch$4 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public int binarySearch(short[] ss, short s)` - static int binarySearch$4( - jni$_.JShortArray? ss, - int s, - ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - return _binarySearch$4(_class.reference.pointer, - _id_binarySearch$4 as jni$_.JMethodIDPtr, _$ss.pointer, s) + /// from: `static public int compare(T[] comparables, T[] comparables1)` + static int compare$18<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? comparables, + jni$_.JArray<$T?>? comparables1, { + required jni$_.JType<$T> T, + }) { + final _$comparables = comparables?.reference ?? jni$_.jNullReference; + final _$comparables1 = comparables1?.reference ?? jni$_.jNullReference; + return _compare$18( + _class.reference.pointer, + _id_compare$18 as jni$_.JMethodIDPtr, + _$comparables.pointer, + _$comparables1.pointer) .integer; } - static final _id_binarySearch$5 = _class.staticMethodId( - r'binarySearch', - r'([SIIS)I', + static final _id_compare$19 = _class.staticMethodId( + r'compare', + r'([Ljava/lang/Object;[Ljava/lang/Object;Ljava/util/Comparator;)I', ); - static final _binarySearch$5 = jni$_.ProtectedJniExtensions.lookup< + static final _compare$19 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30222,61 +30919,42 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 + jni$_.Pointer, + jni$_.Pointer )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - - /// from: `static public int binarySearch(short[] ss, int i, int i1, short s)` - static int binarySearch$5( - jni$_.JShortArray? ss, - int i, - int i1, - int s, - ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - return _binarySearch$5(_class.reference.pointer, - _id_binarySearch$5 as jni$_.JMethodIDPtr, _$ss.pointer, i, i1, s) - .integer; - } - - static final _id_binarySearch$6 = _class.staticMethodId( - r'binarySearch', - r'([CC)I', - ); - - static final _binarySearch$6 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public int binarySearch(char[] cs, char c)` - static int binarySearch$6( - jni$_.JCharArray? cs, - int c, - ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - return _binarySearch$6(_class.reference.pointer, - _id_binarySearch$6 as jni$_.JMethodIDPtr, _$cs.pointer, c) + /// from: `static public int compare(T[] objects, T[] objects1, java.util.Comparator comparator)` + static int compare$19<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + jni$_.JArray<$T?>? objects1, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + return _compare$19( + _class.reference.pointer, + _id_compare$19 as jni$_.JMethodIDPtr, + _$objects.pointer, + _$objects1.pointer, + _$comparator.pointer) .integer; } - static final _id_binarySearch$7 = _class.staticMethodId( - r'binarySearch', - r'([CIIC)I', + static final _id_compareUnsigned = _class.staticMethodId( + r'compareUnsigned', + r'([B[B)I', ); - static final _binarySearch$7 = jni$_.ProtectedJniExtensions.lookup< + static final _compareUnsigned = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30284,61 +30962,36 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 + jni$_.Pointer )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - - /// from: `static public int binarySearch(char[] cs, int i, int i1, char c)` - static int binarySearch$7( - jni$_.JCharArray? cs, - int i, - int i1, - int c, - ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - return _binarySearch$7(_class.reference.pointer, - _id_binarySearch$7 as jni$_.JMethodIDPtr, _$cs.pointer, i, i1, c) - .integer; - } - - static final _id_binarySearch$8 = _class.staticMethodId( - r'binarySearch', - r'([BB)I', - ); - - static final _binarySearch$8 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public int binarySearch(byte[] bs, byte b)` - static int binarySearch$8( + /// from: `static public int compareUnsigned(byte[] bs, byte[] bs1)` + static int compareUnsigned( jni$_.JByteArray? bs, - int b, + jni$_.JByteArray? bs1, ) { final _$bs = bs?.reference ?? jni$_.jNullReference; - return _binarySearch$8(_class.reference.pointer, - _id_binarySearch$8 as jni$_.JMethodIDPtr, _$bs.pointer, b) + final _$bs1 = bs1?.reference ?? jni$_.jNullReference; + return _compareUnsigned( + _class.reference.pointer, + _id_compareUnsigned as jni$_.JMethodIDPtr, + _$bs.pointer, + _$bs1.pointer) .integer; } - static final _id_binarySearch$9 = _class.staticMethodId( - r'binarySearch', - r'([BIIB)I', + static final _id_compareUnsigned$1 = _class.staticMethodId( + r'compareUnsigned', + r'([BII[BII)I', ); - static final _binarySearch$9 = jni$_.ProtectedJniExtensions.lookup< + static final _compareUnsigned$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30348,71 +31001,9 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - - /// from: `static public int binarySearch(byte[] bs, int i, int i1, byte b)` - static int binarySearch$9( - jni$_.JByteArray? bs, - int i, - int i1, - int b, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - return _binarySearch$9(_class.reference.pointer, - _id_binarySearch$9 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1, b) - .integer; - } - - static final _id_binarySearch$10 = _class.staticMethodId( - r'binarySearch', - r'([DD)I', - ); - - static final _binarySearch$10 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Double - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); - - /// from: `static public int binarySearch(double[] ds, double d)` - static int binarySearch$10( - jni$_.JDoubleArray? ds, - double d, - ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - return _binarySearch$10(_class.reference.pointer, - _id_binarySearch$10 as jni$_.JMethodIDPtr, _$ds.pointer, d) - .integer; - } - - static final _id_binarySearch$11 = _class.staticMethodId( - r'binarySearch', - r'([DIID)I', - ); - - static final _binarySearch$11 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( jni$_.Pointer, jni$_.Int32, - jni$_.Int32, - jni$_.Double + jni$_.Int32 )>)>>('globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function( @@ -30421,133 +31012,39 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, int, int, - double)>(); - - /// from: `static public int binarySearch(double[] ds, int i, int i1, double d)` - static int binarySearch$11( - jni$_.JDoubleArray? ds, - int i, - int i1, - double d, - ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - return _binarySearch$11(_class.reference.pointer, - _id_binarySearch$11 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1, d) - .integer; - } - - static final _id_binarySearch$12 = _class.staticMethodId( - r'binarySearch', - r'([FF)I', - ); - - static final _binarySearch$12 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Double - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); - - /// from: `static public int binarySearch(float[] fs, float f)` - static int binarySearch$12( - jni$_.JFloatArray? fs, - double f, - ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - return _binarySearch$12(_class.reference.pointer, - _id_binarySearch$12 as jni$_.JMethodIDPtr, _$fs.pointer, f) - .integer; - } - - static final _id_binarySearch$13 = _class.staticMethodId( - r'binarySearch', - r'([FIIF)I', - ); - - static final _binarySearch$13 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Double - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, - int, - double)>(); + int)>(); - /// from: `static public int binarySearch(float[] fs, int i, int i1, float f)` - static int binarySearch$13( - jni$_.JFloatArray? fs, + /// from: `static public int compareUnsigned(byte[] bs, int i, int i1, byte[] bs1, int i2, int i3)` + static int compareUnsigned$1( + jni$_.JByteArray? bs, int i, int i1, - double f, - ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - return _binarySearch$13(_class.reference.pointer, - _id_binarySearch$13 as jni$_.JMethodIDPtr, _$fs.pointer, i, i1, f) - .integer; - } - - static final _id_binarySearch$14 = _class.staticMethodId( - r'binarySearch', - r'([Ljava/lang/Object;Ljava/lang/Object;)I', - ); - - static final _binarySearch$14 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); - - /// from: `static public int binarySearch(java.lang.Object[] objects, java.lang.Object object)` - static int binarySearch$14( - jni$_.JArray? objects, - jni$_.JObject? object, + jni$_.JByteArray? bs1, + int i2, + int i3, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$object = object?.reference ?? jni$_.jNullReference; - return _binarySearch$14( + final _$bs = bs?.reference ?? jni$_.jNullReference; + final _$bs1 = bs1?.reference ?? jni$_.jNullReference; + return _compareUnsigned$1( _class.reference.pointer, - _id_binarySearch$14 as jni$_.JMethodIDPtr, - _$objects.pointer, - _$object.pointer) + _id_compareUnsigned$1 as jni$_.JMethodIDPtr, + _$bs.pointer, + i, + i1, + _$bs1.pointer, + i2, + i3) .integer; } - static final _id_binarySearch$15 = _class.staticMethodId( - r'binarySearch', - r'([Ljava/lang/Object;IILjava/lang/Object;)I', + static final _id_compareUnsigned$2 = _class.staticMethodId( + r'compareUnsigned', + r'([III[III)I', ); - static final _binarySearch$15 = jni$_.ProtectedJniExtensions.lookup< + static final _compareUnsigned$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30557,7 +31054,9 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Pointer + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function( @@ -30566,40 +31065,45 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + int, + int)>(); - /// from: `static public int binarySearch(java.lang.Object[] objects, int i, int i1, java.lang.Object object)` - static int binarySearch$15( - jni$_.JArray? objects, + /// from: `static public int compareUnsigned(int[] is, int i, int i1, int[] is1, int i2, int i3)` + static int compareUnsigned$2( + jni$_.JIntArray? is$, int i, int i1, - jni$_.JObject? object, + jni$_.JIntArray? is1, + int i2, + int i3, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$object = object?.reference ?? jni$_.jNullReference; - return _binarySearch$15( + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$is1 = is1?.reference ?? jni$_.jNullReference; + return _compareUnsigned$2( _class.reference.pointer, - _id_binarySearch$15 as jni$_.JMethodIDPtr, - _$objects.pointer, + _id_compareUnsigned$2 as jni$_.JMethodIDPtr, + _$is$.pointer, i, i1, - _$object.pointer) + _$is1.pointer, + i2, + i3) .integer; } - static final _id_binarySearch$16 = _class.staticMethodId( - r'binarySearch', - r'([Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)I', + static final _id_compareUnsigned$3 = _class.staticMethodId( + r'compareUnsigned', + r'([I[I)I', ); - static final _binarySearch$16 = jni$_.ProtectedJniExtensions.lookup< + static final _compareUnsigned$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, jni$_.Pointer, jni$_.Pointer )>)>>('globalEnv_CallStaticIntMethod') @@ -30608,34 +31112,29 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public int binarySearch(java.lang.Object[] objects, T object, java.util.Comparator comparator)` - static int binarySearch$16<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - $T? object, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$object = object?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - return _binarySearch$16( + /// from: `static public int compareUnsigned(int[] is, int[] is1)` + static int compareUnsigned$3( + jni$_.JIntArray? is$, + jni$_.JIntArray? is1, + ) { + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$is1 = is1?.reference ?? jni$_.jNullReference; + return _compareUnsigned$3( _class.reference.pointer, - _id_binarySearch$16 as jni$_.JMethodIDPtr, - _$objects.pointer, - _$object.pointer, - _$comparator.pointer) + _id_compareUnsigned$3 as jni$_.JMethodIDPtr, + _$is$.pointer, + _$is1.pointer) .integer; } - static final _id_binarySearch$17 = _class.staticMethodId( - r'binarySearch', - r'([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I', + static final _id_compareUnsigned$4 = _class.staticMethodId( + r'compareUnsigned', + r'([JII[JII)I', ); - static final _binarySearch$17 = jni$_.ProtectedJniExtensions.lookup< + static final _compareUnsigned$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30646,7 +31145,8 @@ class Arrays extends jni$_.JObject { jni$_.Int32, jni$_.Int32, jni$_.Pointer, - jni$_.Pointer + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function( @@ -30656,37 +31156,38 @@ class Arrays extends jni$_.JObject { int, int, jni$_.Pointer, - jni$_.Pointer)>(); + int, + int)>(); - /// from: `static public int binarySearch(java.lang.Object[] objects, int i, int i1, T object, java.util.Comparator comparator)` - static int binarySearch$17<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, + /// from: `static public int compareUnsigned(long[] js, int i, int i1, long[] js1, int i2, int i3)` + static int compareUnsigned$4( + jni$_.JLongArray? js, int i, int i1, - $T? object, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$object = object?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - return _binarySearch$17( + jni$_.JLongArray? js1, + int i2, + int i3, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + final _$js1 = js1?.reference ?? jni$_.jNullReference; + return _compareUnsigned$4( _class.reference.pointer, - _id_binarySearch$17 as jni$_.JMethodIDPtr, - _$objects.pointer, + _id_compareUnsigned$4 as jni$_.JMethodIDPtr, + _$js.pointer, i, i1, - _$object.pointer, - _$comparator.pointer) + _$js1.pointer, + i2, + i3) .integer; } - static final _id_equals = _class.staticMethodId( - r'equals', - r'([J[J)Z', + static final _id_compareUnsigned$5 = _class.staticMethodId( + r'compareUnsigned', + r'([J[J)I', ); - static final _equals = jni$_.ProtectedJniExtensions.lookup< + static final _compareUnsigned$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30695,7 +31196,7 @@ class Arrays extends jni$_.JObject { ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticBooleanMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30703,24 +31204,27 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public boolean equals(long[] js, long[] js1)` - static bool equals( + /// from: `static public int compareUnsigned(long[] js, long[] js1)` + static int compareUnsigned$5( jni$_.JLongArray? js, jni$_.JLongArray? js1, ) { final _$js = js?.reference ?? jni$_.jNullReference; final _$js1 = js1?.reference ?? jni$_.jNullReference; - return _equals(_class.reference.pointer, _id_equals as jni$_.JMethodIDPtr, - _$js.pointer, _$js1.pointer) - .boolean; + return _compareUnsigned$5( + _class.reference.pointer, + _id_compareUnsigned$5 as jni$_.JMethodIDPtr, + _$js.pointer, + _$js1.pointer) + .integer; } - static final _id_equals$1 = _class.staticMethodId( - r'equals', - r'([JII[JII)Z', + static final _id_compareUnsigned$6 = _class.staticMethodId( + r'compareUnsigned', + r'([SII[SII)I', ); - static final _equals$1 = jni$_.ProtectedJniExtensions.lookup< + static final _compareUnsigned$6 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30733,7 +31237,7 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticBooleanMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30745,35 +31249,35 @@ class Arrays extends jni$_.JObject { int, int)>(); - /// from: `static public boolean equals(long[] js, int i, int i1, long[] js1, int i2, int i3)` - static bool equals$1( - jni$_.JLongArray? js, + /// from: `static public int compareUnsigned(short[] ss, int i, int i1, short[] ss1, int i2, int i3)` + static int compareUnsigned$6( + jni$_.JShortArray? ss, int i, int i1, - jni$_.JLongArray? js1, + jni$_.JShortArray? ss1, int i2, int i3, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - final _$js1 = js1?.reference ?? jni$_.jNullReference; - return _equals$1( + final _$ss = ss?.reference ?? jni$_.jNullReference; + final _$ss1 = ss1?.reference ?? jni$_.jNullReference; + return _compareUnsigned$6( _class.reference.pointer, - _id_equals$1 as jni$_.JMethodIDPtr, - _$js.pointer, + _id_compareUnsigned$6 as jni$_.JMethodIDPtr, + _$ss.pointer, i, i1, - _$js1.pointer, + _$ss1.pointer, i2, i3) - .boolean; + .integer; } - static final _id_equals$2 = _class.staticMethodId( - r'equals', - r'([I[I)Z', + static final _id_compareUnsigned$7 = _class.staticMethodId( + r'compareUnsigned', + r'([S[S)I', ); - static final _equals$2 = jni$_.ProtectedJniExtensions.lookup< + static final _compareUnsigned$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30782,7 +31286,7 @@ class Arrays extends jni$_.JObject { ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticBooleanMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30790,24 +31294,291 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public boolean equals(int[] is, int[] is1)` - static bool equals$2( - jni$_.JIntArray? is$, - jni$_.JIntArray? is1, + /// from: `static public int compareUnsigned(short[] ss, short[] ss1)` + static int compareUnsigned$7( + jni$_.JShortArray? ss, + jni$_.JShortArray? ss1, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$is1 = is1?.reference ?? jni$_.jNullReference; - return _equals$2(_class.reference.pointer, - _id_equals$2 as jni$_.JMethodIDPtr, _$is$.pointer, _$is1.pointer) - .boolean; + final _$ss = ss?.reference ?? jni$_.jNullReference; + final _$ss1 = ss1?.reference ?? jni$_.jNullReference; + return _compareUnsigned$7( + _class.reference.pointer, + _id_compareUnsigned$7 as jni$_.JMethodIDPtr, + _$ss.pointer, + _$ss1.pointer) + .integer; } - static final _id_equals$3 = _class.staticMethodId( - r'equals', - r'([III[III)Z', + static final _id_copyOf = _class.staticMethodId( + r'copyOf', + r'([ZI)[Z', ); - static final _equals$3 = jni$_.ProtectedJniExtensions.lookup< + static final _copyOf = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public boolean[] copyOf(boolean[] zs, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JBooleanArray? copyOf( + jni$_.JBooleanArray? zs, + int i, + ) { + final _$zs = zs?.reference ?? jni$_.jNullReference; + return _copyOf(_class.reference.pointer, _id_copyOf as jni$_.JMethodIDPtr, + _$zs.pointer, i) + .object( + const jni$_.$JBooleanArray$NullableType$()); + } + + static final _id_copyOf$1 = _class.staticMethodId( + r'copyOf', + r'([BI)[B', + ); + + static final _copyOf$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public byte[] copyOf(byte[] bs, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JByteArray? copyOf$1( + jni$_.JByteArray? bs, + int i, + ) { + final _$bs = bs?.reference ?? jni$_.jNullReference; + return _copyOf$1(_class.reference.pointer, + _id_copyOf$1 as jni$_.JMethodIDPtr, _$bs.pointer, i) + .object(const jni$_.$JByteArray$NullableType$()); + } + + static final _id_copyOf$2 = _class.staticMethodId( + r'copyOf', + r'([CI)[C', + ); + + static final _copyOf$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public char[] copyOf(char[] cs, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JCharArray? copyOf$2( + jni$_.JCharArray? cs, + int i, + ) { + final _$cs = cs?.reference ?? jni$_.jNullReference; + return _copyOf$2(_class.reference.pointer, + _id_copyOf$2 as jni$_.JMethodIDPtr, _$cs.pointer, i) + .object(const jni$_.$JCharArray$NullableType$()); + } + + static final _id_copyOf$3 = _class.staticMethodId( + r'copyOf', + r'([DI)[D', + ); + + static final _copyOf$3 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public double[] copyOf(double[] ds, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JDoubleArray? copyOf$3( + jni$_.JDoubleArray? ds, + int i, + ) { + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _copyOf$3(_class.reference.pointer, + _id_copyOf$3 as jni$_.JMethodIDPtr, _$ds.pointer, i) + .object(const jni$_.$JDoubleArray$NullableType$()); + } + + static final _id_copyOf$4 = _class.staticMethodId( + r'copyOf', + r'([FI)[F', + ); + + static final _copyOf$4 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public float[] copyOf(float[] fs, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JFloatArray? copyOf$4( + jni$_.JFloatArray? fs, + int i, + ) { + final _$fs = fs?.reference ?? jni$_.jNullReference; + return _copyOf$4(_class.reference.pointer, + _id_copyOf$4 as jni$_.JMethodIDPtr, _$fs.pointer, i) + .object(const jni$_.$JFloatArray$NullableType$()); + } + + static final _id_copyOf$5 = _class.staticMethodId( + r'copyOf', + r'([II)[I', + ); + + static final _copyOf$5 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public int[] copyOf(int[] is, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JIntArray? copyOf$5( + jni$_.JIntArray? is$, + int i, + ) { + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _copyOf$5(_class.reference.pointer, + _id_copyOf$5 as jni$_.JMethodIDPtr, _$is$.pointer, i) + .object(const jni$_.$JIntArray$NullableType$()); + } + + static final _id_copyOf$6 = _class.staticMethodId( + r'copyOf', + r'([JI)[J', + ); + + static final _copyOf$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public long[] copyOf(long[] js, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JLongArray? copyOf$6( + jni$_.JLongArray? js, + int i, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + return _copyOf$6(_class.reference.pointer, + _id_copyOf$6 as jni$_.JMethodIDPtr, _$js.pointer, i) + .object(const jni$_.$JLongArray$NullableType$()); + } + + static final _id_copyOf$7 = _class.staticMethodId( + r'copyOf', + r'([SI)[S', + ); + + static final _copyOf$7 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public short[] copyOf(short[] ss, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JShortArray? copyOf$7( + jni$_.JShortArray? ss, + int i, + ) { + final _$ss = ss?.reference ?? jni$_.jNullReference; + return _copyOf$7(_class.reference.pointer, + _id_copyOf$7 as jni$_.JMethodIDPtr, _$ss.pointer, i) + .object(const jni$_.$JShortArray$NullableType$()); + } + + static final _id_copyOf$8 = _class.staticMethodId( + r'copyOf', + r'([Ljava/lang/Object;I)[Ljava/lang/Object;', + ); + + static final _copyOf$8 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public T[] copyOf(T[] objects, int i)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JArray<$T?>? copyOf$8<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + int i, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _copyOf$8(_class.reference.pointer, + _id_copyOf$8 as jni$_.JMethodIDPtr, _$objects.pointer, i) + .object?>( + jni$_.$JArray$NullableType$<$T?>(T.nullableType)); + } + + static final _id_copyOf$9 = _class.staticMethodId( + r'copyOf', + r'([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;', + ); + + static final _copyOf$9 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30816,51 +31587,44 @@ class Arrays extends jni$_.JObject { ( jni$_.Pointer, jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticBooleanMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.Pointer)>(); - /// from: `static public boolean equals(int[] is, int i, int i1, int[] is1, int i2, int i3)` - static bool equals$3( - jni$_.JIntArray? is$, + /// from: `static public T[] copyOf(U[] objects, int i, java.lang.Class class)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JArray<$T?>? + copyOf$9<$T extends jni$_.JObject?, $U extends jni$_.JObject?>( + jni$_.JArray<$U?>? objects, int i, - int i1, - jni$_.JIntArray? is1, - int i2, - int i3, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$is1 = is1?.reference ?? jni$_.jNullReference; - return _equals$3( + jni$_.JObject? class$, { + required jni$_.JType<$T> T, + required jni$_.JType<$U> U, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; + return _copyOf$9( _class.reference.pointer, - _id_equals$3 as jni$_.JMethodIDPtr, - _$is$.pointer, + _id_copyOf$9 as jni$_.JMethodIDPtr, + _$objects.pointer, i, - i1, - _$is1.pointer, - i2, - i3) - .boolean; + _$class$.pointer) + .object?>( + jni$_.$JArray$NullableType$<$T?>(T.nullableType)); } - static final _id_equals$4 = _class.staticMethodId( - r'equals', - r'([S[S)Z', + static final _id_copyOfRange = _class.staticMethodId( + r'copyOfRange', + r'([ZII)[Z', ); - static final _equals$4 = jni$_.ProtectedJniExtensions.lookup< + static final _copyOfRange = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30868,86 +31632,66 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticBooleanMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public boolean equals(short[] ss, short[] ss1)` - static bool equals$4( - jni$_.JShortArray? ss, - jni$_.JShortArray? ss1, + /// from: `static public boolean[] copyOfRange(boolean[] zs, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JBooleanArray? copyOfRange( + jni$_.JBooleanArray? zs, + int i, + int i1, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - final _$ss1 = ss1?.reference ?? jni$_.jNullReference; - return _equals$4(_class.reference.pointer, - _id_equals$4 as jni$_.JMethodIDPtr, _$ss.pointer, _$ss1.pointer) - .boolean; + final _$zs = zs?.reference ?? jni$_.jNullReference; + return _copyOfRange(_class.reference.pointer, + _id_copyOfRange as jni$_.JMethodIDPtr, _$zs.pointer, i, i1) + .object( + const jni$_.$JBooleanArray$NullableType$()); } - static final _id_equals$5 = _class.staticMethodId( - r'equals', - r'([SII[SII)Z', + static final _id_copyOfRange$1 = _class.staticMethodId( + r'copyOfRange', + r'([BII)[B', ); - static final _equals$5 = jni$_.ProtectedJniExtensions.lookup< + static final _copyOfRange$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticBooleanMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public boolean equals(short[] ss, int i, int i1, short[] ss1, int i2, int i3)` - static bool equals$5( - jni$_.JShortArray? ss, + /// from: `static public byte[] copyOfRange(byte[] bs, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JByteArray? copyOfRange$1( + jni$_.JByteArray? bs, int i, int i1, - jni$_.JShortArray? ss1, - int i2, - int i3, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - final _$ss1 = ss1?.reference ?? jni$_.jNullReference; - return _equals$5( - _class.reference.pointer, - _id_equals$5 as jni$_.JMethodIDPtr, - _$ss.pointer, - i, - i1, - _$ss1.pointer, - i2, - i3) - .boolean; + final _$bs = bs?.reference ?? jni$_.jNullReference; + return _copyOfRange$1(_class.reference.pointer, + _id_copyOfRange$1 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1) + .object(const jni$_.$JByteArray$NullableType$()); } - static final _id_equals$6 = _class.staticMethodId( - r'equals', - r'([C[C)Z', + static final _id_copyOfRange$2 = _class.staticMethodId( + r'copyOfRange', + r'([CII)[C', ); - static final _equals$6 = jni$_.ProtectedJniExtensions.lookup< + static final _copyOfRange$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -30955,86 +31699,65 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticBooleanMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public boolean equals(char[] cs, char[] cs1)` - static bool equals$6( + /// from: `static public char[] copyOfRange(char[] cs, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JCharArray? copyOfRange$2( jni$_.JCharArray? cs, - jni$_.JCharArray? cs1, + int i, + int i1, ) { final _$cs = cs?.reference ?? jni$_.jNullReference; - final _$cs1 = cs1?.reference ?? jni$_.jNullReference; - return _equals$6(_class.reference.pointer, - _id_equals$6 as jni$_.JMethodIDPtr, _$cs.pointer, _$cs1.pointer) - .boolean; + return _copyOfRange$2(_class.reference.pointer, + _id_copyOfRange$2 as jni$_.JMethodIDPtr, _$cs.pointer, i, i1) + .object(const jni$_.$JCharArray$NullableType$()); } - static final _id_equals$7 = _class.staticMethodId( - r'equals', - r'([CII[CII)Z', + static final _id_copyOfRange$3 = _class.staticMethodId( + r'copyOfRange', + r'([DII)[D', ); - static final _equals$7 = jni$_.ProtectedJniExtensions.lookup< + static final _copyOfRange$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticBooleanMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public boolean equals(char[] cs, int i, int i1, char[] cs1, int i2, int i3)` - static bool equals$7( - jni$_.JCharArray? cs, + /// from: `static public double[] copyOfRange(double[] ds, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JDoubleArray? copyOfRange$3( + jni$_.JDoubleArray? ds, int i, int i1, - jni$_.JCharArray? cs1, - int i2, - int i3, ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - final _$cs1 = cs1?.reference ?? jni$_.jNullReference; - return _equals$7( - _class.reference.pointer, - _id_equals$7 as jni$_.JMethodIDPtr, - _$cs.pointer, - i, - i1, - _$cs1.pointer, - i2, - i3) - .boolean; + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _copyOfRange$3(_class.reference.pointer, + _id_copyOfRange$3 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1) + .object(const jni$_.$JDoubleArray$NullableType$()); } - static final _id_equals$8 = _class.staticMethodId( - r'equals', - r'([B[B)Z', + static final _id_copyOfRange$4 = _class.staticMethodId( + r'copyOfRange', + r'([FII)[F', ); - static final _equals$8 = jni$_.ProtectedJniExtensions.lookup< + static final _copyOfRange$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31042,86 +31765,306 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticBooleanMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public boolean equals(byte[] bs, byte[] bs1)` - static bool equals$8( - jni$_.JByteArray? bs, - jni$_.JByteArray? bs1, + /// from: `static public float[] copyOfRange(float[] fs, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JFloatArray? copyOfRange$4( + jni$_.JFloatArray? fs, + int i, + int i1, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$bs1 = bs1?.reference ?? jni$_.jNullReference; - return _equals$8(_class.reference.pointer, - _id_equals$8 as jni$_.JMethodIDPtr, _$bs.pointer, _$bs1.pointer) - .boolean; + final _$fs = fs?.reference ?? jni$_.jNullReference; + return _copyOfRange$4(_class.reference.pointer, + _id_copyOfRange$4 as jni$_.JMethodIDPtr, _$fs.pointer, i, i1) + .object(const jni$_.$JFloatArray$NullableType$()); } - static final _id_equals$9 = _class.staticMethodId( - r'equals', - r'([BII[BII)Z', + static final _id_copyOfRange$5 = _class.staticMethodId( + r'copyOfRange', + r'([III)[I', ); - static final _equals$9 = jni$_.ProtectedJniExtensions.lookup< + static final _copyOfRange$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticBooleanMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public boolean equals(byte[] bs, int i, int i1, byte[] bs1, int i2, int i3)` - static bool equals$9( - jni$_.JByteArray? bs, + /// from: `static public int[] copyOfRange(int[] is, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JIntArray? copyOfRange$5( + jni$_.JIntArray? is$, int i, int i1, - jni$_.JByteArray? bs1, - int i2, - int i3, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$bs1 = bs1?.reference ?? jni$_.jNullReference; - return _equals$9( - _class.reference.pointer, - _id_equals$9 as jni$_.JMethodIDPtr, - _$bs.pointer, + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _copyOfRange$5(_class.reference.pointer, + _id_copyOfRange$5 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1) + .object(const jni$_.$JIntArray$NullableType$()); + } + + static final _id_copyOfRange$6 = _class.staticMethodId( + r'copyOfRange', + r'([JII)[J', + ); + + static final _copyOfRange$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + + /// from: `static public long[] copyOfRange(long[] js, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JLongArray? copyOfRange$6( + jni$_.JLongArray? js, + int i, + int i1, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + return _copyOfRange$6(_class.reference.pointer, + _id_copyOfRange$6 as jni$_.JMethodIDPtr, _$js.pointer, i, i1) + .object(const jni$_.$JLongArray$NullableType$()); + } + + static final _id_copyOfRange$7 = _class.staticMethodId( + r'copyOfRange', + r'([SII)[S', + ); + + static final _copyOfRange$7 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + + /// from: `static public short[] copyOfRange(short[] ss, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JShortArray? copyOfRange$7( + jni$_.JShortArray? ss, + int i, + int i1, + ) { + final _$ss = ss?.reference ?? jni$_.jNullReference; + return _copyOfRange$7(_class.reference.pointer, + _id_copyOfRange$7 as jni$_.JMethodIDPtr, _$ss.pointer, i, i1) + .object(const jni$_.$JShortArray$NullableType$()); + } + + static final _id_copyOfRange$8 = _class.staticMethodId( + r'copyOfRange', + r'([Ljava/lang/Object;II)[Ljava/lang/Object;', + ); + + static final _copyOfRange$8 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + + /// from: `static public T[] copyOfRange(T[] objects, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JArray<$T?>? copyOfRange$8<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + int i, + int i1, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _copyOfRange$8(_class.reference.pointer, + _id_copyOfRange$8 as jni$_.JMethodIDPtr, _$objects.pointer, i, i1) + .object?>( + jni$_.$JArray$NullableType$<$T?>(T.nullableType)); + } + + static final _id_copyOfRange$9 = _class.staticMethodId( + r'copyOfRange', + r'([Ljava/lang/Object;IILjava/lang/Class;)[Ljava/lang/Object;', + ); + + static final _copyOfRange$9 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer + )>)>>('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer)>(); + + /// from: `static public T[] copyOfRange(U[] objects, int i, int i1, java.lang.Class class)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JArray<$T?>? + copyOfRange$9<$T extends jni$_.JObject?, $U extends jni$_.JObject?>( + jni$_.JArray<$U?>? objects, + int i, + int i1, + jni$_.JObject? class$, { + required jni$_.JType<$T> T, + required jni$_.JType<$U> U, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$class$ = class$?.reference ?? jni$_.jNullReference; + return _copyOfRange$9( + _class.reference.pointer, + _id_copyOfRange$9 as jni$_.JMethodIDPtr, + _$objects.pointer, i, i1, - _$bs1.pointer, - i2, - i3) + _$class$.pointer) + .object?>( + jni$_.$JArray$NullableType$<$T?>(T.nullableType)); + } + + static final _id_deepEquals = _class.staticMethodId( + r'deepEquals', + r'([Ljava/lang/Object;[Ljava/lang/Object;)Z', + ); + + static final _deepEquals = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `static public boolean deepEquals(java.lang.Object[] objects, java.lang.Object[] objects1)` + static bool deepEquals( + jni$_.JArray? objects, + jni$_.JArray? objects1, + ) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + return _deepEquals( + _class.reference.pointer, + _id_deepEquals as jni$_.JMethodIDPtr, + _$objects.pointer, + _$objects1.pointer) .boolean; } - static final _id_equals$10 = _class.staticMethodId( + static final _id_deepHashCode = _class.staticMethodId( + r'deepHashCode', + r'([Ljava/lang/Object;)I', + ); + + static final _deepHashCode = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public int deepHashCode(java.lang.Object[] objects)` + static int deepHashCode( + jni$_.JArray? objects, + ) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _deepHashCode(_class.reference.pointer, + _id_deepHashCode as jni$_.JMethodIDPtr, _$objects.pointer) + .integer; + } + + static final _id_deepToString = _class.staticMethodId( + r'deepToString', + r'([Ljava/lang/Object;)Ljava/lang/String;', + ); + + static final _deepToString = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public java.lang.String deepToString(java.lang.Object[] objects)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? deepToString( + jni$_.JArray? objects, + ) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _deepToString(_class.reference.pointer, + _id_deepToString as jni$_.JMethodIDPtr, _$objects.pointer) + .object(const jni$_.$JString$NullableType$()); + } + + static final _id_equals = _class.staticMethodId( r'equals', r'([Z[Z)Z', ); - static final _equals$10 = jni$_.ProtectedJniExtensions.lookup< + static final _equals = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31139,23 +32082,23 @@ class Arrays extends jni$_.JObject { jni$_.Pointer)>(); /// from: `static public boolean equals(boolean[] zs, boolean[] zs1)` - static bool equals$10( + static bool equals( jni$_.JBooleanArray? zs, jni$_.JBooleanArray? zs1, ) { final _$zs = zs?.reference ?? jni$_.jNullReference; final _$zs1 = zs1?.reference ?? jni$_.jNullReference; - return _equals$10(_class.reference.pointer, - _id_equals$10 as jni$_.JMethodIDPtr, _$zs.pointer, _$zs1.pointer) + return _equals(_class.reference.pointer, _id_equals as jni$_.JMethodIDPtr, + _$zs.pointer, _$zs1.pointer) .boolean; } - static final _id_equals$11 = _class.staticMethodId( + static final _id_equals$1 = _class.staticMethodId( r'equals', r'([ZII[ZII)Z', ); - static final _equals$11 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31181,7 +32124,7 @@ class Arrays extends jni$_.JObject { int)>(); /// from: `static public boolean equals(boolean[] zs, int i, int i1, boolean[] zs1, int i2, int i3)` - static bool equals$11( + static bool equals$1( jni$_.JBooleanArray? zs, int i, int i1, @@ -31191,9 +32134,9 @@ class Arrays extends jni$_.JObject { ) { final _$zs = zs?.reference ?? jni$_.jNullReference; final _$zs1 = zs1?.reference ?? jni$_.jNullReference; - return _equals$11( + return _equals$1( _class.reference.pointer, - _id_equals$11 as jni$_.JMethodIDPtr, + _id_equals$1 as jni$_.JMethodIDPtr, _$zs.pointer, i, i1, @@ -31203,12 +32146,12 @@ class Arrays extends jni$_.JObject { .boolean; } - static final _id_equals$12 = _class.staticMethodId( + static final _id_equals$2 = _class.staticMethodId( r'equals', - r'([D[D)Z', + r'([B[B)Z', ); - static final _equals$12 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31225,24 +32168,24 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public boolean equals(double[] ds, double[] ds1)` - static bool equals$12( - jni$_.JDoubleArray? ds, - jni$_.JDoubleArray? ds1, + /// from: `static public boolean equals(byte[] bs, byte[] bs1)` + static bool equals$2( + jni$_.JByteArray? bs, + jni$_.JByteArray? bs1, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$ds1 = ds1?.reference ?? jni$_.jNullReference; - return _equals$12(_class.reference.pointer, - _id_equals$12 as jni$_.JMethodIDPtr, _$ds.pointer, _$ds1.pointer) + final _$bs = bs?.reference ?? jni$_.jNullReference; + final _$bs1 = bs1?.reference ?? jni$_.jNullReference; + return _equals$2(_class.reference.pointer, + _id_equals$2 as jni$_.JMethodIDPtr, _$bs.pointer, _$bs1.pointer) .boolean; } - static final _id_equals$13 = _class.staticMethodId( + static final _id_equals$3 = _class.staticMethodId( r'equals', - r'([DII[DII)Z', + r'([BII[BII)Z', ); - static final _equals$13 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31267,35 +32210,35 @@ class Arrays extends jni$_.JObject { int, int)>(); - /// from: `static public boolean equals(double[] ds, int i, int i1, double[] ds1, int i2, int i3)` - static bool equals$13( - jni$_.JDoubleArray? ds, + /// from: `static public boolean equals(byte[] bs, int i, int i1, byte[] bs1, int i2, int i3)` + static bool equals$3( + jni$_.JByteArray? bs, int i, int i1, - jni$_.JDoubleArray? ds1, + jni$_.JByteArray? bs1, int i2, int i3, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$ds1 = ds1?.reference ?? jni$_.jNullReference; - return _equals$13( + final _$bs = bs?.reference ?? jni$_.jNullReference; + final _$bs1 = bs1?.reference ?? jni$_.jNullReference; + return _equals$3( _class.reference.pointer, - _id_equals$13 as jni$_.JMethodIDPtr, - _$ds.pointer, + _id_equals$3 as jni$_.JMethodIDPtr, + _$bs.pointer, i, i1, - _$ds1.pointer, + _$bs1.pointer, i2, i3) .boolean; } - static final _id_equals$14 = _class.staticMethodId( + static final _id_equals$4 = _class.staticMethodId( r'equals', - r'([F[F)Z', + r'([C[C)Z', ); - static final _equals$14 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31312,24 +32255,24 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public boolean equals(float[] fs, float[] fs1)` - static bool equals$14( - jni$_.JFloatArray? fs, - jni$_.JFloatArray? fs1, + /// from: `static public boolean equals(char[] cs, char[] cs1)` + static bool equals$4( + jni$_.JCharArray? cs, + jni$_.JCharArray? cs1, ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - final _$fs1 = fs1?.reference ?? jni$_.jNullReference; - return _equals$14(_class.reference.pointer, - _id_equals$14 as jni$_.JMethodIDPtr, _$fs.pointer, _$fs1.pointer) + final _$cs = cs?.reference ?? jni$_.jNullReference; + final _$cs1 = cs1?.reference ?? jni$_.jNullReference; + return _equals$4(_class.reference.pointer, + _id_equals$4 as jni$_.JMethodIDPtr, _$cs.pointer, _$cs1.pointer) .boolean; } - static final _id_equals$15 = _class.staticMethodId( + static final _id_equals$5 = _class.staticMethodId( r'equals', - r'([FII[FII)Z', + r'([CII[CII)Z', ); - static final _equals$15 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31354,35 +32297,35 @@ class Arrays extends jni$_.JObject { int, int)>(); - /// from: `static public boolean equals(float[] fs, int i, int i1, float[] fs1, int i2, int i3)` - static bool equals$15( - jni$_.JFloatArray? fs, + /// from: `static public boolean equals(char[] cs, int i, int i1, char[] cs1, int i2, int i3)` + static bool equals$5( + jni$_.JCharArray? cs, int i, int i1, - jni$_.JFloatArray? fs1, + jni$_.JCharArray? cs1, int i2, int i3, ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - final _$fs1 = fs1?.reference ?? jni$_.jNullReference; - return _equals$15( + final _$cs = cs?.reference ?? jni$_.jNullReference; + final _$cs1 = cs1?.reference ?? jni$_.jNullReference; + return _equals$5( _class.reference.pointer, - _id_equals$15 as jni$_.JMethodIDPtr, - _$fs.pointer, + _id_equals$5 as jni$_.JMethodIDPtr, + _$cs.pointer, i, i1, - _$fs1.pointer, + _$cs1.pointer, i2, i3) .boolean; } - static final _id_equals$16 = _class.staticMethodId( + static final _id_equals$6 = _class.staticMethodId( r'equals', - r'([Ljava/lang/Object;[Ljava/lang/Object;)Z', + r'([D[D)Z', ); - static final _equals$16 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$6 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31399,27 +32342,24 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public boolean equals(java.lang.Object[] objects, java.lang.Object[] objects1)` - static bool equals$16( - jni$_.JArray? objects, - jni$_.JArray? objects1, + /// from: `static public boolean equals(double[] ds, double[] ds1)` + static bool equals$6( + jni$_.JDoubleArray? ds, + jni$_.JDoubleArray? ds1, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - return _equals$16( - _class.reference.pointer, - _id_equals$16 as jni$_.JMethodIDPtr, - _$objects.pointer, - _$objects1.pointer) + final _$ds = ds?.reference ?? jni$_.jNullReference; + final _$ds1 = ds1?.reference ?? jni$_.jNullReference; + return _equals$6(_class.reference.pointer, + _id_equals$6 as jni$_.JMethodIDPtr, _$ds.pointer, _$ds1.pointer) .boolean; } - static final _id_equals$17 = _class.staticMethodId( + static final _id_equals$7 = _class.staticMethodId( r'equals', - r'([Ljava/lang/Object;II[Ljava/lang/Object;II)Z', + r'([DII[DII)Z', ); - static final _equals$17 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31444,42 +32384,41 @@ class Arrays extends jni$_.JObject { int, int)>(); - /// from: `static public boolean equals(java.lang.Object[] objects, int i, int i1, java.lang.Object[] objects1, int i2, int i3)` - static bool equals$17( - jni$_.JArray? objects, + /// from: `static public boolean equals(double[] ds, int i, int i1, double[] ds1, int i2, int i3)` + static bool equals$7( + jni$_.JDoubleArray? ds, int i, int i1, - jni$_.JArray? objects1, + jni$_.JDoubleArray? ds1, int i2, int i3, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - return _equals$17( + final _$ds = ds?.reference ?? jni$_.jNullReference; + final _$ds1 = ds1?.reference ?? jni$_.jNullReference; + return _equals$7( _class.reference.pointer, - _id_equals$17 as jni$_.JMethodIDPtr, - _$objects.pointer, + _id_equals$7 as jni$_.JMethodIDPtr, + _$ds.pointer, i, i1, - _$objects1.pointer, + _$ds1.pointer, i2, i3) .boolean; } - static final _id_equals$18 = _class.staticMethodId( + static final _id_equals$8 = _class.staticMethodId( r'equals', - r'([Ljava/lang/Object;[Ljava/lang/Object;Ljava/util/Comparator;)Z', + r'([F[F)Z', ); - static final _equals$18 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$8 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, jni$_.Pointer, jni$_.Pointer )>)>>('globalEnv_CallStaticBooleanMethod') @@ -31488,34 +32427,26 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public boolean equals(java.lang.Object[] objects, java.lang.Object[] objects1, java.util.Comparator comparator)` - static bool equals$18<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - jni$_.JArray<$T?>? objects1, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - return _equals$18( - _class.reference.pointer, - _id_equals$18 as jni$_.JMethodIDPtr, - _$objects.pointer, - _$objects1.pointer, - _$comparator.pointer) + /// from: `static public boolean equals(float[] fs, float[] fs1)` + static bool equals$8( + jni$_.JFloatArray? fs, + jni$_.JFloatArray? fs1, + ) { + final _$fs = fs?.reference ?? jni$_.jNullReference; + final _$fs1 = fs1?.reference ?? jni$_.jNullReference; + return _equals$8(_class.reference.pointer, + _id_equals$8 as jni$_.JMethodIDPtr, _$fs.pointer, _$fs1.pointer) .boolean; } - static final _id_equals$19 = _class.staticMethodId( + static final _id_equals$9 = _class.staticMethodId( r'equals', - r'([Ljava/lang/Object;II[Ljava/lang/Object;IILjava/util/Comparator;)Z', + r'([FII[FII)Z', ); - static final _equals$19 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$9 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -31527,8 +32458,7 @@ class Arrays extends jni$_.JObject { jni$_.Int32, jni$_.Pointer, jni$_.Int32, - jni$_.Int32, - jni$_.Pointer + jni$_.Int32 )>)>>('globalEnv_CallStaticBooleanMethod') .asFunction< jni$_.JniResult Function( @@ -31539,72 +32469,39 @@ class Arrays extends jni$_.JObject { int, jni$_.Pointer, int, - int, - jni$_.Pointer)>(); + int)>(); - /// from: `static public boolean equals(java.lang.Object[] objects, int i, int i1, java.lang.Object[] objects1, int i2, int i3, java.util.Comparator comparator)` - static bool equals$19<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, + /// from: `static public boolean equals(float[] fs, int i, int i1, float[] fs1, int i2, int i3)` + static bool equals$9( + jni$_.JFloatArray? fs, int i, int i1, - jni$_.JArray<$T?>? objects1, + jni$_.JFloatArray? fs1, int i2, int i3, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - return _equals$19( + ) { + final _$fs = fs?.reference ?? jni$_.jNullReference; + final _$fs1 = fs1?.reference ?? jni$_.jNullReference; + return _equals$9( _class.reference.pointer, - _id_equals$19 as jni$_.JMethodIDPtr, - _$objects.pointer, + _id_equals$9 as jni$_.JMethodIDPtr, + _$fs.pointer, i, i1, - _$objects1.pointer, + _$fs1.pointer, i2, - i3, - _$comparator.pointer) + i3) .boolean; } - static final _id_fill = _class.staticMethodId( - r'fill', - r'([JJ)V', - ); - - static final _fill = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( - 'globalEnv_CallStaticVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - - /// from: `static public void fill(long[] js, long j)` - static void fill( - jni$_.JLongArray? js, - int j, - ) { - final _$js = js?.reference ?? jni$_.jNullReference; - _fill(_class.reference.pointer, _id_fill as jni$_.JMethodIDPtr, - _$js.pointer, j) - .check(); - } - - static final _id_fill$1 = _class.staticMethodId( - r'fill', - r'([JIIJ)V', + static final _id_equals$10 = _class.staticMethodId( + r'equals', + r'([III[III)Z', ); - static final _fill$1 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$10 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -31612,61 +32509,86 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Int64 - )>)>>('globalEnv_CallStaticVoidMethod') + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticBooleanMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public void fill(long[] js, int i, int i1, long j)` - static void fill$1( - jni$_.JLongArray? js, + /// from: `static public boolean equals(int[] is, int i, int i1, int[] is1, int i2, int i3)` + static bool equals$10( + jni$_.JIntArray? is$, int i, int i1, - int j, + jni$_.JIntArray? is1, + int i2, + int i3, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - _fill$1(_class.reference.pointer, _id_fill$1 as jni$_.JMethodIDPtr, - _$js.pointer, i, i1, j) - .check(); + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$is1 = is1?.reference ?? jni$_.jNullReference; + return _equals$10( + _class.reference.pointer, + _id_equals$10 as jni$_.JMethodIDPtr, + _$is$.pointer, + i, + i1, + _$is1.pointer, + i2, + i3) + .boolean; } - static final _id_fill$2 = _class.staticMethodId( - r'fill', - r'([II)V', + static final _id_equals$11 = _class.staticMethodId( + r'equals', + r'([I[I)Z', ); - static final _fill$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticVoidMethod') + static final _equals$11 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticBooleanMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public void fill(int[] is, int i)` - static void fill$2( + /// from: `static public boolean equals(int[] is, int[] is1)` + static bool equals$11( jni$_.JIntArray? is$, - int i, + jni$_.JIntArray? is1, ) { final _$is$ = is$?.reference ?? jni$_.jNullReference; - _fill$2(_class.reference.pointer, _id_fill$2 as jni$_.JMethodIDPtr, - _$is$.pointer, i) - .check(); + final _$is1 = is1?.reference ?? jni$_.jNullReference; + return _equals$11(_class.reference.pointer, + _id_equals$11 as jni$_.JMethodIDPtr, _$is$.pointer, _$is1.pointer) + .boolean; } - static final _id_fill$3 = _class.staticMethodId( - r'fill', - r'([IIII)V', + static final _id_equals$12 = _class.staticMethodId( + r'equals', + r'([Ljava/lang/Object;II[Ljava/lang/Object;II)Z', ); - static final _fill$3 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$12 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -31674,61 +32596,89 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticBooleanMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public void fill(int[] is, int i, int i1, int i2)` - static void fill$3( - jni$_.JIntArray? is$, + /// from: `static public boolean equals(java.lang.Object[] objects, int i, int i1, java.lang.Object[] objects1, int i2, int i3)` + static bool equals$12( + jni$_.JArray? objects, int i, int i1, + jni$_.JArray? objects1, int i2, + int i3, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - _fill$3(_class.reference.pointer, _id_fill$3 as jni$_.JMethodIDPtr, - _$is$.pointer, i, i1, i2) - .check(); + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + return _equals$12( + _class.reference.pointer, + _id_equals$12 as jni$_.JMethodIDPtr, + _$objects.pointer, + i, + i1, + _$objects1.pointer, + i2, + i3) + .boolean; } - static final _id_fill$4 = _class.staticMethodId( - r'fill', - r'([SS)V', + static final _id_equals$13 = _class.staticMethodId( + r'equals', + r'([Ljava/lang/Object;[Ljava/lang/Object;)Z', ); - static final _fill$4 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticVoidMethod') + static final _equals$13 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticBooleanMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public void fill(short[] ss, short s)` - static void fill$4( - jni$_.JShortArray? ss, - int s, + /// from: `static public boolean equals(java.lang.Object[] objects, java.lang.Object[] objects1)` + static bool equals$13( + jni$_.JArray? objects, + jni$_.JArray? objects1, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - _fill$4(_class.reference.pointer, _id_fill$4 as jni$_.JMethodIDPtr, - _$ss.pointer, s) - .check(); + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + return _equals$13( + _class.reference.pointer, + _id_equals$13 as jni$_.JMethodIDPtr, + _$objects.pointer, + _$objects1.pointer) + .boolean; } - static final _id_fill$5 = _class.staticMethodId( - r'fill', - r'([SIIS)V', + static final _id_equals$14 = _class.staticMethodId( + r'equals', + r'([JII[JII)Z', ); - static final _fill$5 = jni$_.ProtectedJniExtensions.lookup< + static final _equals$14 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -31736,31 +32686,273 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticBooleanMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public void fill(short[] ss, int i, int i1, short s)` - static void fill$5( + /// from: `static public boolean equals(long[] js, int i, int i1, long[] js1, int i2, int i3)` + static bool equals$14( + jni$_.JLongArray? js, + int i, + int i1, + jni$_.JLongArray? js1, + int i2, + int i3, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + final _$js1 = js1?.reference ?? jni$_.jNullReference; + return _equals$14( + _class.reference.pointer, + _id_equals$14 as jni$_.JMethodIDPtr, + _$js.pointer, + i, + i1, + _$js1.pointer, + i2, + i3) + .boolean; + } + + static final _id_equals$15 = _class.staticMethodId( + r'equals', + r'([J[J)Z', + ); + + static final _equals$15 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `static public boolean equals(long[] js, long[] js1)` + static bool equals$15( + jni$_.JLongArray? js, + jni$_.JLongArray? js1, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + final _$js1 = js1?.reference ?? jni$_.jNullReference; + return _equals$15(_class.reference.pointer, + _id_equals$15 as jni$_.JMethodIDPtr, _$js.pointer, _$js1.pointer) + .boolean; + } + + static final _id_equals$16 = _class.staticMethodId( + r'equals', + r'([SII[SII)Z', + ); + + static final _equals$16 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); + + /// from: `static public boolean equals(short[] ss, int i, int i1, short[] ss1, int i2, int i3)` + static bool equals$16( jni$_.JShortArray? ss, int i, int i1, - int s, + jni$_.JShortArray? ss1, + int i2, + int i3, ) { final _$ss = ss?.reference ?? jni$_.jNullReference; - _fill$5(_class.reference.pointer, _id_fill$5 as jni$_.JMethodIDPtr, - _$ss.pointer, i, i1, s) - .check(); + final _$ss1 = ss1?.reference ?? jni$_.jNullReference; + return _equals$16( + _class.reference.pointer, + _id_equals$16 as jni$_.JMethodIDPtr, + _$ss.pointer, + i, + i1, + _$ss1.pointer, + i2, + i3) + .boolean; } - static final _id_fill$6 = _class.staticMethodId( + static final _id_equals$17 = _class.staticMethodId( + r'equals', + r'([S[S)Z', + ); + + static final _equals$17 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `static public boolean equals(short[] ss, short[] ss1)` + static bool equals$17( + jni$_.JShortArray? ss, + jni$_.JShortArray? ss1, + ) { + final _$ss = ss?.reference ?? jni$_.jNullReference; + final _$ss1 = ss1?.reference ?? jni$_.jNullReference; + return _equals$17(_class.reference.pointer, + _id_equals$17 as jni$_.JMethodIDPtr, _$ss.pointer, _$ss1.pointer) + .boolean; + } + + static final _id_equals$18 = _class.staticMethodId( + r'equals', + r'([Ljava/lang/Object;II[Ljava/lang/Object;IILjava/util/Comparator;)Z', + ); + + static final _equals$18 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer + )>)>>('globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int, + jni$_.Pointer)>(); + + /// from: `static public boolean equals(T[] objects, int i, int i1, T[] objects1, int i2, int i3, java.util.Comparator comparator)` + static bool equals$18<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + int i, + int i1, + jni$_.JArray<$T?>? objects1, + int i2, + int i3, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + return _equals$18( + _class.reference.pointer, + _id_equals$18 as jni$_.JMethodIDPtr, + _$objects.pointer, + i, + i1, + _$objects1.pointer, + i2, + i3, + _$comparator.pointer) + .boolean; + } + + static final _id_equals$19 = _class.staticMethodId( + r'equals', + r'([Ljava/lang/Object;[Ljava/lang/Object;Ljava/util/Comparator;)Z', + ); + + static final _equals$19 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `static public boolean equals(T[] objects, T[] objects1, java.util.Comparator comparator)` + static bool equals$19<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + jni$_.JArray<$T?>? objects1, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + return _equals$19( + _class.reference.pointer, + _id_equals$19 as jni$_.JMethodIDPtr, + _$objects.pointer, + _$objects1.pointer, + _$comparator.pointer) + .boolean; + } + + static final _id_fill = _class.staticMethodId( r'fill', - r'([CC)V', + r'([ZZ)V', ); - static final _fill$6 = jni$_.ProtectedJniExtensions.lookup< + static final _fill = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -31772,23 +32964,23 @@ class Arrays extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public void fill(char[] cs, char c)` - static void fill$6( - jni$_.JCharArray? cs, - int c, + /// from: `static public void fill(boolean[] zs, boolean z)` + static void fill( + jni$_.JBooleanArray? zs, + bool z, ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - _fill$6(_class.reference.pointer, _id_fill$6 as jni$_.JMethodIDPtr, - _$cs.pointer, c) + final _$zs = zs?.reference ?? jni$_.jNullReference; + _fill(_class.reference.pointer, _id_fill as jni$_.JMethodIDPtr, + _$zs.pointer, z ? 1 : 0) .check(); } - static final _id_fill$7 = _class.staticMethodId( + static final _id_fill$1 = _class.staticMethodId( r'fill', - r'([CIIC)V', + r'([ZIIZ)V', ); - static final _fill$7 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -31804,25 +32996,25 @@ class Arrays extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public void fill(char[] cs, int i, int i1, char c)` - static void fill$7( - jni$_.JCharArray? cs, + /// from: `static public void fill(boolean[] zs, int i, int i1, boolean z)` + static void fill$1( + jni$_.JBooleanArray? zs, int i, int i1, - int c, + bool z, ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - _fill$7(_class.reference.pointer, _id_fill$7 as jni$_.JMethodIDPtr, - _$cs.pointer, i, i1, c) + final _$zs = zs?.reference ?? jni$_.jNullReference; + _fill$1(_class.reference.pointer, _id_fill$1 as jni$_.JMethodIDPtr, + _$zs.pointer, i, i1, z ? 1 : 0) .check(); } - static final _id_fill$8 = _class.staticMethodId( + static final _id_fill$2 = _class.staticMethodId( r'fill', r'([BB)V', ); - static final _fill$8 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -31835,22 +33027,22 @@ class Arrays extends jni$_.JObject { jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); /// from: `static public void fill(byte[] bs, byte b)` - static void fill$8( + static void fill$2( jni$_.JByteArray? bs, int b, ) { final _$bs = bs?.reference ?? jni$_.jNullReference; - _fill$8(_class.reference.pointer, _id_fill$8 as jni$_.JMethodIDPtr, + _fill$2(_class.reference.pointer, _id_fill$2 as jni$_.JMethodIDPtr, _$bs.pointer, b) .check(); } - static final _id_fill$9 = _class.staticMethodId( + static final _id_fill$3 = _class.staticMethodId( r'fill', r'([BIIB)V', ); - static final _fill$9 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -31867,24 +33059,24 @@ class Arrays extends jni$_.JObject { jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); /// from: `static public void fill(byte[] bs, int i, int i1, byte b)` - static void fill$9( + static void fill$3( jni$_.JByteArray? bs, int i, int i1, int b, ) { final _$bs = bs?.reference ?? jni$_.jNullReference; - _fill$9(_class.reference.pointer, _id_fill$9 as jni$_.JMethodIDPtr, + _fill$3(_class.reference.pointer, _id_fill$3 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1, b) .check(); } - static final _id_fill$10 = _class.staticMethodId( + static final _id_fill$4 = _class.staticMethodId( r'fill', - r'([ZZ)V', + r'([CC)V', ); - static final _fill$10 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -31896,23 +33088,23 @@ class Arrays extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public void fill(boolean[] zs, boolean z)` - static void fill$10( - jni$_.JBooleanArray? zs, - bool z, + /// from: `static public void fill(char[] cs, char c)` + static void fill$4( + jni$_.JCharArray? cs, + int c, ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - _fill$10(_class.reference.pointer, _id_fill$10 as jni$_.JMethodIDPtr, - _$zs.pointer, z ? 1 : 0) + final _$cs = cs?.reference ?? jni$_.jNullReference; + _fill$4(_class.reference.pointer, _id_fill$4 as jni$_.JMethodIDPtr, + _$cs.pointer, c) .check(); } - static final _id_fill$11 = _class.staticMethodId( + static final _id_fill$5 = _class.staticMethodId( r'fill', - r'([ZIIZ)V', + r'([CIIC)V', ); - static final _fill$11 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -31928,25 +33120,25 @@ class Arrays extends jni$_.JObject { jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public void fill(boolean[] zs, int i, int i1, boolean z)` - static void fill$11( - jni$_.JBooleanArray? zs, + /// from: `static public void fill(char[] cs, int i, int i1, char c)` + static void fill$5( + jni$_.JCharArray? cs, int i, int i1, - bool z, + int c, ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - _fill$11(_class.reference.pointer, _id_fill$11 as jni$_.JMethodIDPtr, - _$zs.pointer, i, i1, z ? 1 : 0) + final _$cs = cs?.reference ?? jni$_.jNullReference; + _fill$5(_class.reference.pointer, _id_fill$5 as jni$_.JMethodIDPtr, + _$cs.pointer, i, i1, c) .check(); } - static final _id_fill$12 = _class.staticMethodId( + static final _id_fill$6 = _class.staticMethodId( r'fill', r'([DD)V', ); - static final _fill$12 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$6 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -31961,22 +33153,22 @@ class Arrays extends jni$_.JObject { jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); /// from: `static public void fill(double[] ds, double d)` - static void fill$12( + static void fill$6( jni$_.JDoubleArray? ds, double d, ) { final _$ds = ds?.reference ?? jni$_.jNullReference; - _fill$12(_class.reference.pointer, _id_fill$12 as jni$_.JMethodIDPtr, + _fill$6(_class.reference.pointer, _id_fill$6 as jni$_.JMethodIDPtr, _$ds.pointer, d) .check(); } - static final _id_fill$13 = _class.staticMethodId( + static final _id_fill$7 = _class.staticMethodId( r'fill', r'([DIID)V', ); - static final _fill$13 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -31998,24 +33190,24 @@ class Arrays extends jni$_.JObject { double)>(); /// from: `static public void fill(double[] ds, int i, int i1, double d)` - static void fill$13( + static void fill$7( jni$_.JDoubleArray? ds, int i, int i1, double d, ) { final _$ds = ds?.reference ?? jni$_.jNullReference; - _fill$13(_class.reference.pointer, _id_fill$13 as jni$_.JMethodIDPtr, + _fill$7(_class.reference.pointer, _id_fill$7 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1, d) .check(); } - static final _id_fill$14 = _class.staticMethodId( + static final _id_fill$8 = _class.staticMethodId( r'fill', r'([FF)V', ); - static final _fill$14 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$8 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -32030,22 +33222,22 @@ class Arrays extends jni$_.JObject { jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); /// from: `static public void fill(float[] fs, float f)` - static void fill$14( + static void fill$8( jni$_.JFloatArray? fs, double f, ) { final _$fs = fs?.reference ?? jni$_.jNullReference; - _fill$14(_class.reference.pointer, _id_fill$14 as jni$_.JMethodIDPtr, + _fill$8(_class.reference.pointer, _id_fill$8 as jni$_.JMethodIDPtr, _$fs.pointer, f) .check(); } - static final _id_fill$15 = _class.staticMethodId( + static final _id_fill$9 = _class.staticMethodId( r'fill', r'([FIIF)V', ); - static final _fill$15 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$9 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -32067,24 +33259,52 @@ class Arrays extends jni$_.JObject { double)>(); /// from: `static public void fill(float[] fs, int i, int i1, float f)` - static void fill$15( + static void fill$9( jni$_.JFloatArray? fs, int i, int i1, double f, ) { final _$fs = fs?.reference ?? jni$_.jNullReference; - _fill$15(_class.reference.pointer, _id_fill$15 as jni$_.JMethodIDPtr, + _fill$9(_class.reference.pointer, _id_fill$9 as jni$_.JMethodIDPtr, _$fs.pointer, i, i1, f) .check(); } - static final _id_fill$16 = _class.staticMethodId( + static final _id_fill$10 = _class.staticMethodId( r'fill', - r'([Ljava/lang/Object;Ljava/lang/Object;)V', + r'([II)V', ); - static final _fill$16 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$10 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_ + .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + + /// from: `static public void fill(int[] is, int i)` + static void fill$10( + jni$_.JIntArray? is$, + int i, + ) { + final _$is$ = is$?.reference ?? jni$_.jNullReference; + _fill$10(_class.reference.pointer, _id_fill$10 as jni$_.JMethodIDPtr, + _$is$.pointer, i) + .check(); + } + + static final _id_fill$11 = _class.staticMethodId( + r'fill', + r'([IIII)V', + ); + + static final _fill$11 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -32092,33 +33312,33 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public void fill(java.lang.Object[] objects, java.lang.Object object)` - static void fill$16( - jni$_.JArray? objects, - jni$_.JObject? object, + /// from: `static public void fill(int[] is, int i, int i1, int i2)` + static void fill$11( + jni$_.JIntArray? is$, + int i, + int i1, + int i2, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$object = object?.reference ?? jni$_.jNullReference; - _fill$16(_class.reference.pointer, _id_fill$16 as jni$_.JMethodIDPtr, - _$objects.pointer, _$object.pointer) + final _$is$ = is$?.reference ?? jni$_.jNullReference; + _fill$11(_class.reference.pointer, _id_fill$11 as jni$_.JMethodIDPtr, + _$is$.pointer, i, i1, i2) .check(); } - static final _id_fill$17 = _class.staticMethodId( + static final _id_fill$12 = _class.staticMethodId( r'fill', r'([Ljava/lang/Object;IILjava/lang/Object;)V', ); - static final _fill$17 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$12 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -32140,7 +33360,7 @@ class Arrays extends jni$_.JObject { jni$_.Pointer)>(); /// from: `static public void fill(java.lang.Object[] objects, int i, int i1, java.lang.Object object)` - static void fill$17( + static void fill$12( jni$_.JArray? objects, int i, int i1, @@ -32148,411 +33368,409 @@ class Arrays extends jni$_.JObject { ) { final _$objects = objects?.reference ?? jni$_.jNullReference; final _$object = object?.reference ?? jni$_.jNullReference; - _fill$17(_class.reference.pointer, _id_fill$17 as jni$_.JMethodIDPtr, + _fill$12(_class.reference.pointer, _id_fill$12 as jni$_.JMethodIDPtr, _$objects.pointer, i, i1, _$object.pointer) .check(); } - static final _id_copyOf = _class.staticMethodId( - r'copyOf', - r'([Ljava/lang/Object;I)[Ljava/lang/Object;', + static final _id_fill$13 = _class.staticMethodId( + r'fill', + r'([Ljava/lang/Object;Ljava/lang/Object;)V', ); - static final _copyOf = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + static final _fill$13 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public java.lang.Object[] copyOf(java.lang.Object[] objects, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JArray<$T?>? copyOf<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - int i, { - required jni$_.JObjType<$T> T, - }) { + /// from: `static public void fill(java.lang.Object[] objects, java.lang.Object object)` + static void fill$13( + jni$_.JArray? objects, + jni$_.JObject? object, + ) { final _$objects = objects?.reference ?? jni$_.jNullReference; - return _copyOf(_class.reference.pointer, _id_copyOf as jni$_.JMethodIDPtr, - _$objects.pointer, i) - .object?>( - jni$_.JArrayNullableType<$T?>(T.nullableType)); + final _$object = object?.reference ?? jni$_.jNullReference; + _fill$13(_class.reference.pointer, _id_fill$13 as jni$_.JMethodIDPtr, + _$objects.pointer, _$object.pointer) + .check(); } - static final _id_copyOf$1 = _class.staticMethodId( - r'copyOf', - r'([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;', + static final _id_fill$14 = _class.staticMethodId( + r'fill', + r'([JIIJ)V', ); - static final _copyOf$1 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$14 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Int32, + jni$_.Int64 + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); - /// from: `static public java.lang.Object[] copyOf(java.lang.Object[] objects, int i, java.lang.Class class)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JArray<$T?>? - copyOf$1<$T extends jni$_.JObject?, $U extends jni$_.JObject?>( - jni$_.JArray<$U?>? objects, + /// from: `static public void fill(long[] js, int i, int i1, long j)` + static void fill$14( + jni$_.JLongArray? js, int i, - jni$_.JObject? class$, { - required jni$_.JObjType<$T> T, - required jni$_.JObjType<$U> U, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$class$ = class$?.reference ?? jni$_.jNullReference; - return _copyOf$1( - _class.reference.pointer, - _id_copyOf$1 as jni$_.JMethodIDPtr, - _$objects.pointer, - i, - _$class$.pointer) - .object?>( - jni$_.JArrayNullableType<$T?>(T.nullableType)); + int i1, + int j, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + _fill$14(_class.reference.pointer, _id_fill$14 as jni$_.JMethodIDPtr, + _$js.pointer, i, i1, j) + .check(); } - static final _id_copyOf$2 = _class.staticMethodId( - r'copyOf', - r'([BI)[B', + static final _id_fill$15 = _class.staticMethodId( + r'fill', + r'([JJ)V', ); - static final _copyOf$2 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$15 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, + jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public byte[] copyOf(byte[] bs, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JByteArray? copyOf$2( - jni$_.JByteArray? bs, + /// from: `static public void fill(long[] js, long j)` + static void fill$15( + jni$_.JLongArray? js, + int j, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + _fill$15(_class.reference.pointer, _id_fill$15 as jni$_.JMethodIDPtr, + _$js.pointer, j) + .check(); + } + + static final _id_fill$16 = _class.staticMethodId( + r'fill', + r'([SIIS)V', + ); + + static final _fill$16 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); + + /// from: `static public void fill(short[] ss, int i, int i1, short s)` + static void fill$16( + jni$_.JShortArray? ss, int i, + int i1, + int s, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - return _copyOf$2(_class.reference.pointer, - _id_copyOf$2 as jni$_.JMethodIDPtr, _$bs.pointer, i) - .object(const jni$_.JByteArrayNullableType()); + final _$ss = ss?.reference ?? jni$_.jNullReference; + _fill$16(_class.reference.pointer, _id_fill$16 as jni$_.JMethodIDPtr, + _$ss.pointer, i, i1, s) + .check(); } - static final _id_copyOf$3 = _class.staticMethodId( - r'copyOf', - r'([SI)[S', + static final _id_fill$17 = _class.staticMethodId( + r'fill', + r'([SS)V', ); - static final _copyOf$3 = jni$_.ProtectedJniExtensions.lookup< + static final _fill$17 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_ .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, + jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); - /// from: `static public short[] copyOf(short[] ss, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JShortArray? copyOf$3( + /// from: `static public void fill(short[] ss, short s)` + static void fill$17( jni$_.JShortArray? ss, - int i, + int s, ) { final _$ss = ss?.reference ?? jni$_.jNullReference; - return _copyOf$3(_class.reference.pointer, - _id_copyOf$3 as jni$_.JMethodIDPtr, _$ss.pointer, i) - .object(const jni$_.JShortArrayNullableType()); + _fill$17(_class.reference.pointer, _id_fill$17 as jni$_.JMethodIDPtr, + _$ss.pointer, s) + .check(); } - static final _id_copyOf$4 = _class.staticMethodId( - r'copyOf', - r'([II)[I', + static final _id_hashCode$1 = _class.staticMethodId( + r'hashCode', + r'([Z)I', ); - static final _copyOf$4 = jni$_.ProtectedJniExtensions.lookup< + static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int[] copyOf(int[] is, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JIntArray? copyOf$4( - jni$_.JIntArray? is$, - int i, + /// from: `static public int hashCode(boolean[] zs)` + static int hashCode$1( + jni$_.JBooleanArray? zs, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _copyOf$4(_class.reference.pointer, - _id_copyOf$4 as jni$_.JMethodIDPtr, _$is$.pointer, i) - .object(const jni$_.JIntArrayNullableType()); + final _$zs = zs?.reference ?? jni$_.jNullReference; + return _hashCode$1(_class.reference.pointer, + _id_hashCode$1 as jni$_.JMethodIDPtr, _$zs.pointer) + .integer; } - static final _id_copyOf$5 = _class.staticMethodId( - r'copyOf', - r'([JI)[J', + static final _id_hashCode$2 = _class.staticMethodId( + r'hashCode', + r'([B)I', ); - static final _copyOf$5 = jni$_.ProtectedJniExtensions.lookup< + static final _hashCode$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public long[] copyOf(long[] js, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JLongArray? copyOf$5( - jni$_.JLongArray? js, - int i, + /// from: `static public int hashCode(byte[] bs)` + static int hashCode$2( + jni$_.JByteArray? bs, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _copyOf$5(_class.reference.pointer, - _id_copyOf$5 as jni$_.JMethodIDPtr, _$js.pointer, i) - .object(const jni$_.JLongArrayNullableType()); + final _$bs = bs?.reference ?? jni$_.jNullReference; + return _hashCode$2(_class.reference.pointer, + _id_hashCode$2 as jni$_.JMethodIDPtr, _$bs.pointer) + .integer; } - static final _id_copyOf$6 = _class.staticMethodId( - r'copyOf', - r'([CI)[C', + static final _id_hashCode$3 = _class.staticMethodId( + r'hashCode', + r'([C)I', ); - static final _copyOf$6 = jni$_.ProtectedJniExtensions.lookup< + static final _hashCode$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public char[] copyOf(char[] cs, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JCharArray? copyOf$6( + /// from: `static public int hashCode(char[] cs)` + static int hashCode$3( jni$_.JCharArray? cs, - int i, ) { final _$cs = cs?.reference ?? jni$_.jNullReference; - return _copyOf$6(_class.reference.pointer, - _id_copyOf$6 as jni$_.JMethodIDPtr, _$cs.pointer, i) - .object(const jni$_.JCharArrayNullableType()); + return _hashCode$3(_class.reference.pointer, + _id_hashCode$3 as jni$_.JMethodIDPtr, _$cs.pointer) + .integer; } - static final _id_copyOf$7 = _class.staticMethodId( - r'copyOf', - r'([FI)[F', + static final _id_hashCode$4 = _class.staticMethodId( + r'hashCode', + r'([D)I', ); - static final _copyOf$7 = jni$_.ProtectedJniExtensions.lookup< + static final _hashCode$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public float[] copyOf(float[] fs, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JFloatArray? copyOf$7( - jni$_.JFloatArray? fs, - int i, + /// from: `static public int hashCode(double[] ds)` + static int hashCode$4( + jni$_.JDoubleArray? ds, ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - return _copyOf$7(_class.reference.pointer, - _id_copyOf$7 as jni$_.JMethodIDPtr, _$fs.pointer, i) - .object(const jni$_.JFloatArrayNullableType()); + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _hashCode$4(_class.reference.pointer, + _id_hashCode$4 as jni$_.JMethodIDPtr, _$ds.pointer) + .integer; } - static final _id_copyOf$8 = _class.staticMethodId( - r'copyOf', - r'([DI)[D', + static final _id_hashCode$5 = _class.staticMethodId( + r'hashCode', + r'([F)I', ); - static final _copyOf$8 = jni$_.ProtectedJniExtensions.lookup< + static final _hashCode$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public double[] copyOf(double[] ds, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JDoubleArray? copyOf$8( - jni$_.JDoubleArray? ds, - int i, + /// from: `static public int hashCode(float[] fs)` + static int hashCode$5( + jni$_.JFloatArray? fs, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - return _copyOf$8(_class.reference.pointer, - _id_copyOf$8 as jni$_.JMethodIDPtr, _$ds.pointer, i) - .object(const jni$_.JDoubleArrayNullableType()); + final _$fs = fs?.reference ?? jni$_.jNullReference; + return _hashCode$5(_class.reference.pointer, + _id_hashCode$5 as jni$_.JMethodIDPtr, _$fs.pointer) + .integer; } - static final _id_copyOf$9 = _class.staticMethodId( - r'copyOf', - r'([ZI)[Z', + static final _id_hashCode$6 = _class.staticMethodId( + r'hashCode', + r'([I)I', ); - static final _copyOf$9 = jni$_.ProtectedJniExtensions.lookup< + static final _hashCode$6 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public boolean[] copyOf(boolean[] zs, int i)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JBooleanArray? copyOf$9( - jni$_.JBooleanArray? zs, - int i, + /// from: `static public int hashCode(int[] is)` + static int hashCode$6( + jni$_.JIntArray? is$, ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - return _copyOf$9(_class.reference.pointer, - _id_copyOf$9 as jni$_.JMethodIDPtr, _$zs.pointer, i) - .object(const jni$_.JBooleanArrayNullableType()); + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _hashCode$6(_class.reference.pointer, + _id_hashCode$6 as jni$_.JMethodIDPtr, _$is$.pointer) + .integer; } - static final _id_copyOfRange = _class.staticMethodId( - r'copyOfRange', - r'([Ljava/lang/Object;II)[Ljava/lang/Object;', + static final _id_hashCode$7 = _class.staticMethodId( + r'hashCode', + r'([Ljava/lang/Object;)I', ); - static final _copyOfRange = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + static final _hashCode$7 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public java.lang.Object[] copyOfRange(java.lang.Object[] objects, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JArray<$T?>? copyOfRange<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - int i, - int i1, { - required jni$_.JObjType<$T> T, - }) { + /// from: `static public int hashCode(java.lang.Object[] objects)` + static int hashCode$7( + jni$_.JArray? objects, + ) { final _$objects = objects?.reference ?? jni$_.jNullReference; - return _copyOfRange(_class.reference.pointer, - _id_copyOfRange as jni$_.JMethodIDPtr, _$objects.pointer, i, i1) - .object?>( - jni$_.JArrayNullableType<$T?>(T.nullableType)); + return _hashCode$7(_class.reference.pointer, + _id_hashCode$7 as jni$_.JMethodIDPtr, _$objects.pointer) + .integer; } - static final _id_copyOfRange$1 = _class.staticMethodId( - r'copyOfRange', - r'([Ljava/lang/Object;IILjava/lang/Class;)[Ljava/lang/Object;', + static final _id_hashCode$8 = _class.staticMethodId( + r'hashCode', + r'([J)I', ); - static final _copyOfRange$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') + static final _hashCode$8 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public java.lang.Object[] copyOfRange(java.lang.Object[] objects, int i, int i1, java.lang.Class class)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JArray<$T?>? - copyOfRange$1<$T extends jni$_.JObject?, $U extends jni$_.JObject?>( - jni$_.JArray<$U?>? objects, - int i, - int i1, - jni$_.JObject? class$, { - required jni$_.JObjType<$T> T, - required jni$_.JObjType<$U> U, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$class$ = class$?.reference ?? jni$_.jNullReference; - return _copyOfRange$1( - _class.reference.pointer, - _id_copyOfRange$1 as jni$_.JMethodIDPtr, - _$objects.pointer, - i, - i1, - _$class$.pointer) - .object?>( - jni$_.JArrayNullableType<$T?>(T.nullableType)); + /// from: `static public int hashCode(long[] js)` + static int hashCode$8( + jni$_.JLongArray? js, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + return _hashCode$8(_class.reference.pointer, + _id_hashCode$8 as jni$_.JMethodIDPtr, _$js.pointer) + .integer; } - static final _id_copyOfRange$2 = _class.staticMethodId( - r'copyOfRange', - r'([BII)[B', + static final _id_hashCode$9 = _class.staticMethodId( + r'hashCode', + r'([S)I', ); - static final _copyOfRange$2 = jni$_.ProtectedJniExtensions.lookup< + static final _hashCode$9 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticIntMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public int hashCode(short[] ss)` + static int hashCode$9( + jni$_.JShortArray? ss, + ) { + final _$ss = ss?.reference ?? jni$_.jNullReference; + return _hashCode$9(_class.reference.pointer, + _id_hashCode$9 as jni$_.JMethodIDPtr, _$ss.pointer) + .integer; + } + + static final _id_mismatch = _class.staticMethodId( + r'mismatch', + r'([Z[Z)I', + ); + + static final _mismatch = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -32560,65 +33778,86 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public byte[] copyOfRange(byte[] bs, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JByteArray? copyOfRange$2( - jni$_.JByteArray? bs, - int i, - int i1, + /// from: `static public int mismatch(boolean[] zs, boolean[] zs1)` + static int mismatch( + jni$_.JBooleanArray? zs, + jni$_.JBooleanArray? zs1, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - return _copyOfRange$2(_class.reference.pointer, - _id_copyOfRange$2 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1) - .object(const jni$_.JByteArrayNullableType()); + final _$zs = zs?.reference ?? jni$_.jNullReference; + final _$zs1 = zs1?.reference ?? jni$_.jNullReference; + return _mismatch(_class.reference.pointer, + _id_mismatch as jni$_.JMethodIDPtr, _$zs.pointer, _$zs1.pointer) + .integer; } - static final _id_copyOfRange$3 = _class.staticMethodId( - r'copyOfRange', - r'([SII)[S', + static final _id_mismatch$1 = _class.staticMethodId( + r'mismatch', + r'([ZII[ZII)I', ); - static final _copyOfRange$3 = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public short[] copyOfRange(short[] ss, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JShortArray? copyOfRange$3( - jni$_.JShortArray? ss, + /// from: `static public int mismatch(boolean[] zs, int i, int i1, boolean[] zs1, int i2, int i3)` + static int mismatch$1( + jni$_.JBooleanArray? zs, int i, int i1, + jni$_.JBooleanArray? zs1, + int i2, + int i3, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - return _copyOfRange$3(_class.reference.pointer, - _id_copyOfRange$3 as jni$_.JMethodIDPtr, _$ss.pointer, i, i1) - .object(const jni$_.JShortArrayNullableType()); + final _$zs = zs?.reference ?? jni$_.jNullReference; + final _$zs1 = zs1?.reference ?? jni$_.jNullReference; + return _mismatch$1( + _class.reference.pointer, + _id_mismatch$1 as jni$_.JMethodIDPtr, + _$zs.pointer, + i, + i1, + _$zs1.pointer, + i2, + i3) + .integer; } - static final _id_copyOfRange$4 = _class.staticMethodId( - r'copyOfRange', - r'([III)[I', + static final _id_mismatch$2 = _class.staticMethodId( + r'mismatch', + r'([B[B)I', ); - static final _copyOfRange$4 = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -32626,65 +33865,86 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public int[] copyOfRange(int[] is, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JIntArray? copyOfRange$4( - jni$_.JIntArray? is$, - int i, - int i1, + /// from: `static public int mismatch(byte[] bs, byte[] bs1)` + static int mismatch$2( + jni$_.JByteArray? bs, + jni$_.JByteArray? bs1, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _copyOfRange$4(_class.reference.pointer, - _id_copyOfRange$4 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1) - .object(const jni$_.JIntArrayNullableType()); + final _$bs = bs?.reference ?? jni$_.jNullReference; + final _$bs1 = bs1?.reference ?? jni$_.jNullReference; + return _mismatch$2(_class.reference.pointer, + _id_mismatch$2 as jni$_.JMethodIDPtr, _$bs.pointer, _$bs1.pointer) + .integer; } - static final _id_copyOfRange$5 = _class.staticMethodId( - r'copyOfRange', - r'([JII)[J', + static final _id_mismatch$3 = _class.staticMethodId( + r'mismatch', + r'([BII[BII)I', ); - static final _copyOfRange$5 = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public long[] copyOfRange(long[] js, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JLongArray? copyOfRange$5( - jni$_.JLongArray? js, + /// from: `static public int mismatch(byte[] bs, int i, int i1, byte[] bs1, int i2, int i3)` + static int mismatch$3( + jni$_.JByteArray? bs, int i, int i1, + jni$_.JByteArray? bs1, + int i2, + int i3, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _copyOfRange$5(_class.reference.pointer, - _id_copyOfRange$5 as jni$_.JMethodIDPtr, _$js.pointer, i, i1) - .object(const jni$_.JLongArrayNullableType()); + final _$bs = bs?.reference ?? jni$_.jNullReference; + final _$bs1 = bs1?.reference ?? jni$_.jNullReference; + return _mismatch$3( + _class.reference.pointer, + _id_mismatch$3 as jni$_.JMethodIDPtr, + _$bs.pointer, + i, + i1, + _$bs1.pointer, + i2, + i3) + .integer; } - static final _id_copyOfRange$6 = _class.staticMethodId( - r'copyOfRange', - r'([CII)[C', + static final _id_mismatch$4 = _class.staticMethodId( + r'mismatch', + r'([C[C)I', ); - static final _copyOfRange$6 = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -32692,65 +33952,86 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public char[] copyOfRange(char[] cs, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JCharArray? copyOfRange$6( + /// from: `static public int mismatch(char[] cs, char[] cs1)` + static int mismatch$4( jni$_.JCharArray? cs, - int i, - int i1, + jni$_.JCharArray? cs1, ) { final _$cs = cs?.reference ?? jni$_.jNullReference; - return _copyOfRange$6(_class.reference.pointer, - _id_copyOfRange$6 as jni$_.JMethodIDPtr, _$cs.pointer, i, i1) - .object(const jni$_.JCharArrayNullableType()); + final _$cs1 = cs1?.reference ?? jni$_.jNullReference; + return _mismatch$4(_class.reference.pointer, + _id_mismatch$4 as jni$_.JMethodIDPtr, _$cs.pointer, _$cs1.pointer) + .integer; } - static final _id_copyOfRange$7 = _class.staticMethodId( - r'copyOfRange', - r'([FII)[F', + static final _id_mismatch$5 = _class.staticMethodId( + r'mismatch', + r'([CII[CII)I', ); - static final _copyOfRange$7 = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public float[] copyOfRange(float[] fs, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JFloatArray? copyOfRange$7( - jni$_.JFloatArray? fs, + /// from: `static public int mismatch(char[] cs, int i, int i1, char[] cs1, int i2, int i3)` + static int mismatch$5( + jni$_.JCharArray? cs, int i, int i1, + jni$_.JCharArray? cs1, + int i2, + int i3, ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - return _copyOfRange$7(_class.reference.pointer, - _id_copyOfRange$7 as jni$_.JMethodIDPtr, _$fs.pointer, i, i1) - .object(const jni$_.JFloatArrayNullableType()); + final _$cs = cs?.reference ?? jni$_.jNullReference; + final _$cs1 = cs1?.reference ?? jni$_.jNullReference; + return _mismatch$5( + _class.reference.pointer, + _id_mismatch$5 as jni$_.JMethodIDPtr, + _$cs.pointer, + i, + i1, + _$cs1.pointer, + i2, + i3) + .integer; } - static final _id_copyOfRange$8 = _class.staticMethodId( - r'copyOfRange', - r'([DII)[D', + static final _id_mismatch$6 = _class.staticMethodId( + r'mismatch', + r'([D[D)I', ); - static final _copyOfRange$8 = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$6 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -32758,354 +34039,313 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public double[] copyOfRange(double[] ds, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JDoubleArray? copyOfRange$8( + /// from: `static public int mismatch(double[] ds, double[] ds1)` + static int mismatch$6( jni$_.JDoubleArray? ds, - int i, - int i1, + jni$_.JDoubleArray? ds1, ) { final _$ds = ds?.reference ?? jni$_.jNullReference; - return _copyOfRange$8(_class.reference.pointer, - _id_copyOfRange$8 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1) - .object(const jni$_.JDoubleArrayNullableType()); + final _$ds1 = ds1?.reference ?? jni$_.jNullReference; + return _mismatch$6(_class.reference.pointer, + _id_mismatch$6 as jni$_.JMethodIDPtr, _$ds.pointer, _$ds1.pointer) + .integer; } - static final _id_copyOfRange$9 = _class.staticMethodId( - r'copyOfRange', - r'([ZII)[Z', + static final _id_mismatch$7 = _class.staticMethodId( + r'mismatch', + r'([DII[DII)I', ); - static final _copyOfRange$9 = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public boolean[] copyOfRange(boolean[] zs, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JBooleanArray? copyOfRange$9( - jni$_.JBooleanArray? zs, + /// from: `static public int mismatch(double[] ds, int i, int i1, double[] ds1, int i2, int i3)` + static int mismatch$7( + jni$_.JDoubleArray? ds, int i, int i1, + jni$_.JDoubleArray? ds1, + int i2, + int i3, ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - return _copyOfRange$9(_class.reference.pointer, - _id_copyOfRange$9 as jni$_.JMethodIDPtr, _$zs.pointer, i, i1) - .object(const jni$_.JBooleanArrayNullableType()); - } - - static final _id_asList = _class.staticMethodId( - r'asList', - r'([Ljava/lang/Object;)Ljava/util/List;', - ); - - static final _asList = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.util.List asList(java.lang.Object[] objects)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JList<$T?>? asList<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - return _asList(_class.reference.pointer, _id_asList as jni$_.JMethodIDPtr, - _$objects.pointer) - .object?>( - jni$_.JListNullableType<$T?>(T.nullableType)); + final _$ds = ds?.reference ?? jni$_.jNullReference; + final _$ds1 = ds1?.reference ?? jni$_.jNullReference; + return _mismatch$7( + _class.reference.pointer, + _id_mismatch$7 as jni$_.JMethodIDPtr, + _$ds.pointer, + i, + i1, + _$ds1.pointer, + i2, + i3) + .integer; } - static final _id_hashCode$1 = _class.staticMethodId( - r'hashCode', - r'([J)I', + static final _id_mismatch$8 = _class.staticMethodId( + r'mismatch', + r'([F[F)I', ); - static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') + static final _mismatch$8 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public int hashCode(long[] js)` - static int hashCode$1( - jni$_.JLongArray? js, + /// from: `static public int mismatch(float[] fs, float[] fs1)` + static int mismatch$8( + jni$_.JFloatArray? fs, + jni$_.JFloatArray? fs1, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _hashCode$1(_class.reference.pointer, - _id_hashCode$1 as jni$_.JMethodIDPtr, _$js.pointer) + final _$fs = fs?.reference ?? jni$_.jNullReference; + final _$fs1 = fs1?.reference ?? jni$_.jNullReference; + return _mismatch$8(_class.reference.pointer, + _id_mismatch$8 as jni$_.JMethodIDPtr, _$fs.pointer, _$fs1.pointer) .integer; } - static final _id_hashCode$2 = _class.staticMethodId( - r'hashCode', - r'([I)I', + static final _id_mismatch$9 = _class.staticMethodId( + r'mismatch', + r'([FII[FII)I', ); - static final _hashCode$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') + static final _mismatch$9 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public int hashCode(int[] is)` - static int hashCode$2( - jni$_.JIntArray? is$, + /// from: `static public int mismatch(float[] fs, int i, int i1, float[] fs1, int i2, int i3)` + static int mismatch$9( + jni$_.JFloatArray? fs, + int i, + int i1, + jni$_.JFloatArray? fs1, + int i2, + int i3, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _hashCode$2(_class.reference.pointer, - _id_hashCode$2 as jni$_.JMethodIDPtr, _$is$.pointer) + final _$fs = fs?.reference ?? jni$_.jNullReference; + final _$fs1 = fs1?.reference ?? jni$_.jNullReference; + return _mismatch$9( + _class.reference.pointer, + _id_mismatch$9 as jni$_.JMethodIDPtr, + _$fs.pointer, + i, + i1, + _$fs1.pointer, + i2, + i3) .integer; } - static final _id_hashCode$3 = _class.staticMethodId( - r'hashCode', - r'([S)I', + static final _id_mismatch$10 = _class.staticMethodId( + r'mismatch', + r'([III[III)I', ); - static final _hashCode$3 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public int hashCode(short[] ss)` - static int hashCode$3( - jni$_.JShortArray? ss, - ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - return _hashCode$3(_class.reference.pointer, - _id_hashCode$3 as jni$_.JMethodIDPtr, _$ss.pointer) - .integer; - } - - static final _id_hashCode$4 = _class.staticMethodId( - r'hashCode', - r'([C)I', - ); - - static final _hashCode$4 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public int hashCode(char[] cs)` - static int hashCode$4( - jni$_.JCharArray? cs, - ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - return _hashCode$4(_class.reference.pointer, - _id_hashCode$4 as jni$_.JMethodIDPtr, _$cs.pointer) - .integer; - } - - static final _id_hashCode$5 = _class.staticMethodId( - r'hashCode', - r'([B)I', - ); - - static final _hashCode$5 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public int hashCode(byte[] bs)` - static int hashCode$5( - jni$_.JByteArray? bs, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - return _hashCode$5(_class.reference.pointer, - _id_hashCode$5 as jni$_.JMethodIDPtr, _$bs.pointer) - .integer; - } - - static final _id_hashCode$6 = _class.staticMethodId( - r'hashCode', - r'([Z)I', - ); - - static final _hashCode$6 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public int hashCode(boolean[] zs)` - static int hashCode$6( - jni$_.JBooleanArray? zs, - ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - return _hashCode$6(_class.reference.pointer, - _id_hashCode$6 as jni$_.JMethodIDPtr, _$zs.pointer) - .integer; - } - - static final _id_hashCode$7 = _class.staticMethodId( - r'hashCode', - r'([F)I', - ); - - static final _hashCode$7 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public int hashCode(float[] fs)` - static int hashCode$7( - jni$_.JFloatArray? fs, - ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - return _hashCode$7(_class.reference.pointer, - _id_hashCode$7 as jni$_.JMethodIDPtr, _$fs.pointer) - .integer; - } - - static final _id_hashCode$8 = _class.staticMethodId( - r'hashCode', - r'([D)I', - ); - - static final _hashCode$8 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') + static final _mismatch$10 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public int hashCode(double[] ds)` - static int hashCode$8( - jni$_.JDoubleArray? ds, + /// from: `static public int mismatch(int[] is, int i, int i1, int[] is1, int i2, int i3)` + static int mismatch$10( + jni$_.JIntArray? is$, + int i, + int i1, + jni$_.JIntArray? is1, + int i2, + int i3, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - return _hashCode$8(_class.reference.pointer, - _id_hashCode$8 as jni$_.JMethodIDPtr, _$ds.pointer) + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$is1 = is1?.reference ?? jni$_.jNullReference; + return _mismatch$10( + _class.reference.pointer, + _id_mismatch$10 as jni$_.JMethodIDPtr, + _$is$.pointer, + i, + i1, + _$is1.pointer, + i2, + i3) .integer; } - static final _id_hashCode$9 = _class.staticMethodId( - r'hashCode', - r'([Ljava/lang/Object;)I', + static final _id_mismatch$11 = _class.staticMethodId( + r'mismatch', + r'([I[I)I', ); - static final _hashCode$9 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') + static final _mismatch$11 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public int hashCode(java.lang.Object[] objects)` - static int hashCode$9( - jni$_.JArray? objects, + /// from: `static public int mismatch(int[] is, int[] is1)` + static int mismatch$11( + jni$_.JIntArray? is$, + jni$_.JIntArray? is1, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - return _hashCode$9(_class.reference.pointer, - _id_hashCode$9 as jni$_.JMethodIDPtr, _$objects.pointer) + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$is1 = is1?.reference ?? jni$_.jNullReference; + return _mismatch$11(_class.reference.pointer, + _id_mismatch$11 as jni$_.JMethodIDPtr, _$is$.pointer, _$is1.pointer) .integer; } - static final _id_deepHashCode = _class.staticMethodId( - r'deepHashCode', - r'([Ljava/lang/Object;)I', + static final _id_mismatch$12 = _class.staticMethodId( + r'mismatch', + r'([Ljava/lang/Object;II[Ljava/lang/Object;II)I', ); - static final _deepHashCode = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticIntMethod') + static final _mismatch$12 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public int deepHashCode(java.lang.Object[] objects)` - static int deepHashCode( + /// from: `static public int mismatch(java.lang.Object[] objects, int i, int i1, java.lang.Object[] objects1, int i2, int i3)` + static int mismatch$12( jni$_.JArray? objects, + int i, + int i1, + jni$_.JArray? objects1, + int i2, + int i3, ) { final _$objects = objects?.reference ?? jni$_.jNullReference; - return _deepHashCode(_class.reference.pointer, - _id_deepHashCode as jni$_.JMethodIDPtr, _$objects.pointer) + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + return _mismatch$12( + _class.reference.pointer, + _id_mismatch$12 as jni$_.JMethodIDPtr, + _$objects.pointer, + i, + i1, + _$objects1.pointer, + i2, + i3) .integer; } - static final _id_deepEquals = _class.staticMethodId( - r'deepEquals', - r'([Ljava/lang/Object;[Ljava/lang/Object;)Z', + static final _id_mismatch$13 = _class.staticMethodId( + r'mismatch', + r'([Ljava/lang/Object;[Ljava/lang/Object;)I', ); - static final _deepEquals = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$13 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -33114,7 +34354,7 @@ class Arrays extends jni$_.JObject { ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticBooleanMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -33122,370 +34362,303 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public boolean deepEquals(java.lang.Object[] objects, java.lang.Object[] objects1)` - static bool deepEquals( + /// from: `static public int mismatch(java.lang.Object[] objects, java.lang.Object[] objects1)` + static int mismatch$13( jni$_.JArray? objects, jni$_.JArray? objects1, ) { final _$objects = objects?.reference ?? jni$_.jNullReference; final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - return _deepEquals( + return _mismatch$13( _class.reference.pointer, - _id_deepEquals as jni$_.JMethodIDPtr, + _id_mismatch$13 as jni$_.JMethodIDPtr, _$objects.pointer, _$objects1.pointer) - .boolean; + .integer; } - static final _id_toString$1 = _class.staticMethodId( - r'toString', - r'([J)Ljava/lang/String;', + static final _id_mismatch$14 = _class.staticMethodId( + r'mismatch', + r'([JII[JII)I', ); - static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + static final _mismatch$14 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public java.lang.String toString(long[] js)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$1( + /// from: `static public int mismatch(long[] js, int i, int i1, long[] js1, int i2, int i3)` + static int mismatch$14( jni$_.JLongArray? js, + int i, + int i1, + jni$_.JLongArray? js1, + int i2, + int i3, ) { final _$js = js?.reference ?? jni$_.jNullReference; - return _toString$1(_class.reference.pointer, - _id_toString$1 as jni$_.JMethodIDPtr, _$js.pointer) - .object(const jni$_.JStringNullableType()); + final _$js1 = js1?.reference ?? jni$_.jNullReference; + return _mismatch$14( + _class.reference.pointer, + _id_mismatch$14 as jni$_.JMethodIDPtr, + _$js.pointer, + i, + i1, + _$js1.pointer, + i2, + i3) + .integer; } - static final _id_toString$2 = _class.staticMethodId( - r'toString', - r'([I)Ljava/lang/String;', + static final _id_mismatch$15 = _class.staticMethodId( + r'mismatch', + r'([J[J)I', ); - static final _toString$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + static final _mismatch$15 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public java.lang.String toString(int[] is)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$2( - jni$_.JIntArray? is$, + /// from: `static public int mismatch(long[] js, long[] js1)` + static int mismatch$15( + jni$_.JLongArray? js, + jni$_.JLongArray? js1, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _toString$2(_class.reference.pointer, - _id_toString$2 as jni$_.JMethodIDPtr, _$is$.pointer) - .object(const jni$_.JStringNullableType()); + final _$js = js?.reference ?? jni$_.jNullReference; + final _$js1 = js1?.reference ?? jni$_.jNullReference; + return _mismatch$15(_class.reference.pointer, + _id_mismatch$15 as jni$_.JMethodIDPtr, _$js.pointer, _$js1.pointer) + .integer; } - static final _id_toString$3 = _class.staticMethodId( - r'toString', - r'([S)Ljava/lang/String;', + static final _id_mismatch$16 = _class.staticMethodId( + r'mismatch', + r'([SII[SII)I', ); - static final _toString$3 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + static final _mismatch$16 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int)>(); - /// from: `static public java.lang.String toString(short[] ss)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$3( + /// from: `static public int mismatch(short[] ss, int i, int i1, short[] ss1, int i2, int i3)` + static int mismatch$16( jni$_.JShortArray? ss, + int i, + int i1, + jni$_.JShortArray? ss1, + int i2, + int i3, ) { final _$ss = ss?.reference ?? jni$_.jNullReference; - return _toString$3(_class.reference.pointer, - _id_toString$3 as jni$_.JMethodIDPtr, _$ss.pointer) - .object(const jni$_.JStringNullableType()); - } - - static final _id_toString$4 = _class.staticMethodId( - r'toString', - r'([C)Ljava/lang/String;', - ); - - static final _toString$4 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.lang.String toString(char[] cs)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$4( - jni$_.JCharArray? cs, - ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - return _toString$4(_class.reference.pointer, - _id_toString$4 as jni$_.JMethodIDPtr, _$cs.pointer) - .object(const jni$_.JStringNullableType()); - } - - static final _id_toString$5 = _class.staticMethodId( - r'toString', - r'([B)Ljava/lang/String;', - ); - - static final _toString$5 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.lang.String toString(byte[] bs)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$5( - jni$_.JByteArray? bs, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - return _toString$5(_class.reference.pointer, - _id_toString$5 as jni$_.JMethodIDPtr, _$bs.pointer) - .object(const jni$_.JStringNullableType()); - } - - static final _id_toString$6 = _class.staticMethodId( - r'toString', - r'([Z)Ljava/lang/String;', - ); - - static final _toString$6 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.lang.String toString(boolean[] zs)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$6( - jni$_.JBooleanArray? zs, - ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - return _toString$6(_class.reference.pointer, - _id_toString$6 as jni$_.JMethodIDPtr, _$zs.pointer) - .object(const jni$_.JStringNullableType()); - } - - static final _id_toString$7 = _class.staticMethodId( - r'toString', - r'([F)Ljava/lang/String;', - ); - - static final _toString$7 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.lang.String toString(float[] fs)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$7( - jni$_.JFloatArray? fs, - ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - return _toString$7(_class.reference.pointer, - _id_toString$7 as jni$_.JMethodIDPtr, _$fs.pointer) - .object(const jni$_.JStringNullableType()); - } - - static final _id_toString$8 = _class.staticMethodId( - r'toString', - r'([D)Ljava/lang/String;', - ); - - static final _toString$8 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.lang.String toString(double[] ds)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$8( - jni$_.JDoubleArray? ds, - ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - return _toString$8(_class.reference.pointer, - _id_toString$8 as jni$_.JMethodIDPtr, _$ds.pointer) - .object(const jni$_.JStringNullableType()); - } - - static final _id_toString$9 = _class.staticMethodId( - r'toString', - r'([Ljava/lang/Object;)Ljava/lang/String;', - ); - - static final _toString$9 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.lang.String toString(java.lang.Object[] objects)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? toString$9( - jni$_.JArray? objects, - ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - return _toString$9(_class.reference.pointer, - _id_toString$9 as jni$_.JMethodIDPtr, _$objects.pointer) - .object(const jni$_.JStringNullableType()); + final _$ss1 = ss1?.reference ?? jni$_.jNullReference; + return _mismatch$16( + _class.reference.pointer, + _id_mismatch$16 as jni$_.JMethodIDPtr, + _$ss.pointer, + i, + i1, + _$ss1.pointer, + i2, + i3) + .integer; } - static final _id_deepToString = _class.staticMethodId( - r'deepToString', - r'([Ljava/lang/Object;)Ljava/lang/String;', + static final _id_mismatch$17 = _class.staticMethodId( + r'mismatch', + r'([S[S)I', ); - static final _deepToString = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + static final _mismatch$17 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public java.lang.String deepToString(java.lang.Object[] objects)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? deepToString( - jni$_.JArray? objects, + /// from: `static public int mismatch(short[] ss, short[] ss1)` + static int mismatch$17( + jni$_.JShortArray? ss, + jni$_.JShortArray? ss1, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - return _deepToString(_class.reference.pointer, - _id_deepToString as jni$_.JMethodIDPtr, _$objects.pointer) - .object(const jni$_.JStringNullableType()); + final _$ss = ss?.reference ?? jni$_.jNullReference; + final _$ss1 = ss1?.reference ?? jni$_.jNullReference; + return _mismatch$17(_class.reference.pointer, + _id_mismatch$17 as jni$_.JMethodIDPtr, _$ss.pointer, _$ss1.pointer) + .integer; } - static final _id_setAll = _class.staticMethodId( - r'setAll', - r'([Ljava/lang/Object;Ljava/util/function/IntFunction;)V', + static final _id_mismatch$18 = _class.staticMethodId( + r'mismatch', + r'([Ljava/lang/Object;II[Ljava/lang/Object;IILjava/util/Comparator;)I', ); - static final _setAll = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$18 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, + int, + int, + jni$_.Pointer, + int, + int, jni$_.Pointer)>(); - /// from: `static public void setAll(java.lang.Object[] objects, java.util.function.IntFunction intFunction)` - static void setAll<$T extends jni$_.JObject?>( + /// from: `static public int mismatch(T[] objects, int i, int i1, T[] objects1, int i2, int i3, java.util.Comparator comparator)` + static int mismatch$18<$T extends jni$_.JObject?>( jni$_.JArray<$T?>? objects, - jni$_.JObject? intFunction, { - required jni$_.JObjType<$T> T, + int i, + int i1, + jni$_.JArray<$T?>? objects1, + int i2, + int i3, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, }) { final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$intFunction = intFunction?.reference ?? jni$_.jNullReference; - _setAll(_class.reference.pointer, _id_setAll as jni$_.JMethodIDPtr, - _$objects.pointer, _$intFunction.pointer) - .check(); + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + return _mismatch$18( + _class.reference.pointer, + _id_mismatch$18 as jni$_.JMethodIDPtr, + _$objects.pointer, + i, + i1, + _$objects1.pointer, + i2, + i3, + _$comparator.pointer) + .integer; } - static final _id_parallelSetAll = _class.staticMethodId( - r'parallelSetAll', - r'([Ljava/lang/Object;Ljava/util/function/IntFunction;)V', + static final _id_mismatch$19 = _class.staticMethodId( + r'mismatch', + r'([Ljava/lang/Object;[Ljava/lang/Object;Ljava/util/Comparator;)I', ); - static final _parallelSetAll = jni$_.ProtectedJniExtensions.lookup< + static final _mismatch$19 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( + jni$_.Pointer, jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticVoidMethod') + )>)>>('globalEnv_CallStaticIntMethod') .asFunction< - jni$_.JThrowablePtr Function( + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, + jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void parallelSetAll(java.lang.Object[] objects, java.util.function.IntFunction intFunction)` - static void parallelSetAll<$T extends jni$_.JObject?>( + /// from: `static public int mismatch(T[] objects, T[] objects1, java.util.Comparator comparator)` + static int mismatch$19<$T extends jni$_.JObject?>( jni$_.JArray<$T?>? objects, - jni$_.JObject? intFunction, { - required jni$_.JObjType<$T> T, + jni$_.JArray<$T?>? objects1, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, }) { final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$intFunction = intFunction?.reference ?? jni$_.jNullReference; - _parallelSetAll( + final _$objects1 = objects1?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + return _mismatch$19( _class.reference.pointer, - _id_parallelSetAll as jni$_.JMethodIDPtr, + _id_mismatch$19 as jni$_.JMethodIDPtr, _$objects.pointer, - _$intFunction.pointer) - .check(); + _$objects1.pointer, + _$comparator.pointer) + .integer; } - static final _id_setAll$1 = _class.staticMethodId( - r'setAll', - r'([ILjava/util/function/IntUnaryOperator;)V', + static final _id_parallelPrefix = _class.staticMethodId( + r'parallelPrefix', + r'([DIILjava/util/function/DoubleBinaryOperator;)V', ); - static final _setAll$1 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelPrefix = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -33493,6 +34666,8 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< @@ -33500,27 +34675,36 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, + int, + int, jni$_.Pointer)>(); - /// from: `static public void setAll(int[] is, java.util.function.IntUnaryOperator intUnaryOperator)` - static void setAll$1( - jni$_.JIntArray? is$, - jni$_.JObject? intUnaryOperator, + /// from: `static public void parallelPrefix(double[] ds, int i, int i1, java.util.function.DoubleBinaryOperator doubleBinaryOperator)` + static void parallelPrefix( + jni$_.JDoubleArray? ds, + int i, + int i1, + jni$_.JObject? doubleBinaryOperator, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$intUnaryOperator = - intUnaryOperator?.reference ?? jni$_.jNullReference; - _setAll$1(_class.reference.pointer, _id_setAll$1 as jni$_.JMethodIDPtr, - _$is$.pointer, _$intUnaryOperator.pointer) + final _$ds = ds?.reference ?? jni$_.jNullReference; + final _$doubleBinaryOperator = + doubleBinaryOperator?.reference ?? jni$_.jNullReference; + _parallelPrefix( + _class.reference.pointer, + _id_parallelPrefix as jni$_.JMethodIDPtr, + _$ds.pointer, + i, + i1, + _$doubleBinaryOperator.pointer) .check(); } - static final _id_parallelSetAll$1 = _class.staticMethodId( - r'parallelSetAll', - r'([ILjava/util/function/IntUnaryOperator;)V', + static final _id_parallelPrefix$1 = _class.staticMethodId( + r'parallelPrefix', + r'([DLjava/util/function/DoubleBinaryOperator;)V', ); - static final _parallelSetAll$1 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelPrefix$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -33537,28 +34721,28 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void parallelSetAll(int[] is, java.util.function.IntUnaryOperator intUnaryOperator)` - static void parallelSetAll$1( - jni$_.JIntArray? is$, - jni$_.JObject? intUnaryOperator, + /// from: `static public void parallelPrefix(double[] ds, java.util.function.DoubleBinaryOperator doubleBinaryOperator)` + static void parallelPrefix$1( + jni$_.JDoubleArray? ds, + jni$_.JObject? doubleBinaryOperator, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$intUnaryOperator = - intUnaryOperator?.reference ?? jni$_.jNullReference; - _parallelSetAll$1( + final _$ds = ds?.reference ?? jni$_.jNullReference; + final _$doubleBinaryOperator = + doubleBinaryOperator?.reference ?? jni$_.jNullReference; + _parallelPrefix$1( _class.reference.pointer, - _id_parallelSetAll$1 as jni$_.JMethodIDPtr, - _$is$.pointer, - _$intUnaryOperator.pointer) + _id_parallelPrefix$1 as jni$_.JMethodIDPtr, + _$ds.pointer, + _$doubleBinaryOperator.pointer) .check(); } - static final _id_setAll$2 = _class.staticMethodId( - r'setAll', - r'([JLjava/util/function/IntToLongFunction;)V', + static final _id_parallelPrefix$2 = _class.staticMethodId( + r'parallelPrefix', + r'([IIILjava/util/function/IntBinaryOperator;)V', ); - static final _setAll$2 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelPrefix$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -33566,6 +34750,8 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< @@ -33573,27 +34759,36 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, + int, + int, jni$_.Pointer)>(); - /// from: `static public void setAll(long[] js, java.util.function.IntToLongFunction intToLongFunction)` - static void setAll$2( - jni$_.JLongArray? js, - jni$_.JObject? intToLongFunction, + /// from: `static public void parallelPrefix(int[] is, int i, int i1, java.util.function.IntBinaryOperator intBinaryOperator)` + static void parallelPrefix$2( + jni$_.JIntArray? is$, + int i, + int i1, + jni$_.JObject? intBinaryOperator, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - final _$intToLongFunction = - intToLongFunction?.reference ?? jni$_.jNullReference; - _setAll$2(_class.reference.pointer, _id_setAll$2 as jni$_.JMethodIDPtr, - _$js.pointer, _$intToLongFunction.pointer) + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$intBinaryOperator = + intBinaryOperator?.reference ?? jni$_.jNullReference; + _parallelPrefix$2( + _class.reference.pointer, + _id_parallelPrefix$2 as jni$_.JMethodIDPtr, + _$is$.pointer, + i, + i1, + _$intBinaryOperator.pointer) .check(); } - static final _id_parallelSetAll$2 = _class.staticMethodId( - r'parallelSetAll', - r'([JLjava/util/function/IntToLongFunction;)V', + static final _id_parallelPrefix$3 = _class.staticMethodId( + r'parallelPrefix', + r'([ILjava/util/function/IntBinaryOperator;)V', ); - static final _parallelSetAll$2 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelPrefix$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -33610,28 +34805,28 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void parallelSetAll(long[] js, java.util.function.IntToLongFunction intToLongFunction)` - static void parallelSetAll$2( - jni$_.JLongArray? js, - jni$_.JObject? intToLongFunction, + /// from: `static public void parallelPrefix(int[] is, java.util.function.IntBinaryOperator intBinaryOperator)` + static void parallelPrefix$3( + jni$_.JIntArray? is$, + jni$_.JObject? intBinaryOperator, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - final _$intToLongFunction = - intToLongFunction?.reference ?? jni$_.jNullReference; - _parallelSetAll$2( + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$intBinaryOperator = + intBinaryOperator?.reference ?? jni$_.jNullReference; + _parallelPrefix$3( _class.reference.pointer, - _id_parallelSetAll$2 as jni$_.JMethodIDPtr, - _$js.pointer, - _$intToLongFunction.pointer) + _id_parallelPrefix$3 as jni$_.JMethodIDPtr, + _$is$.pointer, + _$intBinaryOperator.pointer) .check(); } - static final _id_setAll$3 = _class.staticMethodId( - r'setAll', - r'([DLjava/util/function/IntToDoubleFunction;)V', + static final _id_parallelPrefix$4 = _class.staticMethodId( + r'parallelPrefix', + r'([JIILjava/util/function/LongBinaryOperator;)V', ); - static final _setAll$3 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelPrefix$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -33639,6 +34834,8 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< @@ -33646,27 +34843,36 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, + int, + int, jni$_.Pointer)>(); - /// from: `static public void setAll(double[] ds, java.util.function.IntToDoubleFunction intToDoubleFunction)` - static void setAll$3( - jni$_.JDoubleArray? ds, - jni$_.JObject? intToDoubleFunction, + /// from: `static public void parallelPrefix(long[] js, int i, int i1, java.util.function.LongBinaryOperator longBinaryOperator)` + static void parallelPrefix$4( + jni$_.JLongArray? js, + int i, + int i1, + jni$_.JObject? longBinaryOperator, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$intToDoubleFunction = - intToDoubleFunction?.reference ?? jni$_.jNullReference; - _setAll$3(_class.reference.pointer, _id_setAll$3 as jni$_.JMethodIDPtr, - _$ds.pointer, _$intToDoubleFunction.pointer) + final _$js = js?.reference ?? jni$_.jNullReference; + final _$longBinaryOperator = + longBinaryOperator?.reference ?? jni$_.jNullReference; + _parallelPrefix$4( + _class.reference.pointer, + _id_parallelPrefix$4 as jni$_.JMethodIDPtr, + _$js.pointer, + i, + i1, + _$longBinaryOperator.pointer) .check(); } - static final _id_parallelSetAll$3 = _class.staticMethodId( - r'parallelSetAll', - r'([DLjava/util/function/IntToDoubleFunction;)V', + static final _id_parallelPrefix$5 = _class.staticMethodId( + r'parallelPrefix', + r'([JLjava/util/function/LongBinaryOperator;)V', ); - static final _parallelSetAll$3 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelPrefix$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, @@ -33683,361 +34889,292 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public void parallelSetAll(double[] ds, java.util.function.IntToDoubleFunction intToDoubleFunction)` - static void parallelSetAll$3( - jni$_.JDoubleArray? ds, - jni$_.JObject? intToDoubleFunction, + /// from: `static public void parallelPrefix(long[] js, java.util.function.LongBinaryOperator longBinaryOperator)` + static void parallelPrefix$5( + jni$_.JLongArray? js, + jni$_.JObject? longBinaryOperator, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$intToDoubleFunction = - intToDoubleFunction?.reference ?? jni$_.jNullReference; - _parallelSetAll$3( + final _$js = js?.reference ?? jni$_.jNullReference; + final _$longBinaryOperator = + longBinaryOperator?.reference ?? jni$_.jNullReference; + _parallelPrefix$5( _class.reference.pointer, - _id_parallelSetAll$3 as jni$_.JMethodIDPtr, - _$ds.pointer, - _$intToDoubleFunction.pointer) + _id_parallelPrefix$5 as jni$_.JMethodIDPtr, + _$js.pointer, + _$longBinaryOperator.pointer) .check(); } - static final _id_spliterator = _class.staticMethodId( - r'spliterator', - r'([Ljava/lang/Object;)Ljava/util/Spliterator;', - ); - - static final _spliterator = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.util.Spliterator spliterator(java.lang.Object[] objects)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? spliterator<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - return _spliterator(_class.reference.pointer, - _id_spliterator as jni$_.JMethodIDPtr, _$objects.pointer) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_spliterator$1 = _class.staticMethodId( - r'spliterator', - r'([Ljava/lang/Object;II)Ljava/util/Spliterator;', + static final _id_parallelPrefix$6 = _class.staticMethodId( + r'parallelPrefix', + r'([Ljava/lang/Object;IILjava/util/function/BinaryOperator;)V', ); - static final _spliterator$1 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelPrefix$6 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Int32, + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + jni$_.Pointer)>(); - /// from: `static public java.util.Spliterator spliterator(java.lang.Object[] objects, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? spliterator$1<$T extends jni$_.JObject?>( + /// from: `static public void parallelPrefix(T[] objects, int i, int i1, java.util.function.BinaryOperator binaryOperator)` + static void parallelPrefix$6<$T extends jni$_.JObject?>( jni$_.JArray<$T?>? objects, int i, - int i1, { - required jni$_.JObjType<$T> T, + int i1, + jni$_.JObject? binaryOperator, { + required jni$_.JType<$T> T, }) { final _$objects = objects?.reference ?? jni$_.jNullReference; - return _spliterator$1(_class.reference.pointer, - _id_spliterator$1 as jni$_.JMethodIDPtr, _$objects.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_spliterator$2 = _class.staticMethodId( - r'spliterator', - r'([I)Ljava/util/Spliterator$OfInt;', - ); - - static final _spliterator$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.util.Spliterator$OfInt spliterator(int[] is)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? spliterator$2( - jni$_.JIntArray? is$, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _spliterator$2(_class.reference.pointer, - _id_spliterator$2 as jni$_.JMethodIDPtr, _$is$.pointer) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_spliterator$3 = _class.staticMethodId( - r'spliterator', - r'([III)Ljava/util/Spliterator$OfInt;', - ); - - static final _spliterator$3 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - - /// from: `static public java.util.Spliterator$OfInt spliterator(int[] is, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? spliterator$3( - jni$_.JIntArray? is$, - int i, - int i1, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _spliterator$3(_class.reference.pointer, - _id_spliterator$3 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_spliterator$4 = _class.staticMethodId( - r'spliterator', - r'([J)Ljava/util/Spliterator$OfLong;', - ); - - static final _spliterator$4 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `static public java.util.Spliterator$OfLong spliterator(long[] js)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? spliterator$4( - jni$_.JLongArray? js, - ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _spliterator$4(_class.reference.pointer, - _id_spliterator$4 as jni$_.JMethodIDPtr, _$js.pointer) - .object(const jni$_.JObjectNullableType()); + final _$binaryOperator = binaryOperator?.reference ?? jni$_.jNullReference; + _parallelPrefix$6( + _class.reference.pointer, + _id_parallelPrefix$6 as jni$_.JMethodIDPtr, + _$objects.pointer, + i, + i1, + _$binaryOperator.pointer) + .check(); } - static final _id_spliterator$5 = _class.staticMethodId( - r'spliterator', - r'([JII)Ljava/util/Spliterator$OfLong;', + static final _id_parallelPrefix$7 = _class.staticMethodId( + r'parallelPrefix', + r'([Ljava/lang/Object;Ljava/util/function/BinaryOperator;)V', ); - static final _spliterator$5 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelPrefix$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public java.util.Spliterator$OfLong spliterator(long[] js, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? spliterator$5( - jni$_.JLongArray? js, - int i, - int i1, - ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _spliterator$5(_class.reference.pointer, - _id_spliterator$5 as jni$_.JMethodIDPtr, _$js.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); + /// from: `static public void parallelPrefix(T[] objects, java.util.function.BinaryOperator binaryOperator)` + static void parallelPrefix$7<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + jni$_.JObject? binaryOperator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$binaryOperator = binaryOperator?.reference ?? jni$_.jNullReference; + _parallelPrefix$7( + _class.reference.pointer, + _id_parallelPrefix$7 as jni$_.JMethodIDPtr, + _$objects.pointer, + _$binaryOperator.pointer) + .check(); } - static final _id_spliterator$6 = _class.staticMethodId( - r'spliterator', - r'([D)Ljava/util/Spliterator$OfDouble;', + static final _id_parallelSetAll = _class.staticMethodId( + r'parallelSetAll', + r'([DLjava/util/function/IntToDoubleFunction;)V', ); - static final _spliterator$6 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + static final _parallelSetAll = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public java.util.Spliterator$OfDouble spliterator(double[] ds)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? spliterator$6( + /// from: `static public void parallelSetAll(double[] ds, java.util.function.IntToDoubleFunction intToDoubleFunction)` + static void parallelSetAll( jni$_.JDoubleArray? ds, + jni$_.JObject? intToDoubleFunction, ) { final _$ds = ds?.reference ?? jni$_.jNullReference; - return _spliterator$6(_class.reference.pointer, - _id_spliterator$6 as jni$_.JMethodIDPtr, _$ds.pointer) - .object(const jni$_.JObjectNullableType()); + final _$intToDoubleFunction = + intToDoubleFunction?.reference ?? jni$_.jNullReference; + _parallelSetAll( + _class.reference.pointer, + _id_parallelSetAll as jni$_.JMethodIDPtr, + _$ds.pointer, + _$intToDoubleFunction.pointer) + .check(); } - static final _id_spliterator$7 = _class.staticMethodId( - r'spliterator', - r'([DII)Ljava/util/Spliterator$OfDouble;', + static final _id_parallelSetAll$1 = _class.staticMethodId( + r'parallelSetAll', + r'([ILjava/util/function/IntUnaryOperator;)V', ); - static final _spliterator$7 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSetAll$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public java.util.Spliterator$OfDouble spliterator(double[] ds, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? spliterator$7( - jni$_.JDoubleArray? ds, - int i, - int i1, + /// from: `static public void parallelSetAll(int[] is, java.util.function.IntUnaryOperator intUnaryOperator)` + static void parallelSetAll$1( + jni$_.JIntArray? is$, + jni$_.JObject? intUnaryOperator, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - return _spliterator$7(_class.reference.pointer, - _id_spliterator$7 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); + final _$is$ = is$?.reference ?? jni$_.jNullReference; + final _$intUnaryOperator = + intUnaryOperator?.reference ?? jni$_.jNullReference; + _parallelSetAll$1( + _class.reference.pointer, + _id_parallelSetAll$1 as jni$_.JMethodIDPtr, + _$is$.pointer, + _$intUnaryOperator.pointer) + .check(); } - static final _id_stream = _class.staticMethodId( - r'stream', - r'([Ljava/lang/Object;)Ljava/util/stream/Stream;', + static final _id_parallelSetAll$2 = _class.staticMethodId( + r'parallelSetAll', + r'([JLjava/util/function/IntToLongFunction;)V', ); - static final _stream = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + static final _parallelSetAll$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public java.util.stream.Stream stream(java.lang.Object[] objects)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? stream<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - return _stream(_class.reference.pointer, _id_stream as jni$_.JMethodIDPtr, - _$objects.pointer) - .object(const jni$_.JObjectNullableType()); + /// from: `static public void parallelSetAll(long[] js, java.util.function.IntToLongFunction intToLongFunction)` + static void parallelSetAll$2( + jni$_.JLongArray? js, + jni$_.JObject? intToLongFunction, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + final _$intToLongFunction = + intToLongFunction?.reference ?? jni$_.jNullReference; + _parallelSetAll$2( + _class.reference.pointer, + _id_parallelSetAll$2 as jni$_.JMethodIDPtr, + _$js.pointer, + _$intToLongFunction.pointer) + .check(); } - static final _id_stream$1 = _class.staticMethodId( - r'stream', - r'([Ljava/lang/Object;II)Ljava/util/stream/Stream;', + static final _id_parallelSetAll$3 = _class.staticMethodId( + r'parallelSetAll', + r'([Ljava/lang/Object;Ljava/util/function/IntFunction;)V', ); - static final _stream$1 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSetAll$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); - /// from: `static public java.util.stream.Stream stream(java.lang.Object[] objects, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? stream$1<$T extends jni$_.JObject?>( + /// from: `static public void parallelSetAll(T[] objects, java.util.function.IntFunction intFunction)` + static void parallelSetAll$3<$T extends jni$_.JObject?>( jni$_.JArray<$T?>? objects, - int i, - int i1, { - required jni$_.JObjType<$T> T, + jni$_.JObject? intFunction, { + required jni$_.JType<$T> T, }) { final _$objects = objects?.reference ?? jni$_.jNullReference; - return _stream$1(_class.reference.pointer, - _id_stream$1 as jni$_.JMethodIDPtr, _$objects.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); + final _$intFunction = intFunction?.reference ?? jni$_.jNullReference; + _parallelSetAll$3( + _class.reference.pointer, + _id_parallelSetAll$3 as jni$_.JMethodIDPtr, + _$objects.pointer, + _$intFunction.pointer) + .check(); } - static final _id_stream$2 = _class.staticMethodId( - r'stream', - r'([I)Ljava/util/stream/IntStream;', + static final _id_parallelSort = _class.staticMethodId( + r'parallelSort', + r'([B)V', ); - static final _stream$2 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, + jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public java.util.stream.IntStream stream(int[] is)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? stream$2( - jni$_.JIntArray? is$, + /// from: `static public void parallelSort(byte[] bs)` + static void parallelSort( + jni$_.JByteArray? bs, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _stream$2(_class.reference.pointer, - _id_stream$2 as jni$_.JMethodIDPtr, _$is$.pointer) - .object(const jni$_.JObjectNullableType()); + final _$bs = bs?.reference ?? jni$_.jNullReference; + _parallelSort(_class.reference.pointer, + _id_parallelSort as jni$_.JMethodIDPtr, _$bs.pointer) + .check(); } - static final _id_stream$3 = _class.staticMethodId( - r'stream', - r'([III)Ljava/util/stream/IntStream;', + static final _id_parallelSort$1 = _class.staticMethodId( + r'parallelSort', + r'([BII)V', ); - static final _stream$3 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -34045,59 +35182,57 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, + jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public java.util.stream.IntStream stream(int[] is, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? stream$3( - jni$_.JIntArray? is$, + /// from: `static public void parallelSort(byte[] bs, int i, int i1)` + static void parallelSort$1( + jni$_.JByteArray? bs, int i, int i1, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _stream$3(_class.reference.pointer, - _id_stream$3 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); + final _$bs = bs?.reference ?? jni$_.jNullReference; + _parallelSort$1(_class.reference.pointer, + _id_parallelSort$1 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1) + .check(); } - static final _id_stream$4 = _class.staticMethodId( - r'stream', - r'([J)Ljava/util/stream/LongStream;', + static final _id_parallelSort$2 = _class.staticMethodId( + r'parallelSort', + r'([C)V', ); - static final _stream$4 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, + jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public java.util.stream.LongStream stream(long[] js)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? stream$4( - jni$_.JLongArray? js, + /// from: `static public void parallelSort(char[] cs)` + static void parallelSort$2( + jni$_.JCharArray? cs, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _stream$4(_class.reference.pointer, - _id_stream$4 as jni$_.JMethodIDPtr, _$js.pointer) - .object(const jni$_.JObjectNullableType()); + final _$cs = cs?.reference ?? jni$_.jNullReference; + _parallelSort$2(_class.reference.pointer, + _id_parallelSort$2 as jni$_.JMethodIDPtr, _$cs.pointer) + .check(); } - static final _id_stream$5 = _class.staticMethodId( - r'stream', - r'([JII)Ljava/util/stream/LongStream;', + static final _id_parallelSort$3 = _class.staticMethodId( + r'parallelSort', + r'([CII)V', ); - static final _stream$5 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -34105,59 +35240,57 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, + jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public java.util.stream.LongStream stream(long[] js, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? stream$5( - jni$_.JLongArray? js, + /// from: `static public void parallelSort(char[] cs, int i, int i1)` + static void parallelSort$3( + jni$_.JCharArray? cs, int i, int i1, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - return _stream$5(_class.reference.pointer, - _id_stream$5 as jni$_.JMethodIDPtr, _$js.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); + final _$cs = cs?.reference ?? jni$_.jNullReference; + _parallelSort$3(_class.reference.pointer, + _id_parallelSort$3 as jni$_.JMethodIDPtr, _$cs.pointer, i, i1) + .check(); } - static final _id_stream$6 = _class.staticMethodId( - r'stream', - r'([D)Ljava/util/stream/DoubleStream;', + static final _id_parallelSort$4 = _class.staticMethodId( + r'parallelSort', + r'([D)V', ); - static final _stream$6 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$4 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, + jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public java.util.stream.DoubleStream stream(double[] ds)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? stream$6( + /// from: `static public void parallelSort(double[] ds)` + static void parallelSort$4( jni$_.JDoubleArray? ds, ) { final _$ds = ds?.reference ?? jni$_.jNullReference; - return _stream$6(_class.reference.pointer, - _id_stream$6 as jni$_.JMethodIDPtr, _$ds.pointer) - .object(const jni$_.JObjectNullableType()); + _parallelSort$4(_class.reference.pointer, + _id_parallelSort$4 as jni$_.JMethodIDPtr, _$ds.pointer) + .check(); } - static final _id_stream$7 = _class.staticMethodId( - r'stream', - r'([DII)Ljava/util/stream/DoubleStream;', + static final _id_parallelSort$5 = _class.staticMethodId( + r'parallelSort', + r'([DII)V', ); - static final _stream$7 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -34165,507 +35298,327 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticObjectMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, + jni$_.JThrowablePtr Function(jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public java.util.stream.DoubleStream stream(double[] ds, int i, int i1)` - /// The returned object must be released after use, by calling the [release] method. - static jni$_.JObject? stream$7( + /// from: `static public void parallelSort(double[] ds, int i, int i1)` + static void parallelSort$5( jni$_.JDoubleArray? ds, int i, int i1, ) { final _$ds = ds?.reference ?? jni$_.jNullReference; - return _stream$7(_class.reference.pointer, - _id_stream$7 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); - } - - static final _id_compare = _class.staticMethodId( - r'compare', - r'([Z[Z)I', - ); - - static final _compare = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); - - /// from: `static public int compare(boolean[] zs, boolean[] zs1)` - static int compare( - jni$_.JBooleanArray? zs, - jni$_.JBooleanArray? zs1, - ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - final _$zs1 = zs1?.reference ?? jni$_.jNullReference; - return _compare(_class.reference.pointer, _id_compare as jni$_.JMethodIDPtr, - _$zs.pointer, _$zs1.pointer) - .integer; - } - - static final _id_compare$1 = _class.staticMethodId( - r'compare', - r'([ZII[ZII)I', - ); - - static final _compare$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); - - /// from: `static public int compare(boolean[] zs, int i, int i1, boolean[] zs1, int i2, int i3)` - static int compare$1( - jni$_.JBooleanArray? zs, - int i, - int i1, - jni$_.JBooleanArray? zs1, - int i2, - int i3, - ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - final _$zs1 = zs1?.reference ?? jni$_.jNullReference; - return _compare$1( - _class.reference.pointer, - _id_compare$1 as jni$_.JMethodIDPtr, - _$zs.pointer, - i, - i1, - _$zs1.pointer, - i2, - i3) - .integer; - } - - static final _id_compare$2 = _class.staticMethodId( - r'compare', - r'([B[B)I', - ); - - static final _compare$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); - - /// from: `static public int compare(byte[] bs, byte[] bs1)` - static int compare$2( - jni$_.JByteArray? bs, - jni$_.JByteArray? bs1, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$bs1 = bs1?.reference ?? jni$_.jNullReference; - return _compare$2(_class.reference.pointer, - _id_compare$2 as jni$_.JMethodIDPtr, _$bs.pointer, _$bs1.pointer) - .integer; + _parallelSort$5(_class.reference.pointer, + _id_parallelSort$5 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1) + .check(); } - static final _id_compare$3 = _class.staticMethodId( - r'compare', - r'([BII[BII)I', + static final _id_parallelSort$6 = _class.staticMethodId( + r'parallelSort', + r'([F)V', ); - static final _compare$3 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + static final _parallelSort$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); - - /// from: `static public int compare(byte[] bs, int i, int i1, byte[] bs1, int i2, int i3)` - static int compare$3( - jni$_.JByteArray? bs, - int i, - int i1, - jni$_.JByteArray? bs1, - int i2, - int i3, - ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$bs1 = bs1?.reference ?? jni$_.jNullReference; - return _compare$3( - _class.reference.pointer, - _id_compare$3 as jni$_.JMethodIDPtr, - _$bs.pointer, - i, - i1, - _$bs1.pointer, - i2, - i3) - .integer; + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void parallelSort(float[] fs)` + static void parallelSort$6( + jni$_.JFloatArray? fs, + ) { + final _$fs = fs?.reference ?? jni$_.jNullReference; + _parallelSort$6(_class.reference.pointer, + _id_parallelSort$6 as jni$_.JMethodIDPtr, _$fs.pointer) + .check(); } - static final _id_compareUnsigned = _class.staticMethodId( - r'compareUnsigned', - r'([B[B)I', + static final _id_parallelSort$7 = _class.staticMethodId( + r'parallelSort', + r'([FII)V', ); - static final _compareUnsigned = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compareUnsigned(byte[] bs, byte[] bs1)` - static int compareUnsigned( - jni$_.JByteArray? bs, - jni$_.JByteArray? bs1, + /// from: `static public void parallelSort(float[] fs, int i, int i1)` + static void parallelSort$7( + jni$_.JFloatArray? fs, + int i, + int i1, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$bs1 = bs1?.reference ?? jni$_.jNullReference; - return _compareUnsigned( - _class.reference.pointer, - _id_compareUnsigned as jni$_.JMethodIDPtr, - _$bs.pointer, - _$bs1.pointer) - .integer; + final _$fs = fs?.reference ?? jni$_.jNullReference; + _parallelSort$7(_class.reference.pointer, + _id_parallelSort$7 as jni$_.JMethodIDPtr, _$fs.pointer, i, i1) + .check(); } - static final _id_compareUnsigned$1 = _class.staticMethodId( - r'compareUnsigned', - r'([BII[BII)I', + static final _id_parallelSort$8 = _class.staticMethodId( + r'parallelSort', + r'([I)V', ); - static final _compareUnsigned$1 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$8 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void parallelSort(int[] is)` + static void parallelSort$8( + jni$_.JIntArray? is$, + ) { + final _$is$ = is$?.reference ?? jni$_.jNullReference; + _parallelSort$8(_class.reference.pointer, + _id_parallelSort$8 as jni$_.JMethodIDPtr, _$is$.pointer) + .check(); + } + + static final _id_parallelSort$9 = _class.staticMethodId( + r'parallelSort', + r'([III)V', + ); + + static final _parallelSort$9 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compareUnsigned(byte[] bs, int i, int i1, byte[] bs1, int i2, int i3)` - static int compareUnsigned$1( - jni$_.JByteArray? bs, + /// from: `static public void parallelSort(int[] is, int i, int i1)` + static void parallelSort$9( + jni$_.JIntArray? is$, int i, int i1, - jni$_.JByteArray? bs1, - int i2, - int i3, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$bs1 = bs1?.reference ?? jni$_.jNullReference; - return _compareUnsigned$1( - _class.reference.pointer, - _id_compareUnsigned$1 as jni$_.JMethodIDPtr, - _$bs.pointer, - i, - i1, - _$bs1.pointer, - i2, - i3) - .integer; + final _$is$ = is$?.reference ?? jni$_.jNullReference; + _parallelSort$9(_class.reference.pointer, + _id_parallelSort$9 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1) + .check(); } - static final _id_compare$4 = _class.staticMethodId( - r'compare', - r'([S[S)I', + static final _id_parallelSort$10 = _class.staticMethodId( + r'parallelSort', + r'([J)V', ); - static final _compare$4 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _parallelSort$10 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int compare(short[] ss, short[] ss1)` - static int compare$4( - jni$_.JShortArray? ss, - jni$_.JShortArray? ss1, + /// from: `static public void parallelSort(long[] js)` + static void parallelSort$10( + jni$_.JLongArray? js, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - final _$ss1 = ss1?.reference ?? jni$_.jNullReference; - return _compare$4(_class.reference.pointer, - _id_compare$4 as jni$_.JMethodIDPtr, _$ss.pointer, _$ss1.pointer) - .integer; + final _$js = js?.reference ?? jni$_.jNullReference; + _parallelSort$10(_class.reference.pointer, + _id_parallelSort$10 as jni$_.JMethodIDPtr, _$js.pointer) + .check(); } - static final _id_compare$5 = _class.staticMethodId( - r'compare', - r'([SII[SII)I', + static final _id_parallelSort$11 = _class.staticMethodId( + r'parallelSort', + r'([JII)V', ); - static final _compare$5 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$11 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compare(short[] ss, int i, int i1, short[] ss1, int i2, int i3)` - static int compare$5( - jni$_.JShortArray? ss, + /// from: `static public void parallelSort(long[] js, int i, int i1)` + static void parallelSort$11( + jni$_.JLongArray? js, int i, int i1, - jni$_.JShortArray? ss1, - int i2, - int i3, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - final _$ss1 = ss1?.reference ?? jni$_.jNullReference; - return _compare$5( - _class.reference.pointer, - _id_compare$5 as jni$_.JMethodIDPtr, - _$ss.pointer, - i, - i1, - _$ss1.pointer, - i2, - i3) - .integer; + final _$js = js?.reference ?? jni$_.jNullReference; + _parallelSort$11(_class.reference.pointer, + _id_parallelSort$11 as jni$_.JMethodIDPtr, _$js.pointer, i, i1) + .check(); } - static final _id_compareUnsigned$2 = _class.staticMethodId( - r'compareUnsigned', - r'([S[S)I', + static final _id_parallelSort$12 = _class.staticMethodId( + r'parallelSort', + r'([S)V', ); - static final _compareUnsigned$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _parallelSort$12 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int compareUnsigned(short[] ss, short[] ss1)` - static int compareUnsigned$2( + /// from: `static public void parallelSort(short[] ss)` + static void parallelSort$12( jni$_.JShortArray? ss, - jni$_.JShortArray? ss1, ) { final _$ss = ss?.reference ?? jni$_.jNullReference; - final _$ss1 = ss1?.reference ?? jni$_.jNullReference; - return _compareUnsigned$2( - _class.reference.pointer, - _id_compareUnsigned$2 as jni$_.JMethodIDPtr, - _$ss.pointer, - _$ss1.pointer) - .integer; + _parallelSort$12(_class.reference.pointer, + _id_parallelSort$12 as jni$_.JMethodIDPtr, _$ss.pointer) + .check(); } - static final _id_compareUnsigned$3 = _class.staticMethodId( - r'compareUnsigned', - r'([SII[SII)I', + static final _id_parallelSort$13 = _class.staticMethodId( + r'parallelSort', + r'([SII)V', ); - static final _compareUnsigned$3 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$13 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compareUnsigned(short[] ss, int i, int i1, short[] ss1, int i2, int i3)` - static int compareUnsigned$3( + /// from: `static public void parallelSort(short[] ss, int i, int i1)` + static void parallelSort$13( jni$_.JShortArray? ss, int i, int i1, - jni$_.JShortArray? ss1, - int i2, - int i3, ) { final _$ss = ss?.reference ?? jni$_.jNullReference; - final _$ss1 = ss1?.reference ?? jni$_.jNullReference; - return _compareUnsigned$3( - _class.reference.pointer, - _id_compareUnsigned$3 as jni$_.JMethodIDPtr, - _$ss.pointer, - i, - i1, - _$ss1.pointer, - i2, - i3) - .integer; + _parallelSort$13(_class.reference.pointer, + _id_parallelSort$13 as jni$_.JMethodIDPtr, _$ss.pointer, i, i1) + .check(); } - static final _id_compare$6 = _class.staticMethodId( - r'compare', - r'([C[C)I', + static final _id_parallelSort$14 = _class.staticMethodId( + r'parallelSort', + r'([Ljava/lang/Comparable;)V', ); - static final _compare$6 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$14 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void parallelSort(T[] comparables)` + static void parallelSort$14<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? comparables, { + required jni$_.JType<$T> T, + }) { + final _$comparables = comparables?.reference ?? jni$_.jNullReference; + _parallelSort$14(_class.reference.pointer, + _id_parallelSort$14 as jni$_.JMethodIDPtr, _$comparables.pointer) + .check(); + } + + static final _id_parallelSort$15 = _class.staticMethodId( + r'parallelSort', + r'([Ljava/lang/Comparable;II)V', + ); + + static final _parallelSort$15 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compare(char[] cs, char[] cs1)` - static int compare$6( - jni$_.JCharArray? cs, - jni$_.JCharArray? cs1, - ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - final _$cs1 = cs1?.reference ?? jni$_.jNullReference; - return _compare$6(_class.reference.pointer, - _id_compare$6 as jni$_.JMethodIDPtr, _$cs.pointer, _$cs1.pointer) - .integer; + /// from: `static public void parallelSort(T[] comparables, int i, int i1)` + static void parallelSort$15<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? comparables, + int i, + int i1, { + required jni$_.JType<$T> T, + }) { + final _$comparables = comparables?.reference ?? jni$_.jNullReference; + _parallelSort$15( + _class.reference.pointer, + _id_parallelSort$15 as jni$_.JMethodIDPtr, + _$comparables.pointer, + i, + i1) + .check(); } - static final _id_compare$7 = _class.staticMethodId( - r'compare', - r'([CII[CII)I', + static final _id_parallelSort$16 = _class.staticMethodId( + r'parallelSort', + r'([Ljava/lang/Object;IILjava/util/Comparator;)V', ); - static final _compare$7 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$16 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< @@ -34673,946 +35626,908 @@ class Arrays extends jni$_.JObject { jni$_.Pointer, jni$_.Int32, jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, - jni$_.Pointer, - int, - int)>(); + jni$_.Pointer)>(); - /// from: `static public int compare(char[] cs, int i, int i1, char[] cs1, int i2, int i3)` - static int compare$7( - jni$_.JCharArray? cs, + /// from: `static public void parallelSort(T[] objects, int i, int i1, java.util.Comparator comparator)` + static void parallelSort$16<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, int i, int i1, - jni$_.JCharArray? cs1, - int i2, - int i3, - ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - final _$cs1 = cs1?.reference ?? jni$_.jNullReference; - return _compare$7( + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + _parallelSort$16( _class.reference.pointer, - _id_compare$7 as jni$_.JMethodIDPtr, - _$cs.pointer, + _id_parallelSort$16 as jni$_.JMethodIDPtr, + _$objects.pointer, i, i1, - _$cs1.pointer, - i2, - i3) - .integer; + _$comparator.pointer) + .check(); } - static final _id_compare$8 = _class.staticMethodId( - r'compare', - r'([I[I)I', + static final _id_parallelSort$17 = _class.staticMethodId( + r'parallelSort', + r'([Ljava/lang/Object;Ljava/util/Comparator;)V', ); - static final _compare$8 = jni$_.ProtectedJniExtensions.lookup< + static final _parallelSort$17 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public int compare(int[] is, int[] is1)` - static int compare$8( - jni$_.JIntArray? is$, - jni$_.JIntArray? is1, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$is1 = is1?.reference ?? jni$_.jNullReference; - return _compare$8(_class.reference.pointer, - _id_compare$8 as jni$_.JMethodIDPtr, _$is$.pointer, _$is1.pointer) - .integer; + /// from: `static public void parallelSort(T[] objects, java.util.Comparator comparator)` + static void parallelSort$17<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + jni$_.JObject? comparator, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$comparator = comparator?.reference ?? jni$_.jNullReference; + _parallelSort$17( + _class.reference.pointer, + _id_parallelSort$17 as jni$_.JMethodIDPtr, + _$objects.pointer, + _$comparator.pointer) + .check(); } - static final _id_compare$9 = _class.staticMethodId( - r'compare', - r'([III[III)I', + static final _id_setAll = _class.staticMethodId( + r'setAll', + r'([DLjava/util/function/IntToDoubleFunction;)V', ); - static final _compare$9 = jni$_.ProtectedJniExtensions.lookup< + static final _setAll = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); - - /// from: `static public int compare(int[] is, int i, int i1, int[] is1, int i2, int i3)` - static int compare$9( - jni$_.JIntArray? is$, - int i, - int i1, - jni$_.JIntArray? is1, - int i2, - int i3, - ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$is1 = is1?.reference ?? jni$_.jNullReference; - return _compare$9( - _class.reference.pointer, - _id_compare$9 as jni$_.JMethodIDPtr, - _$is$.pointer, - i, - i1, - _$is1.pointer, - i2, - i3) - .integer; + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer)>(); + + /// from: `static public void setAll(double[] ds, java.util.function.IntToDoubleFunction intToDoubleFunction)` + static void setAll( + jni$_.JDoubleArray? ds, + jni$_.JObject? intToDoubleFunction, + ) { + final _$ds = ds?.reference ?? jni$_.jNullReference; + final _$intToDoubleFunction = + intToDoubleFunction?.reference ?? jni$_.jNullReference; + _setAll(_class.reference.pointer, _id_setAll as jni$_.JMethodIDPtr, + _$ds.pointer, _$intToDoubleFunction.pointer) + .check(); } - static final _id_compareUnsigned$4 = _class.staticMethodId( - r'compareUnsigned', - r'([I[I)I', + static final _id_setAll$1 = _class.staticMethodId( + r'setAll', + r'([ILjava/util/function/IntUnaryOperator;)V', ); - static final _compareUnsigned$4 = jni$_.ProtectedJniExtensions.lookup< + static final _setAll$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public int compareUnsigned(int[] is, int[] is1)` - static int compareUnsigned$4( + /// from: `static public void setAll(int[] is, java.util.function.IntUnaryOperator intUnaryOperator)` + static void setAll$1( jni$_.JIntArray? is$, - jni$_.JIntArray? is1, + jni$_.JObject? intUnaryOperator, ) { final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$is1 = is1?.reference ?? jni$_.jNullReference; - return _compareUnsigned$4( - _class.reference.pointer, - _id_compareUnsigned$4 as jni$_.JMethodIDPtr, - _$is$.pointer, - _$is1.pointer) - .integer; + final _$intUnaryOperator = + intUnaryOperator?.reference ?? jni$_.jNullReference; + _setAll$1(_class.reference.pointer, _id_setAll$1 as jni$_.JMethodIDPtr, + _$is$.pointer, _$intUnaryOperator.pointer) + .check(); } - static final _id_compareUnsigned$5 = _class.staticMethodId( - r'compareUnsigned', - r'([III[III)I', + static final _id_setAll$2 = _class.staticMethodId( + r'setAll', + r'([JLjava/util/function/IntToLongFunction;)V', ); - static final _compareUnsigned$5 = jni$_.ProtectedJniExtensions.lookup< + static final _setAll$2 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + jni$_.Pointer + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.Pointer)>(); - /// from: `static public int compareUnsigned(int[] is, int i, int i1, int[] is1, int i2, int i3)` - static int compareUnsigned$5( - jni$_.JIntArray? is$, - int i, - int i1, - jni$_.JIntArray? is1, - int i2, - int i3, + /// from: `static public void setAll(long[] js, java.util.function.IntToLongFunction intToLongFunction)` + static void setAll$2( + jni$_.JLongArray? js, + jni$_.JObject? intToLongFunction, ) { - final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$is1 = is1?.reference ?? jni$_.jNullReference; - return _compareUnsigned$5( - _class.reference.pointer, - _id_compareUnsigned$5 as jni$_.JMethodIDPtr, - _$is$.pointer, - i, - i1, - _$is1.pointer, - i2, - i3) - .integer; + final _$js = js?.reference ?? jni$_.jNullReference; + final _$intToLongFunction = + intToLongFunction?.reference ?? jni$_.jNullReference; + _setAll$2(_class.reference.pointer, _id_setAll$2 as jni$_.JMethodIDPtr, + _$js.pointer, _$intToLongFunction.pointer) + .check(); } - static final _id_compare$10 = _class.staticMethodId( - r'compare', - r'([J[J)I', + static final _id_setAll$3 = _class.staticMethodId( + r'setAll', + r'([Ljava/lang/Object;Ljava/util/function/IntFunction;)V', ); - static final _compare$10 = jni$_.ProtectedJniExtensions.lookup< + static final _setAll$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer)>(); - /// from: `static public int compare(long[] js, long[] js1)` - static int compare$10( - jni$_.JLongArray? js, - jni$_.JLongArray? js1, + /// from: `static public void setAll(T[] objects, java.util.function.IntFunction intFunction)` + static void setAll$3<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + jni$_.JObject? intFunction, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + final _$intFunction = intFunction?.reference ?? jni$_.jNullReference; + _setAll$3(_class.reference.pointer, _id_setAll$3 as jni$_.JMethodIDPtr, + _$objects.pointer, _$intFunction.pointer) + .check(); + } + + static final _id_sort = _class.staticMethodId( + r'sort', + r'([B)V', + ); + + static final _sort = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void sort(byte[] bs)` + static void sort( + jni$_.JByteArray? bs, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - final _$js1 = js1?.reference ?? jni$_.jNullReference; - return _compare$10(_class.reference.pointer, - _id_compare$10 as jni$_.JMethodIDPtr, _$js.pointer, _$js1.pointer) - .integer; + final _$bs = bs?.reference ?? jni$_.jNullReference; + _sort(_class.reference.pointer, _id_sort as jni$_.JMethodIDPtr, + _$bs.pointer) + .check(); } - static final _id_compare$11 = _class.staticMethodId( - r'compare', - r'([JII[JII)I', + static final _id_sort$1 = _class.staticMethodId( + r'sort', + r'([BII)V', ); - static final _compare$11 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compare(long[] js, int i, int i1, long[] js1, int i2, int i3)` - static int compare$11( - jni$_.JLongArray? js, + /// from: `static public void sort(byte[] bs, int i, int i1)` + static void sort$1( + jni$_.JByteArray? bs, int i, int i1, - jni$_.JLongArray? js1, - int i2, - int i3, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - final _$js1 = js1?.reference ?? jni$_.jNullReference; - return _compare$11( - _class.reference.pointer, - _id_compare$11 as jni$_.JMethodIDPtr, - _$js.pointer, - i, - i1, - _$js1.pointer, - i2, - i3) - .integer; + final _$bs = bs?.reference ?? jni$_.jNullReference; + _sort$1(_class.reference.pointer, _id_sort$1 as jni$_.JMethodIDPtr, + _$bs.pointer, i, i1) + .check(); } - static final _id_compareUnsigned$6 = _class.staticMethodId( - r'compareUnsigned', - r'([J[J)I', + static final _id_sort$2 = _class.staticMethodId( + r'sort', + r'([C)V', ); - static final _compareUnsigned$6 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void sort(char[] cs)` + static void sort$2( + jni$_.JCharArray? cs, + ) { + final _$cs = cs?.reference ?? jni$_.jNullReference; + _sort$2(_class.reference.pointer, _id_sort$2 as jni$_.JMethodIDPtr, + _$cs.pointer) + .check(); + } + + static final _id_sort$3 = _class.staticMethodId( + r'sort', + r'([CII)V', + ); + + static final _sort$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compareUnsigned(long[] js, long[] js1)` - static int compareUnsigned$6( - jni$_.JLongArray? js, - jni$_.JLongArray? js1, + /// from: `static public void sort(char[] cs, int i, int i1)` + static void sort$3( + jni$_.JCharArray? cs, + int i, + int i1, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - final _$js1 = js1?.reference ?? jni$_.jNullReference; - return _compareUnsigned$6( - _class.reference.pointer, - _id_compareUnsigned$6 as jni$_.JMethodIDPtr, - _$js.pointer, - _$js1.pointer) - .integer; + final _$cs = cs?.reference ?? jni$_.jNullReference; + _sort$3(_class.reference.pointer, _id_sort$3 as jni$_.JMethodIDPtr, + _$cs.pointer, i, i1) + .check(); } - static final _id_compareUnsigned$7 = _class.staticMethodId( - r'compareUnsigned', - r'([JII[JII)I', + static final _id_sort$4 = _class.staticMethodId( + r'sort', + r'([D)V', ); - static final _compareUnsigned$7 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$4 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void sort(double[] ds)` + static void sort$4( + jni$_.JDoubleArray? ds, + ) { + final _$ds = ds?.reference ?? jni$_.jNullReference; + _sort$4(_class.reference.pointer, _id_sort$4 as jni$_.JMethodIDPtr, + _$ds.pointer) + .check(); + } + + static final _id_sort$5 = _class.staticMethodId( + r'sort', + r'([DII)V', + ); + + static final _sort$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compareUnsigned(long[] js, int i, int i1, long[] js1, int i2, int i3)` - static int compareUnsigned$7( - jni$_.JLongArray? js, + /// from: `static public void sort(double[] ds, int i, int i1)` + static void sort$5( + jni$_.JDoubleArray? ds, int i, int i1, - jni$_.JLongArray? js1, - int i2, - int i3, ) { - final _$js = js?.reference ?? jni$_.jNullReference; - final _$js1 = js1?.reference ?? jni$_.jNullReference; - return _compareUnsigned$7( - _class.reference.pointer, - _id_compareUnsigned$7 as jni$_.JMethodIDPtr, - _$js.pointer, - i, - i1, - _$js1.pointer, - i2, - i3) - .integer; + final _$ds = ds?.reference ?? jni$_.jNullReference; + _sort$5(_class.reference.pointer, _id_sort$5 as jni$_.JMethodIDPtr, + _$ds.pointer, i, i1) + .check(); } - static final _id_compare$12 = _class.staticMethodId( - r'compare', - r'([F[F)I', + static final _id_sort$6 = _class.staticMethodId( + r'sort', + r'([F)V', ); - static final _compare$12 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void sort(float[] fs)` + static void sort$6( + jni$_.JFloatArray? fs, + ) { + final _$fs = fs?.reference ?? jni$_.jNullReference; + _sort$6(_class.reference.pointer, _id_sort$6 as jni$_.JMethodIDPtr, + _$fs.pointer) + .check(); + } + + static final _id_sort$7 = _class.staticMethodId( + r'sort', + r'([FII)V', + ); + + static final _sort$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compare(float[] fs, float[] fs1)` - static int compare$12( + /// from: `static public void sort(float[] fs, int i, int i1)` + static void sort$7( jni$_.JFloatArray? fs, - jni$_.JFloatArray? fs1, + int i, + int i1, ) { final _$fs = fs?.reference ?? jni$_.jNullReference; - final _$fs1 = fs1?.reference ?? jni$_.jNullReference; - return _compare$12(_class.reference.pointer, - _id_compare$12 as jni$_.JMethodIDPtr, _$fs.pointer, _$fs1.pointer) - .integer; + _sort$7(_class.reference.pointer, _id_sort$7 as jni$_.JMethodIDPtr, + _$fs.pointer, i, i1) + .check(); } - static final _id_compare$13 = _class.staticMethodId( - r'compare', - r'([FII[FII)I', + static final _id_sort$8 = _class.staticMethodId( + r'sort', + r'([I)V', ); - static final _compare$13 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$8 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void sort(int[] is)` + static void sort$8( + jni$_.JIntArray? is$, + ) { + final _$is$ = is$?.reference ?? jni$_.jNullReference; + _sort$8(_class.reference.pointer, _id_sort$8 as jni$_.JMethodIDPtr, + _$is$.pointer) + .check(); + } + + static final _id_sort$9 = _class.staticMethodId( + r'sort', + r'([III)V', + ); + + static final _sort$9 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compare(float[] fs, int i, int i1, float[] fs1, int i2, int i3)` - static int compare$13( - jni$_.JFloatArray? fs, + /// from: `static public void sort(int[] is, int i, int i1)` + static void sort$9( + jni$_.JIntArray? is$, int i, int i1, - jni$_.JFloatArray? fs1, - int i2, - int i3, ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - final _$fs1 = fs1?.reference ?? jni$_.jNullReference; - return _compare$13( - _class.reference.pointer, - _id_compare$13 as jni$_.JMethodIDPtr, - _$fs.pointer, - i, - i1, - _$fs1.pointer, - i2, - i3) - .integer; + final _$is$ = is$?.reference ?? jni$_.jNullReference; + _sort$9(_class.reference.pointer, _id_sort$9 as jni$_.JMethodIDPtr, + _$is$.pointer, i, i1) + .check(); + } + + static final _id_sort$10 = _class.staticMethodId( + r'sort', + r'([Ljava/lang/Object;)V', + ); + + static final _sort$10 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void sort(java.lang.Object[] objects)` + static void sort$10( + jni$_.JArray? objects, + ) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + _sort$10(_class.reference.pointer, _id_sort$10 as jni$_.JMethodIDPtr, + _$objects.pointer) + .check(); } - static final _id_compare$14 = _class.staticMethodId( - r'compare', - r'([D[D)I', + static final _id_sort$11 = _class.staticMethodId( + r'sort', + r'([Ljava/lang/Object;II)V', ); - static final _compare$14 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$11 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compare(double[] ds, double[] ds1)` - static int compare$14( - jni$_.JDoubleArray? ds, - jni$_.JDoubleArray? ds1, + /// from: `static public void sort(java.lang.Object[] objects, int i, int i1)` + static void sort$11( + jni$_.JArray? objects, + int i, + int i1, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$ds1 = ds1?.reference ?? jni$_.jNullReference; - return _compare$14(_class.reference.pointer, - _id_compare$14 as jni$_.JMethodIDPtr, _$ds.pointer, _$ds1.pointer) - .integer; + final _$objects = objects?.reference ?? jni$_.jNullReference; + _sort$11(_class.reference.pointer, _id_sort$11 as jni$_.JMethodIDPtr, + _$objects.pointer, i, i1) + .check(); } - static final _id_compare$15 = _class.staticMethodId( - r'compare', - r'([DII[DII)I', + static final _id_sort$12 = _class.staticMethodId( + r'sort', + r'([J)V', ); - static final _compare$15 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$12 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public void sort(long[] js)` + static void sort$12( + jni$_.JLongArray? js, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + _sort$12(_class.reference.pointer, _id_sort$12 as jni$_.JMethodIDPtr, + _$js.pointer) + .check(); + } + + static final _id_sort$13 = _class.staticMethodId( + r'sort', + r'([JII)V', + ); + + static final _sort$13 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compare(double[] ds, int i, int i1, double[] ds1, int i2, int i3)` - static int compare$15( - jni$_.JDoubleArray? ds, + /// from: `static public void sort(long[] js, int i, int i1)` + static void sort$13( + jni$_.JLongArray? js, int i, int i1, - jni$_.JDoubleArray? ds1, - int i2, - int i3, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$ds1 = ds1?.reference ?? jni$_.jNullReference; - return _compare$15( - _class.reference.pointer, - _id_compare$15 as jni$_.JMethodIDPtr, - _$ds.pointer, - i, - i1, - _$ds1.pointer, - i2, - i3) - .integer; + final _$js = js?.reference ?? jni$_.jNullReference; + _sort$13(_class.reference.pointer, _id_sort$13 as jni$_.JMethodIDPtr, + _$js.pointer, i, i1) + .check(); } - static final _id_compare$16 = _class.staticMethodId( - r'compare', - r'([Ljava/lang/Comparable;[Ljava/lang/Comparable;)I', + static final _id_sort$14 = _class.staticMethodId( + r'sort', + r'([S)V', ); - static final _compare$16 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _sort$14 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int compare(java.lang.Object[] comparables, java.lang.Object[] comparables1)` - static int compare$16<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? comparables, - jni$_.JArray<$T?>? comparables1, { - required jni$_.JObjType<$T> T, - }) { - final _$comparables = comparables?.reference ?? jni$_.jNullReference; - final _$comparables1 = comparables1?.reference ?? jni$_.jNullReference; - return _compare$16( - _class.reference.pointer, - _id_compare$16 as jni$_.JMethodIDPtr, - _$comparables.pointer, - _$comparables1.pointer) - .integer; + /// from: `static public void sort(short[] ss)` + static void sort$14( + jni$_.JShortArray? ss, + ) { + final _$ss = ss?.reference ?? jni$_.jNullReference; + _sort$14(_class.reference.pointer, _id_sort$14 as jni$_.JMethodIDPtr, + _$ss.pointer) + .check(); } - static final _id_compare$17 = _class.staticMethodId( - r'compare', - r'([Ljava/lang/Comparable;II[Ljava/lang/Comparable;II)I', + static final _id_sort$15 = _class.staticMethodId( + r'sort', + r'([SII)V', ); - static final _compare$17 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$15 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JThrowablePtr Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int compare(java.lang.Object[] comparables, int i, int i1, java.lang.Object[] comparables1, int i2, int i3)` - static int compare$17<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? comparables, + /// from: `static public void sort(short[] ss, int i, int i1)` + static void sort$15( + jni$_.JShortArray? ss, int i, int i1, - jni$_.JArray<$T?>? comparables1, - int i2, - int i3, { - required jni$_.JObjType<$T> T, - }) { - final _$comparables = comparables?.reference ?? jni$_.jNullReference; - final _$comparables1 = comparables1?.reference ?? jni$_.jNullReference; - return _compare$17( - _class.reference.pointer, - _id_compare$17 as jni$_.JMethodIDPtr, - _$comparables.pointer, - i, - i1, - _$comparables1.pointer, - i2, - i3) - .integer; + ) { + final _$ss = ss?.reference ?? jni$_.jNullReference; + _sort$15(_class.reference.pointer, _id_sort$15 as jni$_.JMethodIDPtr, + _$ss.pointer, i, i1) + .check(); } - static final _id_compare$18 = _class.staticMethodId( - r'compare', - r'([Ljava/lang/Object;[Ljava/lang/Object;Ljava/util/Comparator;)I', + static final _id_sort$16 = _class.staticMethodId( + r'sort', + r'([Ljava/lang/Object;IILjava/util/Comparator;)V', ); - static final _compare$18 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$16 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer, + int, + int, jni$_.Pointer)>(); - /// from: `static public int compare(java.lang.Object[] objects, java.lang.Object[] objects1, java.util.Comparator comparator)` - static int compare$18<$T extends jni$_.JObject?>( + /// from: `static public void sort(T[] objects, int i, int i1, java.util.Comparator comparator)` + static void sort$16<$T extends jni$_.JObject?>( jni$_.JArray<$T?>? objects, - jni$_.JArray<$T?>? objects1, + int i, + int i1, jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, + required jni$_.JType<$T> T, }) { final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; final _$comparator = comparator?.reference ?? jni$_.jNullReference; - return _compare$18( - _class.reference.pointer, - _id_compare$18 as jni$_.JMethodIDPtr, - _$objects.pointer, - _$objects1.pointer, - _$comparator.pointer) - .integer; + _sort$16(_class.reference.pointer, _id_sort$16 as jni$_.JMethodIDPtr, + _$objects.pointer, i, i1, _$comparator.pointer) + .check(); } - static final _id_compare$19 = _class.staticMethodId( - r'compare', - r'([Ljava/lang/Object;II[Ljava/lang/Object;IILjava/util/Comparator;)I', + static final _id_sort$17 = _class.staticMethodId( + r'sort', + r'([Ljava/lang/Object;Ljava/util/Comparator;)V', ); - static final _compare$19 = jni$_.ProtectedJniExtensions.lookup< + static final _sort$17 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticVoidMethod') .asFunction< - jni$_.JniResult Function( + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int, jni$_.Pointer)>(); - /// from: `static public int compare(java.lang.Object[] objects, int i, int i1, java.lang.Object[] objects1, int i2, int i3, java.util.Comparator comparator)` - static int compare$19<$T extends jni$_.JObject?>( + /// from: `static public void sort(T[] objects, java.util.Comparator comparator)` + static void sort$17<$T extends jni$_.JObject?>( jni$_.JArray<$T?>? objects, - int i, - int i1, - jni$_.JArray<$T?>? objects1, - int i2, - int i3, jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, + required jni$_.JType<$T> T, }) { final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; final _$comparator = comparator?.reference ?? jni$_.jNullReference; - return _compare$19( - _class.reference.pointer, - _id_compare$19 as jni$_.JMethodIDPtr, - _$objects.pointer, - i, - i1, - _$objects1.pointer, - i2, - i3, - _$comparator.pointer) - .integer; + _sort$17(_class.reference.pointer, _id_sort$17 as jni$_.JMethodIDPtr, + _$objects.pointer, _$comparator.pointer) + .check(); } - static final _id_mismatch = _class.staticMethodId( - r'mismatch', - r'([Z[Z)I', + static final _id_spliterator = _class.staticMethodId( + r'spliterator', + r'([D)Ljava/util/Spliterator$OfDouble;', ); - static final _mismatch = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _spliterator = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(boolean[] zs, boolean[] zs1)` - static int mismatch( - jni$_.JBooleanArray? zs, - jni$_.JBooleanArray? zs1, + /// from: `static public java.util.Spliterator$OfDouble spliterator(double[] ds)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? spliterator( + jni$_.JDoubleArray? ds, ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - final _$zs1 = zs1?.reference ?? jni$_.jNullReference; - return _mismatch(_class.reference.pointer, - _id_mismatch as jni$_.JMethodIDPtr, _$zs.pointer, _$zs1.pointer) - .integer; + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _spliterator(_class.reference.pointer, + _id_spliterator as jni$_.JMethodIDPtr, _$ds.pointer) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$1 = _class.staticMethodId( - r'mismatch', - r'([ZII[ZII)I', + static final _id_spliterator$1 = _class.staticMethodId( + r'spliterator', + r'([DII)Ljava/util/Spliterator$OfDouble;', ); - static final _mismatch$1 = jni$_.ProtectedJniExtensions.lookup< + static final _spliterator$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int mismatch(boolean[] zs, int i, int i1, boolean[] zs1, int i2, int i3)` - static int mismatch$1( - jni$_.JBooleanArray? zs, + /// from: `static public java.util.Spliterator$OfDouble spliterator(double[] ds, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? spliterator$1( + jni$_.JDoubleArray? ds, int i, int i1, - jni$_.JBooleanArray? zs1, - int i2, - int i3, ) { - final _$zs = zs?.reference ?? jni$_.jNullReference; - final _$zs1 = zs1?.reference ?? jni$_.jNullReference; - return _mismatch$1( - _class.reference.pointer, - _id_mismatch$1 as jni$_.JMethodIDPtr, - _$zs.pointer, - i, - i1, - _$zs1.pointer, - i2, - i3) - .integer; + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _spliterator$1(_class.reference.pointer, + _id_spliterator$1 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$2 = _class.staticMethodId( - r'mismatch', - r'([B[B)I', + static final _id_spliterator$2 = _class.staticMethodId( + r'spliterator', + r'([I)Ljava/util/Spliterator$OfInt;', ); - static final _mismatch$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _spliterator$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(byte[] bs, byte[] bs1)` - static int mismatch$2( - jni$_.JByteArray? bs, - jni$_.JByteArray? bs1, + /// from: `static public java.util.Spliterator$OfInt spliterator(int[] is)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? spliterator$2( + jni$_.JIntArray? is$, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$bs1 = bs1?.reference ?? jni$_.jNullReference; - return _mismatch$2(_class.reference.pointer, - _id_mismatch$2 as jni$_.JMethodIDPtr, _$bs.pointer, _$bs1.pointer) - .integer; + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _spliterator$2(_class.reference.pointer, + _id_spliterator$2 as jni$_.JMethodIDPtr, _$is$.pointer) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$3 = _class.staticMethodId( - r'mismatch', - r'([BII[BII)I', + static final _id_spliterator$3 = _class.staticMethodId( + r'spliterator', + r'([III)Ljava/util/Spliterator$OfInt;', ); - static final _mismatch$3 = jni$_.ProtectedJniExtensions.lookup< + static final _spliterator$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int mismatch(byte[] bs, int i, int i1, byte[] bs1, int i2, int i3)` - static int mismatch$3( - jni$_.JByteArray? bs, + /// from: `static public java.util.Spliterator$OfInt spliterator(int[] is, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? spliterator$3( + jni$_.JIntArray? is$, int i, int i1, - jni$_.JByteArray? bs1, - int i2, - int i3, ) { - final _$bs = bs?.reference ?? jni$_.jNullReference; - final _$bs1 = bs1?.reference ?? jni$_.jNullReference; - return _mismatch$3( - _class.reference.pointer, - _id_mismatch$3 as jni$_.JMethodIDPtr, - _$bs.pointer, - i, - i1, - _$bs1.pointer, - i2, - i3) - .integer; + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _spliterator$3(_class.reference.pointer, + _id_spliterator$3 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1) + .object(const jni$_.$JObject$NullableType$()); + } + + static final _id_spliterator$4 = _class.staticMethodId( + r'spliterator', + r'([J)Ljava/util/Spliterator$OfLong;', + ); + + static final _spliterator$4 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public java.util.Spliterator$OfLong spliterator(long[] js)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? spliterator$4( + jni$_.JLongArray? js, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + return _spliterator$4(_class.reference.pointer, + _id_spliterator$4 as jni$_.JMethodIDPtr, _$js.pointer) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$4 = _class.staticMethodId( - r'mismatch', - r'([C[C)I', + static final _id_spliterator$5 = _class.staticMethodId( + r'spliterator', + r'([JII)Ljava/util/Spliterator$OfLong;', ); - static final _mismatch$4 = jni$_.ProtectedJniExtensions.lookup< + static final _spliterator$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -35620,711 +36535,577 @@ class Arrays extends jni$_.JObject { jni$_.VarArgs< ( jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + jni$_.Int32, + jni$_.Int32 + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int mismatch(char[] cs, char[] cs1)` - static int mismatch$4( - jni$_.JCharArray? cs, - jni$_.JCharArray? cs1, + /// from: `static public java.util.Spliterator$OfLong spliterator(long[] js, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? spliterator$5( + jni$_.JLongArray? js, + int i, + int i1, ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - final _$cs1 = cs1?.reference ?? jni$_.jNullReference; - return _mismatch$4(_class.reference.pointer, - _id_mismatch$4 as jni$_.JMethodIDPtr, _$cs.pointer, _$cs1.pointer) - .integer; + final _$js = js?.reference ?? jni$_.jNullReference; + return _spliterator$5(_class.reference.pointer, + _id_spliterator$5 as jni$_.JMethodIDPtr, _$js.pointer, i, i1) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$5 = _class.staticMethodId( - r'mismatch', - r'([CII[CII)I', + static final _id_spliterator$6 = _class.staticMethodId( + r'spliterator', + r'([Ljava/lang/Object;)Ljava/util/Spliterator;', ); - static final _mismatch$5 = jni$_.ProtectedJniExtensions.lookup< + static final _spliterator$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public java.util.Spliterator spliterator(T[] objects)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? spliterator$6<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _spliterator$6(_class.reference.pointer, + _id_spliterator$6 as jni$_.JMethodIDPtr, _$objects.pointer) + .object(const jni$_.$JObject$NullableType$()); + } + + static final _id_spliterator$7 = _class.staticMethodId( + r'spliterator', + r'([Ljava/lang/Object;II)Ljava/util/Spliterator;', + ); + + static final _spliterator$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int mismatch(char[] cs, int i, int i1, char[] cs1, int i2, int i3)` - static int mismatch$5( - jni$_.JCharArray? cs, + /// from: `static public java.util.Spliterator spliterator(T[] objects, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? spliterator$7<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, int i, - int i1, - jni$_.JCharArray? cs1, - int i2, - int i3, - ) { - final _$cs = cs?.reference ?? jni$_.jNullReference; - final _$cs1 = cs1?.reference ?? jni$_.jNullReference; - return _mismatch$5( - _class.reference.pointer, - _id_mismatch$5 as jni$_.JMethodIDPtr, - _$cs.pointer, - i, - i1, - _$cs1.pointer, - i2, - i3) - .integer; + int i1, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _spliterator$7(_class.reference.pointer, + _id_spliterator$7 as jni$_.JMethodIDPtr, _$objects.pointer, i, i1) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$6 = _class.staticMethodId( - r'mismatch', - r'([S[S)I', + static final _id_stream = _class.staticMethodId( + r'stream', + r'([D)Ljava/util/stream/DoubleStream;', ); - static final _mismatch$6 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _stream = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(short[] ss, short[] ss1)` - static int mismatch$6( - jni$_.JShortArray? ss, - jni$_.JShortArray? ss1, + /// from: `static public java.util.stream.DoubleStream stream(double[] ds)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? stream( + jni$_.JDoubleArray? ds, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - final _$ss1 = ss1?.reference ?? jni$_.jNullReference; - return _mismatch$6(_class.reference.pointer, - _id_mismatch$6 as jni$_.JMethodIDPtr, _$ss.pointer, _$ss1.pointer) - .integer; + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _stream(_class.reference.pointer, _id_stream as jni$_.JMethodIDPtr, + _$ds.pointer) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$7 = _class.staticMethodId( - r'mismatch', - r'([SII[SII)I', + static final _id_stream$1 = _class.staticMethodId( + r'stream', + r'([DII)Ljava/util/stream/DoubleStream;', ); - static final _mismatch$7 = jni$_.ProtectedJniExtensions.lookup< + static final _stream$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int mismatch(short[] ss, int i, int i1, short[] ss1, int i2, int i3)` - static int mismatch$7( - jni$_.JShortArray? ss, + /// from: `static public java.util.stream.DoubleStream stream(double[] ds, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? stream$1( + jni$_.JDoubleArray? ds, int i, int i1, - jni$_.JShortArray? ss1, - int i2, - int i3, ) { - final _$ss = ss?.reference ?? jni$_.jNullReference; - final _$ss1 = ss1?.reference ?? jni$_.jNullReference; - return _mismatch$7( - _class.reference.pointer, - _id_mismatch$7 as jni$_.JMethodIDPtr, - _$ss.pointer, - i, - i1, - _$ss1.pointer, - i2, - i3) - .integer; + final _$ds = ds?.reference ?? jni$_.jNullReference; + return _stream$1(_class.reference.pointer, + _id_stream$1 as jni$_.JMethodIDPtr, _$ds.pointer, i, i1) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$8 = _class.staticMethodId( - r'mismatch', - r'([I[I)I', + static final _id_stream$2 = _class.staticMethodId( + r'stream', + r'([I)Ljava/util/stream/IntStream;', ); - static final _mismatch$8 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _stream$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(int[] is, int[] is1)` - static int mismatch$8( + /// from: `static public java.util.stream.IntStream stream(int[] is)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? stream$2( jni$_.JIntArray? is$, - jni$_.JIntArray? is1, ) { final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$is1 = is1?.reference ?? jni$_.jNullReference; - return _mismatch$8(_class.reference.pointer, - _id_mismatch$8 as jni$_.JMethodIDPtr, _$is$.pointer, _$is1.pointer) - .integer; + return _stream$2(_class.reference.pointer, + _id_stream$2 as jni$_.JMethodIDPtr, _$is$.pointer) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$9 = _class.staticMethodId( - r'mismatch', - r'([III[III)I', + static final _id_stream$3 = _class.staticMethodId( + r'stream', + r'([III)Ljava/util/stream/IntStream;', ); - static final _mismatch$9 = jni$_.ProtectedJniExtensions.lookup< + static final _stream$3 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int mismatch(int[] is, int i, int i1, int[] is1, int i2, int i3)` - static int mismatch$9( + /// from: `static public java.util.stream.IntStream stream(int[] is, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? stream$3( jni$_.JIntArray? is$, int i, int i1, - jni$_.JIntArray? is1, - int i2, - int i3, ) { final _$is$ = is$?.reference ?? jni$_.jNullReference; - final _$is1 = is1?.reference ?? jni$_.jNullReference; - return _mismatch$9( - _class.reference.pointer, - _id_mismatch$9 as jni$_.JMethodIDPtr, - _$is$.pointer, - i, - i1, - _$is1.pointer, - i2, - i3) - .integer; + return _stream$3(_class.reference.pointer, + _id_stream$3 as jni$_.JMethodIDPtr, _$is$.pointer, i, i1) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$10 = _class.staticMethodId( - r'mismatch', - r'([J[J)I', + static final _id_stream$4 = _class.staticMethodId( + r'stream', + r'([J)Ljava/util/stream/LongStream;', ); - static final _mismatch$10 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _stream$4 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(long[] js, long[] js1)` - static int mismatch$10( + /// from: `static public java.util.stream.LongStream stream(long[] js)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? stream$4( jni$_.JLongArray? js, - jni$_.JLongArray? js1, ) { final _$js = js?.reference ?? jni$_.jNullReference; - final _$js1 = js1?.reference ?? jni$_.jNullReference; - return _mismatch$10(_class.reference.pointer, - _id_mismatch$10 as jni$_.JMethodIDPtr, _$js.pointer, _$js1.pointer) - .integer; + return _stream$4(_class.reference.pointer, + _id_stream$4 as jni$_.JMethodIDPtr, _$js.pointer) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$11 = _class.staticMethodId( - r'mismatch', - r'([JII[JII)I', + static final _id_stream$5 = _class.staticMethodId( + r'stream', + r'([JII)Ljava/util/stream/LongStream;', ); - static final _mismatch$11 = jni$_.ProtectedJniExtensions.lookup< + static final _stream$5 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); - /// from: `static public int mismatch(long[] js, int i, int i1, long[] js1, int i2, int i3)` - static int mismatch$11( + /// from: `static public java.util.stream.LongStream stream(long[] js, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? stream$5( jni$_.JLongArray? js, int i, int i1, - jni$_.JLongArray? js1, - int i2, - int i3, ) { final _$js = js?.reference ?? jni$_.jNullReference; - final _$js1 = js1?.reference ?? jni$_.jNullReference; - return _mismatch$11( - _class.reference.pointer, - _id_mismatch$11 as jni$_.JMethodIDPtr, - _$js.pointer, - i, - i1, - _$js1.pointer, - i2, - i3) - .integer; + return _stream$5(_class.reference.pointer, + _id_stream$5 as jni$_.JMethodIDPtr, _$js.pointer, i, i1) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$12 = _class.staticMethodId( - r'mismatch', - r'([F[F)I', + static final _id_stream$6 = _class.staticMethodId( + r'stream', + r'([Ljava/lang/Object;)Ljava/util/stream/Stream;', ); - static final _mismatch$12 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _stream$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(float[] fs, float[] fs1)` - static int mismatch$12( - jni$_.JFloatArray? fs, - jni$_.JFloatArray? fs1, - ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - final _$fs1 = fs1?.reference ?? jni$_.jNullReference; - return _mismatch$12(_class.reference.pointer, - _id_mismatch$12 as jni$_.JMethodIDPtr, _$fs.pointer, _$fs1.pointer) - .integer; + /// from: `static public java.util.stream.Stream stream(T[] objects)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? stream$6<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _stream$6(_class.reference.pointer, + _id_stream$6 as jni$_.JMethodIDPtr, _$objects.pointer) + .object(const jni$_.$JObject$NullableType$()); } - static final _id_mismatch$13 = _class.staticMethodId( - r'mismatch', - r'([FII[FII)I', + static final _id_stream$7 = _class.staticMethodId( + r'stream', + r'([Ljava/lang/Object;II)Ljava/util/stream/Stream;', ); - static final _mismatch$13 = jni$_.ProtectedJniExtensions.lookup< + static final _stream$7 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.VarArgs< ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, jni$_.Pointer, jni$_.Int32, jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + + /// from: `static public java.util.stream.Stream stream(T[] objects, int i, int i1)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JObject? stream$7<$T extends jni$_.JObject?>( + jni$_.JArray<$T?>? objects, + int i, + int i1, { + required jni$_.JType<$T> T, + }) { + final _$objects = objects?.reference ?? jni$_.jNullReference; + return _stream$7(_class.reference.pointer, + _id_stream$7 as jni$_.JMethodIDPtr, _$objects.pointer, i, i1) + .object(const jni$_.$JObject$NullableType$()); + } + + static final _id_toString$1 = _class.staticMethodId( + r'toString', + r'([Z)Ljava/lang/String;', + ); + + static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public java.lang.String toString(boolean[] zs)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$1( + jni$_.JBooleanArray? zs, + ) { + final _$zs = zs?.reference ?? jni$_.jNullReference; + return _toString$1(_class.reference.pointer, + _id_toString$1 as jni$_.JMethodIDPtr, _$zs.pointer) + .object(const jni$_.$JString$NullableType$()); + } + + static final _id_toString$2 = _class.staticMethodId( + r'toString', + r'([B)Ljava/lang/String;', + ); + + static final _toString$2 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); + + /// from: `static public java.lang.String toString(byte[] bs)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$2( + jni$_.JByteArray? bs, + ) { + final _$bs = bs?.reference ?? jni$_.jNullReference; + return _toString$2(_class.reference.pointer, + _id_toString$2 as jni$_.JMethodIDPtr, _$bs.pointer) + .object(const jni$_.$JString$NullableType$()); + } + + static final _id_toString$3 = _class.staticMethodId( + r'toString', + r'([C)Ljava/lang/String;', + ); + + static final _toString$3 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(float[] fs, int i, int i1, float[] fs1, int i2, int i3)` - static int mismatch$13( - jni$_.JFloatArray? fs, - int i, - int i1, - jni$_.JFloatArray? fs1, - int i2, - int i3, + /// from: `static public java.lang.String toString(char[] cs)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$3( + jni$_.JCharArray? cs, ) { - final _$fs = fs?.reference ?? jni$_.jNullReference; - final _$fs1 = fs1?.reference ?? jni$_.jNullReference; - return _mismatch$13( - _class.reference.pointer, - _id_mismatch$13 as jni$_.JMethodIDPtr, - _$fs.pointer, - i, - i1, - _$fs1.pointer, - i2, - i3) - .integer; + final _$cs = cs?.reference ?? jni$_.jNullReference; + return _toString$3(_class.reference.pointer, + _id_toString$3 as jni$_.JMethodIDPtr, _$cs.pointer) + .object(const jni$_.$JString$NullableType$()); } - static final _id_mismatch$14 = _class.staticMethodId( - r'mismatch', - r'([D[D)I', + static final _id_toString$4 = _class.staticMethodId( + r'toString', + r'([D)Ljava/lang/String;', ); - static final _mismatch$14 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _toString$4 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(double[] ds, double[] ds1)` - static int mismatch$14( + /// from: `static public java.lang.String toString(double[] ds)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$4( jni$_.JDoubleArray? ds, - jni$_.JDoubleArray? ds1, ) { final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$ds1 = ds1?.reference ?? jni$_.jNullReference; - return _mismatch$14(_class.reference.pointer, - _id_mismatch$14 as jni$_.JMethodIDPtr, _$ds.pointer, _$ds1.pointer) - .integer; + return _toString$4(_class.reference.pointer, + _id_toString$4 as jni$_.JMethodIDPtr, _$ds.pointer) + .object(const jni$_.$JString$NullableType$()); } - static final _id_mismatch$15 = _class.staticMethodId( - r'mismatch', - r'([DII[DII)I', + static final _id_toString$5 = _class.staticMethodId( + r'toString', + r'([F)Ljava/lang/String;', ); - static final _mismatch$15 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + static final _toString$5 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(double[] ds, int i, int i1, double[] ds1, int i2, int i3)` - static int mismatch$15( - jni$_.JDoubleArray? ds, - int i, - int i1, - jni$_.JDoubleArray? ds1, - int i2, - int i3, + /// from: `static public java.lang.String toString(float[] fs)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$5( + jni$_.JFloatArray? fs, ) { - final _$ds = ds?.reference ?? jni$_.jNullReference; - final _$ds1 = ds1?.reference ?? jni$_.jNullReference; - return _mismatch$15( - _class.reference.pointer, - _id_mismatch$15 as jni$_.JMethodIDPtr, - _$ds.pointer, - i, - i1, - _$ds1.pointer, - i2, - i3) - .integer; + final _$fs = fs?.reference ?? jni$_.jNullReference; + return _toString$5(_class.reference.pointer, + _id_toString$5 as jni$_.JMethodIDPtr, _$fs.pointer) + .object(const jni$_.$JString$NullableType$()); } - static final _id_mismatch$16 = _class.staticMethodId( - r'mismatch', - r'([Ljava/lang/Object;[Ljava/lang/Object;)I', + static final _id_toString$6 = _class.staticMethodId( + r'toString', + r'([I)Ljava/lang/String;', ); - static final _mismatch$16 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _toString$6 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(java.lang.Object[] objects, java.lang.Object[] objects1)` - static int mismatch$16( - jni$_.JArray? objects, - jni$_.JArray? objects1, + /// from: `static public java.lang.String toString(int[] is)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$6( + jni$_.JIntArray? is$, ) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - return _mismatch$16( - _class.reference.pointer, - _id_mismatch$16 as jni$_.JMethodIDPtr, - _$objects.pointer, - _$objects1.pointer) - .integer; + final _$is$ = is$?.reference ?? jni$_.jNullReference; + return _toString$6(_class.reference.pointer, + _id_toString$6 as jni$_.JMethodIDPtr, _$is$.pointer) + .object(const jni$_.$JString$NullableType$()); } - static final _id_mismatch$17 = _class.staticMethodId( - r'mismatch', - r'([Ljava/lang/Object;II[Ljava/lang/Object;II)I', + static final _id_toString$7 = _class.staticMethodId( + r'toString', + r'([Ljava/lang/Object;)Ljava/lang/String;', ); - static final _mismatch$17 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallStaticIntMethod') + static final _toString$7 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(java.lang.Object[] objects, int i, int i1, java.lang.Object[] objects1, int i2, int i3)` - static int mismatch$17( + /// from: `static public java.lang.String toString(java.lang.Object[] objects)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$7( jni$_.JArray? objects, - int i, - int i1, - jni$_.JArray? objects1, - int i2, - int i3, ) { final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - return _mismatch$17( - _class.reference.pointer, - _id_mismatch$17 as jni$_.JMethodIDPtr, - _$objects.pointer, - i, - i1, - _$objects1.pointer, - i2, - i3) - .integer; + return _toString$7(_class.reference.pointer, + _id_toString$7 as jni$_.JMethodIDPtr, _$objects.pointer) + .object(const jni$_.$JString$NullableType$()); } - static final _id_mismatch$18 = _class.staticMethodId( - r'mismatch', - r'([Ljava/lang/Object;[Ljava/lang/Object;Ljava/util/Comparator;)I', + static final _id_toString$8 = _class.staticMethodId( + r'toString', + r'([J)Ljava/lang/String;', ); - static final _mismatch$18 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _toString$8 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(java.lang.Object[] objects, java.lang.Object[] objects1, java.util.Comparator comparator)` - static int mismatch$18<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - jni$_.JArray<$T?>? objects1, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - return _mismatch$18( - _class.reference.pointer, - _id_mismatch$18 as jni$_.JMethodIDPtr, - _$objects.pointer, - _$objects1.pointer, - _$comparator.pointer) - .integer; + /// from: `static public java.lang.String toString(long[] js)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$8( + jni$_.JLongArray? js, + ) { + final _$js = js?.reference ?? jni$_.jNullReference; + return _toString$8(_class.reference.pointer, + _id_toString$8 as jni$_.JMethodIDPtr, _$js.pointer) + .object(const jni$_.$JString$NullableType$()); } - static final _id_mismatch$19 = _class.staticMethodId( - r'mismatch', - r'([Ljava/lang/Object;II[Ljava/lang/Object;IILjava/util/Comparator;)I', + static final _id_toString$9 = _class.staticMethodId( + r'toString', + r'([S)Ljava/lang/String;', ); - static final _mismatch$19 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallStaticIntMethod') + static final _toString$9 = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>)>>( + 'globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - int, - jni$_.Pointer, - int, - int, - jni$_.Pointer)>(); + jni$_.JniResult Function(jni$_.Pointer, + jni$_.JMethodIDPtr, jni$_.Pointer)>(); - /// from: `static public int mismatch(java.lang.Object[] objects, int i, int i1, java.lang.Object[] objects1, int i2, int i3, java.util.Comparator comparator)` - static int mismatch$19<$T extends jni$_.JObject?>( - jni$_.JArray<$T?>? objects, - int i, - int i1, - jni$_.JArray<$T?>? objects1, - int i2, - int i3, - jni$_.JObject? comparator, { - required jni$_.JObjType<$T> T, - }) { - final _$objects = objects?.reference ?? jni$_.jNullReference; - final _$objects1 = objects1?.reference ?? jni$_.jNullReference; - final _$comparator = comparator?.reference ?? jni$_.jNullReference; - return _mismatch$19( - _class.reference.pointer, - _id_mismatch$19 as jni$_.JMethodIDPtr, - _$objects.pointer, - i, - i1, - _$objects1.pointer, - i2, - i3, - _$comparator.pointer) - .integer; + /// from: `static public java.lang.String toString(short[] ss)` + /// The returned object must be released after use, by calling the [release] method. + static jni$_.JString? toString$9( + jni$_.JShortArray? ss, + ) { + final _$ss = ss?.reference ?? jni$_.jNullReference; + return _toString$9(_class.reference.pointer, + _id_toString$9 as jni$_.JMethodIDPtr, _$ss.pointer) + .object(const jni$_.$JString$NullableType$()); } } -final class $Arrays$NullableType extends jni$_.JObjType { +final class $Arrays$NullableType$ extends jni$_.JType { @jni$_.internal - const $Arrays$NullableType(); + const $Arrays$NullableType$(); @jni$_.internal @core$_.override @@ -36339,29 +37120,29 @@ final class $Arrays$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Arrays$NullableType).hashCode; + int get hashCode => ($Arrays$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Arrays$NullableType) && - other is $Arrays$NullableType; + return other.runtimeType == ($Arrays$NullableType$) && + other is $Arrays$NullableType$; } } -final class $Arrays$Type extends jni$_.JObjType { +final class $Arrays$Type$ extends jni$_.JType { @jni$_.internal - const $Arrays$Type(); + const $Arrays$Type$(); @jni$_.internal @core$_.override @@ -36374,22 +37155,22 @@ final class $Arrays$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => const $Arrays$NullableType(); + jni$_.JType get nullableType => const $Arrays$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Arrays$Type).hashCode; + int get hashCode => ($Arrays$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Arrays$Type) && other is $Arrays$Type; + return other.runtimeType == ($Arrays$Type$) && other is $Arrays$Type$; } } @@ -36397,7 +37178,7 @@ final class $Arrays$Type extends jni$_.JObjType { class Certificate extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Certificate.fromReference( @@ -36408,32 +37189,11 @@ class Certificate extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/security/cert/Certificate'); /// The type which includes information such as the signature of this class. - static const nullableType = $Certificate$NullableType(); - static const type = $Certificate$Type(); - static final _id_getType = _class.instanceMethodId( - r'getType', - r'()Ljava/lang/String;', - ); - - static final _getType = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public final java.lang.String getType()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getType() { - return _getType(reference.pointer, _id_getType as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); - } + static const jni$_.JType nullableType = + $Certificate$NullableType$(); + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Certificate$Type$(); static final _id_equals = _class.instanceMethodId( r'equals', r'(Ljava/lang/Object;)Z', @@ -36460,6 +37220,79 @@ class Certificate extends jni$_.JObject { .boolean; } + static final _id_getEncoded = _class.instanceMethodId( + r'getEncoded', + r'()[B', + ); + + static final _getEncoded = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract byte[] getEncoded()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JByteArray? getEncoded() { + return _getEncoded(reference.pointer, _id_getEncoded as jni$_.JMethodIDPtr) + .object(const jni$_.$JByteArray$NullableType$()); + } + + static final _id_getPublicKey = _class.instanceMethodId( + r'getPublicKey', + r'()Ljava/security/PublicKey;', + ); + + static final _getPublicKey = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public abstract java.security.PublicKey getPublicKey()` + /// The returned object must be released after use, by calling the [release] method. + PublicKey? getPublicKey() { + return _getPublicKey( + reference.pointer, _id_getPublicKey as jni$_.JMethodIDPtr) + .object(const $PublicKey$NullableType$()); + } + + static final _id_getType = _class.instanceMethodId( + r'getType', + r'()Ljava/lang/String;', + ); + + static final _getType = jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>>('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + )>(); + + /// from: `public final java.lang.String getType()` + /// The returned object must be released after use, by calling the [release] method. + jni$_.JString? getType() { + return _getType(reference.pointer, _id_getType as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); + } + static final _id_hashCode$1 = _class.instanceMethodId( r'hashCode', r'()I', @@ -36483,12 +37316,12 @@ class Certificate extends jni$_.JObject { .integer; } - static final _id_getEncoded = _class.instanceMethodId( - r'getEncoded', - r'()[B', + static final _id_toString$1 = _class.instanceMethodId( + r'toString', + r'()Ljava/lang/String;', ); - static final _getEncoded = jni$_.ProtectedJniExtensions.lookup< + static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, @@ -36500,11 +37333,11 @@ class Certificate extends jni$_.JObject { jni$_.JMethodIDPtr, )>(); - /// from: `public abstract byte[] getEncoded()` + /// from: `public abstract java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. - jni$_.JByteArray? getEncoded() { - return _getEncoded(reference.pointer, _id_getEncoded as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayNullableType()); + jni$_.JString? toString$1() { + return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) + .object(const jni$_.$JString$NullableType$()); } static final _id_verify = _class.instanceMethodId( @@ -36600,60 +37433,11 @@ class Certificate extends jni$_.JObject { _$publicKey.pointer, _$provider.pointer) .check(); } - - static final _id_toString$1 = _class.instanceMethodId( - r'toString', - r'()Ljava/lang/String;', - ); - - static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public abstract java.lang.String toString()` - /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? toString$1() { - return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); - } - - static final _id_getPublicKey = _class.instanceMethodId( - r'getPublicKey', - r'()Ljava/security/PublicKey;', - ); - - static final _getPublicKey = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public abstract java.security.PublicKey getPublicKey()` - /// The returned object must be released after use, by calling the [release] method. - PublicKey? getPublicKey() { - return _getPublicKey( - reference.pointer, _id_getPublicKey as jni$_.JMethodIDPtr) - .object(const $PublicKey$NullableType()); - } } -final class $Certificate$NullableType extends jni$_.JObjType { +final class $Certificate$NullableType$ extends jni$_.JType { @jni$_.internal - const $Certificate$NullableType(); + const $Certificate$NullableType$(); @jni$_.internal @core$_.override @@ -36668,29 +37452,29 @@ final class $Certificate$NullableType extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => this; + jni$_.JType get nullableType => this; @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Certificate$NullableType).hashCode; + int get hashCode => ($Certificate$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Certificate$NullableType) && - other is $Certificate$NullableType; + return other.runtimeType == ($Certificate$NullableType$) && + other is $Certificate$NullableType$; } } -final class $Certificate$Type extends jni$_.JObjType { +final class $Certificate$Type$ extends jni$_.JType { @jni$_.internal - const $Certificate$Type(); + const $Certificate$Type$(); @jni$_.internal @core$_.override @@ -36704,23 +37488,23 @@ final class $Certificate$Type extends jni$_.JObjType { ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const jni$_.JObjectNullableType(); + jni$_.JType get superType => const jni$_.$JObject$NullableType$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $Certificate$NullableType(); + jni$_.JType get nullableType => + const $Certificate$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Certificate$Type).hashCode; + int get hashCode => ($Certificate$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Certificate$Type) && - other is $Certificate$Type; + return other.runtimeType == ($Certificate$Type$) && + other is $Certificate$Type$; } } diff --git a/pkgs/ok_http/lib/src/ok_http_client.dart b/pkgs/ok_http/lib/src/ok_http_client.dart index e9114b4893..e09ae2ae0b 100644 --- a/pkgs/ok_http/lib/src/ok_http_client.dart +++ b/pkgs/ok_http/lib/src/ok_http_client.dart @@ -14,8 +14,8 @@ library; import 'dart:async'; import 'dart:io'; -import 'dart:typed_data'; +import 'package:flutter/foundation.dart'; import 'package:http/http.dart'; import 'package:http_profile/http_profile.dart'; import 'package:jni/jni.dart'; @@ -111,8 +111,8 @@ Future choosePrivateKeyAlias({ JObject? activity, }) async { final c = Completer(); - activity ??= JObject.fromReference(Jni.getCurrentActivity()); - bindings.KeyChain.choosePrivateKeyAlias(activity, + activity ??= Jni.androidActivity(PlatformDispatcher.instance.engineId!); + bindings.KeyChain.choosePrivateKeyAlias$1(activity, bindings.KeyChainAliasCallback.implement( bindings.$KeyChainAliasCallback(alias: (alias) { c.complete(alias?.toDartString()); @@ -126,7 +126,8 @@ Future choosePrivateKeyAlias({ (PrivateKey, List) loadPrivateKeyAndCertificateChainFromAlias( String alias, {JObject? context}) { - context ??= JObject.fromReference(Jni.getCachedApplicationContext()); + context ??= + Jni.androidApplicationContext(PlatformDispatcher.instance.engineId!); final jAlias = alias.toJString(); final pk = bindings.KeyChain.getPrivateKey(context, jAlias)!; final chain = bindings.KeyChain.getCertificateChain(context, jAlias)!; @@ -141,8 +142,9 @@ Future choosePrivateKeyAlias({ (PrivateKey, List) loadPrivateKeyAndCertificateChainFromPKCS12( Uint8List pkcs12Data, String password, {JObject? context}) { - context ??= JObject.fromReference(Jni.getCachedApplicationContext()); - var keyStore = bindings.KeyStore.getInstance('PKCS12'.toJString())!; + context ??= + Jni.androidApplicationContext(PlatformDispatcher.instance.engineId!); + var keyStore = bindings.KeyStore.getInstance$2('PKCS12'.toJString())!; final jPassword = JCharArray(password.length); for (var i = 0; i < password.length; ++i) { diff --git a/pkgs/ok_http/pubspec.yaml b/pkgs/ok_http/pubspec.yaml index b412de2bc4..0d6def8c28 100644 --- a/pkgs/ok_http/pubspec.yaml +++ b/pkgs/ok_http/pubspec.yaml @@ -13,13 +13,13 @@ dependencies: sdk: flutter http: ^1.2.1 http_profile: ^0.1.0 - jni: ^0.14.0 + jni: ^0.15.0 plugin_platform_interface: ^2.0.2 web_socket: '>=0.1.5 <2.0.0' dev_dependencies: dart_flutter_team_lints: ^3.0.0 - jnigen: ^0.14.0 + jnigen: ^0.15.0 flutter: plugin: