From f66459568eb452af04f4992153c04aabf5235c23 Mon Sep 17 00:00:00 2001 From: Hossein Yousefi Date: Fri, 7 Nov 2025 09:44:08 +0100 Subject: [PATCH] [cronet_http] Fix: multiple Flutter engines would cause crash --- pkgs/cronet_http/CHANGELOG.md | 2 + pkgs/cronet_http/lib/src/cronet_client.dart | 3 +- .../cronet_http/lib/src/jni/jni_bindings.dart | 914 +++++++++--------- pkgs/cronet_http/pubspec.yaml | 4 +- 4 files changed, 488 insertions(+), 435 deletions(-) diff --git a/pkgs/cronet_http/CHANGELOG.md b/pkgs/cronet_http/CHANGELOG.md index 2a5afb4897..1f89d99f34 100644 --- a/pkgs/cronet_http/CHANGELOG.md +++ b/pkgs/cronet_http/CHANGELOG.md @@ -1,6 +1,8 @@ ## 1.6.1-wip * Fix a bug where cronet would throw `ClassNotFoundException` in debug mode. +* Upgrade `package:jni` and `package:jnigen` to 0.15.0. This fixes a bug where + using cronet with multiple Flutter engines would cause crashes. ## 1.6.0 diff --git a/pkgs/cronet_http/lib/src/cronet_client.dart b/pkgs/cronet_http/lib/src/cronet_client.dart index d7c49ff63d..b1d32ca547 100644 --- a/pkgs/cronet_http/lib/src/cronet_client.dart +++ b/pkgs/cronet_http/lib/src/cronet_client.dart @@ -4,6 +4,7 @@ import 'dart:async'; +import 'package:flutter/foundation.dart'; import 'package:http/http.dart'; import 'package:http_profile/http_profile.dart'; import 'package:jni/jni.dart'; @@ -126,7 +127,7 @@ class CronetEngine { String? storagePath, String? userAgent}) { final builder = jb.CronetEngine$Builder( - JObject.fromReference(Jni.getCachedApplicationContext())); + Jni.androidApplicationContext(PlatformDispatcher.instance.engineId!)); try { if (storagePath != null) { diff --git a/pkgs/cronet_http/lib/src/jni/jni_bindings.dart b/pkgs/cronet_http/lib/src/jni/jni_bindings.dart index 691e62743f..c03a8b8da7 100644 --- a/pkgs/cronet_http/lib/src/jni/jni_bindings.dart +++ b/pkgs/cronet_http/lib/src/jni/jni_bindings.dart @@ -1,4 +1,4 @@ -// AUTO GENERATED BY JNIGEN 0.14.2. DO NOT EDIT! +// AUTO GENERATED BY JNIGEN 0.15.0. DO NOT EDIT! // ignore_for_file: annotate_overrides // ignore_for_file: argument_type_not_assignable @@ -30,8 +30,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,8 +41,7 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType - $type; + final jni$_.JType $type; @jni$_.internal UrlRequestCallbackProxy$UrlRequestCallbackInterface.fromReference( @@ -54,10 +53,13 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface r'io/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface'); /// The type which includes information such as the signature of this class. - static const nullableType = - $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType(); - static const type = - $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type(); + static const jni$_.JType + nullableType = + $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType + type = $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type$(); static final _id_onRedirectReceived = _class.instanceMethodId( r'onRedirectReceived', r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V', @@ -82,7 +84,7 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onRedirectReceived(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo, java.lang.String string)` + /// from: `public fun onRedirectReceived(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?, newLocationUrl: kotlin.String?): kotlin.Unit` void onRedirectReceived( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -123,7 +125,7 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onResponseStarted(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo)` + /// from: `public fun onResponseStarted(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?): kotlin.Unit` void onResponseStarted( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -163,7 +165,7 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onReadCompleted(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo, java.nio.ByteBuffer byteBuffer)` + /// from: `public fun onReadCompleted(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?, byteBuffer: java.nio.ByteBuffer?): kotlin.Unit` void onReadCompleted( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -204,7 +206,7 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onSucceeded(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo)` + /// from: `public fun onSucceeded(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?): kotlin.Unit` void onSucceeded( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -239,7 +241,7 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onCanceled(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo)` + /// from: `public fun onCanceled(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?): kotlin.Unit` void onCanceled( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -276,7 +278,7 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public abstract void onFailed(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo, org.chromium.net.CronetException cronetException)` + /// from: `public fun onFailed(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?, error: org.chromium.net.CronetException?): kotlin.Unit` void onFailed( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -331,51 +333,51 @@ class UrlRequestCallbackProxy$UrlRequestCallbackInterface if ($d == r'onRedirectReceived(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V') { _$impls[$p]!.onRedirectReceived( - $a![0]?.as(const $UrlRequest$Type(), releaseOriginal: true), - $a![1]?.as(const $UrlResponseInfo$Type(), releaseOriginal: true), - $a![2]?.as(const jni$_.JStringType(), releaseOriginal: true), + $a![0]?.as(const $UrlRequest$Type$(), releaseOriginal: true), + $a![1]?.as(const $UrlResponseInfo$Type$(), releaseOriginal: true), + $a![2]?.as(const jni$_.$JString$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onResponseStarted(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V') { _$impls[$p]!.onResponseStarted( - $a![0]?.as(const $UrlRequest$Type(), releaseOriginal: true), - $a![1]?.as(const $UrlResponseInfo$Type(), releaseOriginal: true), + $a![0]?.as(const $UrlRequest$Type$(), releaseOriginal: true), + $a![1]?.as(const $UrlResponseInfo$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onReadCompleted(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V') { _$impls[$p]!.onReadCompleted( - $a![0]?.as(const $UrlRequest$Type(), releaseOriginal: true), - $a![1]?.as(const $UrlResponseInfo$Type(), releaseOriginal: true), - $a![2]?.as(const jni$_.JByteBufferType(), releaseOriginal: true), + $a![0]?.as(const $UrlRequest$Type$(), releaseOriginal: true), + $a![1]?.as(const $UrlResponseInfo$Type$(), releaseOriginal: true), + $a![2]?.as(const jni$_.$JByteBuffer$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onSucceeded(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V') { _$impls[$p]!.onSucceeded( - $a![0]?.as(const $UrlRequest$Type(), releaseOriginal: true), - $a![1]?.as(const $UrlResponseInfo$Type(), releaseOriginal: true), + $a![0]?.as(const $UrlRequest$Type$(), releaseOriginal: true), + $a![1]?.as(const $UrlResponseInfo$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onCanceled(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V') { _$impls[$p]!.onCanceled( - $a![0]?.as(const $UrlRequest$Type(), releaseOriginal: true), - $a![1]?.as(const $UrlResponseInfo$Type(), releaseOriginal: true), + $a![0]?.as(const $UrlRequest$Type$(), releaseOriginal: true), + $a![1]?.as(const $UrlResponseInfo$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } if ($d == r'onFailed(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V') { _$impls[$p]!.onFailed( - $a![0]?.as(const $UrlRequest$Type(), releaseOriginal: true), - $a![1]?.as(const $UrlResponseInfo$Type(), releaseOriginal: true), - $a![2]?.as(const $CronetException$Type(), releaseOriginal: true), + $a![0]?.as(const $UrlRequest$Type$(), releaseOriginal: true), + $a![1]?.as(const $UrlResponseInfo$Type$(), releaseOriginal: true), + $a![2]?.as(const $CronetException$Type$(), releaseOriginal: true), ); return jni$_.nullptr; } @@ -562,11 +564,10 @@ final class _$UrlRequestCallbackProxy$UrlRequestCallbackInterface } } -final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType - extends jni$_ - .JObjType { +final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType(); + const $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType$(); @jni$_.internal @core$_.override @@ -584,11 +585,11 @@ final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$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 + jni$_.JType get nullableType => this; @jni$_.internal @@ -597,23 +598,22 @@ final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType @core$_.override int get hashCode => - ($UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType) + ($UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType$) .hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType) && + ($UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType$) && other - is $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType; + is $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType$; } } -final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type - extends jni$_ - .JObjType { +final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type$ + extends jni$_.JType { @jni$_.internal - const $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type(); + const $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type$(); @jni$_.internal @core$_.override @@ -629,13 +629,13 @@ final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$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 + jni$_.JType get nullableType => - const $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType(); + const $UrlRequestCallbackProxy$UrlRequestCallbackInterface$NullableType$(); @jni$_.internal @core$_.override @@ -643,13 +643,13 @@ final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type @core$_.override int get hashCode => - ($UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type).hashCode; + ($UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type$).hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type) && - other is $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type; + ($UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type$) && + other is $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type$; } } @@ -657,7 +657,7 @@ final class $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type class UrlRequestCallbackProxy extends UrlRequest$Callback { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UrlRequestCallbackProxy.fromReference( @@ -669,8 +669,12 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { r'io/flutter/plugins/cronet_http/UrlRequestCallbackProxy'); /// The type which includes information such as the signature of this class. - static const nullableType = $UrlRequestCallbackProxy$NullableType(); - static const type = $UrlRequestCallbackProxy$Type(); + static const jni$_.JType nullableType = + $UrlRequestCallbackProxy$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $UrlRequestCallbackProxy$Type$(); static final _id_new$ = _class.constructorId( r'(Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface;)V', ); @@ -723,7 +727,7 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { return _getCallback( reference.pointer, _id_getCallback as jni$_.JMethodIDPtr) .object( - const $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type()); + const $UrlRequestCallbackProxy$UrlRequestCallbackInterface$Type$()); } static final _id_onRedirectReceived = _class.instanceMethodId( @@ -750,7 +754,7 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onRedirectReceived(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo, java.lang.String string)` + /// from: `public fun onRedirectReceived(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?, newLocationUrl: kotlin.String?): kotlin.Unit` void onRedirectReceived( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -791,7 +795,7 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onResponseStarted(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo)` + /// from: `public fun onResponseStarted(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?): kotlin.Unit` void onResponseStarted( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -831,7 +835,7 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onReadCompleted(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo, java.nio.ByteBuffer byteBuffer)` + /// from: `public fun onReadCompleted(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?, byteBuffer: java.nio.ByteBuffer?): kotlin.Unit` void onReadCompleted( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -872,7 +876,7 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onSucceeded(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo)` + /// from: `public fun onSucceeded(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?): kotlin.Unit` void onSucceeded( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -907,7 +911,7 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onCanceled(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo)` + /// from: `public fun onCanceled(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?): kotlin.Unit` void onCanceled( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -944,7 +948,7 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { jni$_.Pointer, jni$_.Pointer)>(); - /// from: `public void onFailed(org.chromium.net.UrlRequest urlRequest, org.chromium.net.UrlResponseInfo urlResponseInfo, org.chromium.net.CronetException cronetException)` + /// from: `public fun onFailed(request: org.chromium.net.UrlRequest?, info: org.chromium.net.UrlResponseInfo?, error: org.chromium.net.CronetException?): kotlin.Unit` void onFailed( UrlRequest? urlRequest, UrlResponseInfo? urlResponseInfo, @@ -965,10 +969,10 @@ class UrlRequestCallbackProxy extends UrlRequest$Callback { } } -final class $UrlRequestCallbackProxy$NullableType - extends jni$_.JObjType { +final class $UrlRequestCallbackProxy$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UrlRequestCallbackProxy$NullableType(); + const $UrlRequestCallbackProxy$NullableType$(); @jni$_.internal @core$_.override @@ -985,30 +989,30 @@ final class $UrlRequestCallbackProxy$NullableType ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const $UrlRequest$Callback$Type(); + jni$_.JType get superType => const $UrlRequest$Callback$Type$(); @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 => ($UrlRequestCallbackProxy$NullableType).hashCode; + int get hashCode => ($UrlRequestCallbackProxy$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequestCallbackProxy$NullableType) && - other is $UrlRequestCallbackProxy$NullableType; + return other.runtimeType == ($UrlRequestCallbackProxy$NullableType$) && + other is $UrlRequestCallbackProxy$NullableType$; } } -final class $UrlRequestCallbackProxy$Type - extends jni$_.JObjType { +final class $UrlRequestCallbackProxy$Type$ + extends jni$_.JType { @jni$_.internal - const $UrlRequestCallbackProxy$Type(); + const $UrlRequestCallbackProxy$Type$(); @jni$_.internal @core$_.override @@ -1023,24 +1027,24 @@ final class $UrlRequestCallbackProxy$Type ); @jni$_.internal @core$_.override - jni$_.JObjType get superType => const $UrlRequest$Callback$Type(); + jni$_.JType get superType => const $UrlRequest$Callback$Type$(); @jni$_.internal @core$_.override - jni$_.JObjType get nullableType => - const $UrlRequestCallbackProxy$NullableType(); + jni$_.JType get nullableType => + const $UrlRequestCallbackProxy$NullableType$(); @jni$_.internal @core$_.override final superCount = 2; @core$_.override - int get hashCode => ($UrlRequestCallbackProxy$Type).hashCode; + int get hashCode => ($UrlRequestCallbackProxy$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequestCallbackProxy$Type) && - other is $UrlRequestCallbackProxy$Type; + return other.runtimeType == ($UrlRequestCallbackProxy$Type$) && + other is $UrlRequestCallbackProxy$Type$; } } @@ -1048,7 +1052,7 @@ final class $UrlRequestCallbackProxy$Type class URL extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal URL.fromReference( @@ -1059,8 +1063,10 @@ class URL extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/net/URL'); /// The type which includes information such as the signature of this class. - static const nullableType = $URL$NullableType(); - static const type = $URL$Type(); + static const jni$_.JType nullableType = $URL$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $URL$Type$(); static final _id_new$ = _class.constructorId( r'(Ljava/lang/String;)V', ); @@ -1352,7 +1358,7 @@ class URL extends jni$_.JObject { jni$_.JString? getAuthority() { return _getAuthority( reference.pointer, _id_getAuthority as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getContent = _class.instanceMethodId( @@ -1376,7 +1382,7 @@ class URL extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getContent() { return _getContent(reference.pointer, _id_getContent as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_getContent$1 = _class.instanceMethodId( @@ -1403,7 +1409,7 @@ class URL extends jni$_.JObject { final _$classs = classs?.reference ?? jni$_.jNullReference; return _getContent$1(reference.pointer, _id_getContent$1 as jni$_.JMethodIDPtr, _$classs.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_getDefaultPort = _class.instanceMethodId( @@ -1451,7 +1457,7 @@ class URL extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getFile() { return _getFile(reference.pointer, _id_getFile as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getHost = _class.instanceMethodId( @@ -1475,7 +1481,7 @@ class URL extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getHost() { return _getHost(reference.pointer, _id_getHost as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getPath = _class.instanceMethodId( @@ -1499,7 +1505,7 @@ class URL extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getPath() { return _getPath(reference.pointer, _id_getPath as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getPort = _class.instanceMethodId( @@ -1547,7 +1553,7 @@ class URL 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_getQuery = _class.instanceMethodId( @@ -1571,7 +1577,7 @@ class URL extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getQuery() { return _getQuery(reference.pointer, _id_getQuery as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getRef = _class.instanceMethodId( @@ -1595,7 +1601,7 @@ class URL extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getRef() { return _getRef(reference.pointer, _id_getRef as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getUserInfo = _class.instanceMethodId( @@ -1620,7 +1626,7 @@ class URL extends jni$_.JObject { jni$_.JString? getUserInfo() { return _getUserInfo( reference.pointer, _id_getUserInfo as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_hashCode$1 = _class.instanceMethodId( @@ -1668,7 +1674,7 @@ class URL extends jni$_.JObject { jni$_.JObject? openConnection() { return _openConnection( reference.pointer, _id_openConnection as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_openConnection$1 = _class.instanceMethodId( @@ -1695,7 +1701,7 @@ class URL extends jni$_.JObject { final _$proxy = proxy?.reference ?? jni$_.jNullReference; return _openConnection$1(reference.pointer, _id_openConnection$1 as jni$_.JMethodIDPtr, _$proxy.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_openStream = _class.instanceMethodId( @@ -1719,7 +1725,7 @@ class URL extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? openStream() { return _openStream(reference.pointer, _id_openStream as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_sameFile = _class.instanceMethodId( @@ -1800,7 +1806,7 @@ class URL extends jni$_.JObject { jni$_.JString? toExternalForm() { return _toExternalForm( reference.pointer, _id_toExternalForm as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_toString$1 = _class.instanceMethodId( @@ -1824,7 +1830,7 @@ class URL 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$()); } static final _id_toURI = _class.instanceMethodId( @@ -1848,13 +1854,13 @@ class URL extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? toURI() { return _toURI(reference.pointer, _id_toURI as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } } -final class $URL$NullableType extends jni$_.JObjType { +final class $URL$NullableType$ extends jni$_.JType { @jni$_.internal - const $URL$NullableType(); + const $URL$NullableType$(); @jni$_.internal @core$_.override @@ -1869,29 +1875,29 @@ final class $URL$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 => ($URL$NullableType).hashCode; + int get hashCode => ($URL$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($URL$NullableType) && - other is $URL$NullableType; + return other.runtimeType == ($URL$NullableType$) && + other is $URL$NullableType$; } } -final class $URL$Type extends jni$_.JObjType { +final class $URL$Type$ extends jni$_.JType { @jni$_.internal - const $URL$Type(); + const $URL$Type$(); @jni$_.internal @core$_.override @@ -1904,22 +1910,22 @@ final class $URL$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 $URL$NullableType(); + jni$_.JType get nullableType => const $URL$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($URL$Type).hashCode; + int get hashCode => ($URL$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($URL$Type) && other is $URL$Type; + return other.runtimeType == ($URL$Type$) && other is $URL$Type$; } } @@ -1927,7 +1933,7 @@ final class $URL$Type extends jni$_.JObjType { class Executors extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal Executors.fromReference( @@ -1938,8 +1944,11 @@ class Executors extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'java/util/concurrent/Executors'); /// The type which includes information such as the signature of this class. - static const nullableType = $Executors$NullableType(); - static const type = $Executors$Type(); + static const jni$_.JType nullableType = + $Executors$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $Executors$Type$(); static final _id_callable = _class.staticMethodId( r'callable', r'(Ljava/lang/Runnable;)Ljava/util/concurrent/Callable;', @@ -1964,7 +1973,7 @@ class Executors extends jni$_.JObject { final _$runnable = runnable?.reference ?? jni$_.jNullReference; return _callable(_class.reference.pointer, _id_callable as jni$_.JMethodIDPtr, _$runnable.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_callable$1 = _class.staticMethodId( @@ -1994,7 +2003,7 @@ class Executors extends jni$_.JObject { static jni$_.JObject? callable$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; @@ -2003,7 +2012,7 @@ class Executors extends jni$_.JObject { _id_callable$1 as jni$_.JMethodIDPtr, _$runnable.pointer, _$object.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_callable$2 = _class.staticMethodId( @@ -2031,7 +2040,7 @@ class Executors extends jni$_.JObject { privilegedAction?.reference ?? jni$_.jNullReference; return _callable$2(_class.reference.pointer, _id_callable$2 as jni$_.JMethodIDPtr, _$privilegedAction.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_callable$3 = _class.staticMethodId( @@ -2061,7 +2070,7 @@ class Executors extends jni$_.JObject { _class.reference.pointer, _id_callable$3 as jni$_.JMethodIDPtr, _$privilegedExceptionAction.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_defaultThreadFactory = _class.staticMethodId( @@ -2086,7 +2095,7 @@ class Executors extends jni$_.JObject { static jni$_.JObject? defaultThreadFactory() { return _defaultThreadFactory(_class.reference.pointer, _id_defaultThreadFactory as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newCachedThreadPool = _class.staticMethodId( @@ -2111,7 +2120,7 @@ class Executors extends jni$_.JObject { static jni$_.JObject? newCachedThreadPool() { return _newCachedThreadPool(_class.reference.pointer, _id_newCachedThreadPool as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newCachedThreadPool$1 = _class.staticMethodId( @@ -2140,7 +2149,7 @@ class Executors extends jni$_.JObject { _class.reference.pointer, _id_newCachedThreadPool$1 as jni$_.JMethodIDPtr, _$threadFactory.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newFixedThreadPool = _class.staticMethodId( @@ -2164,7 +2173,7 @@ class Executors extends jni$_.JObject { ) { return _newFixedThreadPool(_class.reference.pointer, _id_newFixedThreadPool as jni$_.JMethodIDPtr, i) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newFixedThreadPool$1 = _class.staticMethodId( @@ -2196,7 +2205,7 @@ class Executors extends jni$_.JObject { _id_newFixedThreadPool$1 as jni$_.JMethodIDPtr, i, _$threadFactory.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newScheduledThreadPool = _class.staticMethodId( @@ -2220,7 +2229,7 @@ class Executors extends jni$_.JObject { ) { return _newScheduledThreadPool(_class.reference.pointer, _id_newScheduledThreadPool as jni$_.JMethodIDPtr, i) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newScheduledThreadPool$1 = _class.staticMethodId( @@ -2252,7 +2261,7 @@ class Executors extends jni$_.JObject { _id_newScheduledThreadPool$1 as jni$_.JMethodIDPtr, i, _$threadFactory.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newSingleThreadExecutor = _class.staticMethodId( @@ -2277,7 +2286,7 @@ class Executors extends jni$_.JObject { static jni$_.JObject? newSingleThreadExecutor() { return _newSingleThreadExecutor(_class.reference.pointer, _id_newSingleThreadExecutor as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newSingleThreadExecutor$1 = _class.staticMethodId( @@ -2306,7 +2315,7 @@ class Executors extends jni$_.JObject { _class.reference.pointer, _id_newSingleThreadExecutor$1 as jni$_.JMethodIDPtr, _$threadFactory.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newSingleThreadScheduledExecutor = _class.staticMethodId( @@ -2332,7 +2341,7 @@ class Executors extends jni$_.JObject { static jni$_.JObject? newSingleThreadScheduledExecutor() { return _newSingleThreadScheduledExecutor(_class.reference.pointer, _id_newSingleThreadScheduledExecutor as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newSingleThreadScheduledExecutor$1 = _class.staticMethodId( @@ -2362,7 +2371,7 @@ class Executors extends jni$_.JObject { _class.reference.pointer, _id_newSingleThreadScheduledExecutor$1 as jni$_.JMethodIDPtr, _$threadFactory.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newWorkStealingPool = _class.staticMethodId( @@ -2387,7 +2396,7 @@ class Executors extends jni$_.JObject { static jni$_.JObject? newWorkStealingPool() { return _newWorkStealingPool(_class.reference.pointer, _id_newWorkStealingPool as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newWorkStealingPool$1 = _class.staticMethodId( @@ -2411,7 +2420,7 @@ class Executors extends jni$_.JObject { ) { return _newWorkStealingPool$1(_class.reference.pointer, _id_newWorkStealingPool$1 as jni$_.JMethodIDPtr, i) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_privilegedCallable = _class.staticMethodId( @@ -2434,12 +2443,12 @@ class Executors extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JObject? privilegedCallable<$T extends jni$_.JObject?>( jni$_.JObject? callable, { - required jni$_.JObjType<$T> T, + required jni$_.JType<$T> T, }) { final _$callable = callable?.reference ?? jni$_.jNullReference; return _privilegedCallable(_class.reference.pointer, _id_privilegedCallable as jni$_.JMethodIDPtr, _$callable.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_privilegedCallableUsingCurrentClassLoader = @@ -2465,14 +2474,14 @@ class Executors extends jni$_.JObject { static jni$_.JObject? privilegedCallableUsingCurrentClassLoader<$T extends jni$_.JObject?>( jni$_.JObject? callable, { - required jni$_.JObjType<$T> T, + required jni$_.JType<$T> T, }) { final _$callable = callable?.reference ?? jni$_.jNullReference; return _privilegedCallableUsingCurrentClassLoader( _class.reference.pointer, _id_privilegedCallableUsingCurrentClassLoader as jni$_.JMethodIDPtr, _$callable.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_privilegedThreadFactory = _class.staticMethodId( @@ -2497,7 +2506,7 @@ class Executors extends jni$_.JObject { static jni$_.JObject? privilegedThreadFactory() { return _privilegedThreadFactory(_class.reference.pointer, _id_privilegedThreadFactory as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_unconfigurableExecutorService = _class.staticMethodId( @@ -2528,7 +2537,7 @@ class Executors extends jni$_.JObject { _class.reference.pointer, _id_unconfigurableExecutorService as jni$_.JMethodIDPtr, _$executorService.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_unconfigurableScheduledExecutorService = @@ -2560,13 +2569,13 @@ class Executors extends jni$_.JObject { _class.reference.pointer, _id_unconfigurableScheduledExecutorService as jni$_.JMethodIDPtr, _$scheduledExecutorService.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } } -final class $Executors$NullableType extends jni$_.JObjType { +final class $Executors$NullableType$ extends jni$_.JType { @jni$_.internal - const $Executors$NullableType(); + const $Executors$NullableType$(); @jni$_.internal @core$_.override @@ -2581,29 +2590,29 @@ final class $Executors$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 => ($Executors$NullableType).hashCode; + int get hashCode => ($Executors$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Executors$NullableType) && - other is $Executors$NullableType; + return other.runtimeType == ($Executors$NullableType$) && + other is $Executors$NullableType$; } } -final class $Executors$Type extends jni$_.JObjType { +final class $Executors$Type$ extends jni$_.JType { @jni$_.internal - const $Executors$Type(); + const $Executors$Type$(); @jni$_.internal @core$_.override @@ -2617,23 +2626,22 @@ final class $Executors$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 $Executors$NullableType(); + jni$_.JType get nullableType => const $Executors$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($Executors$Type).hashCode; + int get hashCode => ($Executors$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($Executors$Type) && other is $Executors$Type; + return other.runtimeType == ($Executors$Type$) && other is $Executors$Type$; } } @@ -2641,7 +2649,7 @@ final class $Executors$Type extends jni$_.JObjType { class CronetEngine$Builder$LibraryLoader extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal CronetEngine$Builder$LibraryLoader.fromReference( @@ -2653,9 +2661,12 @@ class CronetEngine$Builder$LibraryLoader extends jni$_.JObject { r'org/chromium/net/CronetEngine$Builder$LibraryLoader'); /// The type which includes information such as the signature of this class. - static const nullableType = - $CronetEngine$Builder$LibraryLoader$NullableType(); - static const type = $CronetEngine$Builder$LibraryLoader$Type(); + static const jni$_.JType nullableType = + $CronetEngine$Builder$LibraryLoader$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $CronetEngine$Builder$LibraryLoader$Type$(); static final _id_loadLibrary = _class.instanceMethodId( r'loadLibrary', r'(Ljava/lang/String;)V', @@ -2683,10 +2694,10 @@ class CronetEngine$Builder$LibraryLoader extends jni$_.JObject { } } -final class $CronetEngine$Builder$LibraryLoader$NullableType - extends jni$_.JObjType { +final class $CronetEngine$Builder$LibraryLoader$NullableType$ + extends jni$_.JType { @jni$_.internal - const $CronetEngine$Builder$LibraryLoader$NullableType(); + const $CronetEngine$Builder$LibraryLoader$NullableType$(); @jni$_.internal @core$_.override @@ -2704,11 +2715,11 @@ final class $CronetEngine$Builder$LibraryLoader$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 @@ -2716,20 +2727,20 @@ final class $CronetEngine$Builder$LibraryLoader$NullableType @core$_.override int get hashCode => - ($CronetEngine$Builder$LibraryLoader$NullableType).hashCode; + ($CronetEngine$Builder$LibraryLoader$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { return other.runtimeType == - ($CronetEngine$Builder$LibraryLoader$NullableType) && - other is $CronetEngine$Builder$LibraryLoader$NullableType; + ($CronetEngine$Builder$LibraryLoader$NullableType$) && + other is $CronetEngine$Builder$LibraryLoader$NullableType$; } } -final class $CronetEngine$Builder$LibraryLoader$Type - extends jni$_.JObjType { +final class $CronetEngine$Builder$LibraryLoader$Type$ + extends jni$_.JType { @jni$_.internal - const $CronetEngine$Builder$LibraryLoader$Type(); + const $CronetEngine$Builder$LibraryLoader$Type$(); @jni$_.internal @core$_.override @@ -2745,24 +2756,24 @@ final class $CronetEngine$Builder$LibraryLoader$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 $CronetEngine$Builder$LibraryLoader$NullableType(); + jni$_.JType get nullableType => + const $CronetEngine$Builder$LibraryLoader$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($CronetEngine$Builder$LibraryLoader$Type).hashCode; + int get hashCode => ($CronetEngine$Builder$LibraryLoader$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($CronetEngine$Builder$LibraryLoader$Type) && - other is $CronetEngine$Builder$LibraryLoader$Type; + return other.runtimeType == ($CronetEngine$Builder$LibraryLoader$Type$) && + other is $CronetEngine$Builder$LibraryLoader$Type$; } } @@ -2770,7 +2781,7 @@ final class $CronetEngine$Builder$LibraryLoader$Type class CronetEngine$Builder extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal CronetEngine$Builder.fromReference( @@ -2782,8 +2793,12 @@ class CronetEngine$Builder extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/CronetEngine$Builder'); /// The type which includes information such as the signature of this class. - static const nullableType = $CronetEngine$Builder$NullableType(); - static const type = $CronetEngine$Builder$Type(); + static const jni$_.JType nullableType = + $CronetEngine$Builder$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $CronetEngine$Builder$Type$(); /// from: `static public final int HTTP_CACHE_DISABLED` static const HTTP_CACHE_DISABLED = 0; @@ -2871,7 +2886,7 @@ class CronetEngine$Builder extends jni$_.JObject { jni$_.JString? getDefaultUserAgent() { return _getDefaultUserAgent( reference.pointer, _id_getDefaultUserAgent as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_setUserAgent = _class.instanceMethodId( @@ -2899,7 +2914,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _setUserAgent(reference.pointer, _id_setUserAgent as jni$_.JMethodIDPtr, _$string.pointer) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_setStoragePath = _class.instanceMethodId( @@ -2927,7 +2942,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _setStoragePath(reference.pointer, _id_setStoragePath as jni$_.JMethodIDPtr, _$string.pointer) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_setLibraryLoader = _class.instanceMethodId( @@ -2955,7 +2970,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _setLibraryLoader(reference.pointer, _id_setLibraryLoader as jni$_.JMethodIDPtr, _$libraryLoader.pointer) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_enableQuic = _class.instanceMethodId( @@ -2981,7 +2996,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _enableQuic( reference.pointer, _id_enableQuic as jni$_.JMethodIDPtr, z ? 1 : 0) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_enableHttp2 = _class.instanceMethodId( @@ -3007,7 +3022,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _enableHttp2( reference.pointer, _id_enableHttp2 as jni$_.JMethodIDPtr, z ? 1 : 0) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_enableSdch = _class.instanceMethodId( @@ -3033,7 +3048,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _enableSdch( reference.pointer, _id_enableSdch as jni$_.JMethodIDPtr, z ? 1 : 0) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_enableBrotli = _class.instanceMethodId( @@ -3059,7 +3074,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _enableBrotli(reference.pointer, _id_enableBrotli as jni$_.JMethodIDPtr, z ? 1 : 0) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_enableHttpCache = _class.instanceMethodId( @@ -3087,7 +3102,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _enableHttpCache( reference.pointer, _id_enableHttpCache as jni$_.JMethodIDPtr, i, j) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_addQuicHint = _class.instanceMethodId( @@ -3121,7 +3136,7 @@ class CronetEngine$Builder extends jni$_.JObject { return _addQuicHint(reference.pointer, _id_addQuicHint as jni$_.JMethodIDPtr, _$string.pointer, i, i1) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_addPublicKeyPins = _class.instanceMethodId( @@ -3169,7 +3184,7 @@ class CronetEngine$Builder extends jni$_.JObject { z ? 1 : 0, _$date.pointer) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_enablePublicKeyPinningBypassForLocalTrustAnchors = @@ -3199,7 +3214,7 @@ class CronetEngine$Builder extends jni$_.JObject { as jni$_.JMethodIDPtr, z ? 1 : 0) .object( - const $CronetEngine$Builder$NullableType()); + const $CronetEngine$Builder$NullableType$()); } static final _id_build = _class.instanceMethodId( @@ -3223,14 +3238,14 @@ class CronetEngine$Builder extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. CronetEngine? build() { return _build(reference.pointer, _id_build as jni$_.JMethodIDPtr) - .object(const $CronetEngine$NullableType()); + .object(const $CronetEngine$NullableType$()); } } -final class $CronetEngine$Builder$NullableType - extends jni$_.JObjType { +final class $CronetEngine$Builder$NullableType$ + extends jni$_.JType { @jni$_.internal - const $CronetEngine$Builder$NullableType(); + const $CronetEngine$Builder$NullableType$(); @jni$_.internal @core$_.override @@ -3246,30 +3261,30 @@ final class $CronetEngine$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 => ($CronetEngine$Builder$NullableType).hashCode; + int get hashCode => ($CronetEngine$Builder$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($CronetEngine$Builder$NullableType) && - other is $CronetEngine$Builder$NullableType; + return other.runtimeType == ($CronetEngine$Builder$NullableType$) && + other is $CronetEngine$Builder$NullableType$; } } -final class $CronetEngine$Builder$Type - extends jni$_.JObjType { +final class $CronetEngine$Builder$Type$ + extends jni$_.JType { @jni$_.internal - const $CronetEngine$Builder$Type(); + const $CronetEngine$Builder$Type$(); @jni$_.internal @core$_.override @@ -3283,24 +3298,24 @@ final class $CronetEngine$Builder$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 $CronetEngine$Builder$NullableType(); + jni$_.JType get nullableType => + const $CronetEngine$Builder$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($CronetEngine$Builder$Type).hashCode; + int get hashCode => ($CronetEngine$Builder$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($CronetEngine$Builder$Type) && - other is $CronetEngine$Builder$Type; + return other.runtimeType == ($CronetEngine$Builder$Type$) && + other is $CronetEngine$Builder$Type$; } } @@ -3308,7 +3323,7 @@ final class $CronetEngine$Builder$Type class CronetEngine extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal CronetEngine.fromReference( @@ -3319,8 +3334,11 @@ class CronetEngine extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'org/chromium/net/CronetEngine'); /// The type which includes information such as the signature of this class. - static const nullableType = $CronetEngine$NullableType(); - static const type = $CronetEngine$Type(); + static const jni$_.JType nullableType = + $CronetEngine$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $CronetEngine$Type$(); static final _id_getVersionString = _class.instanceMethodId( r'getVersionString', r'()Ljava/lang/String;', @@ -3343,7 +3361,7 @@ class CronetEngine extends jni$_.JObject { jni$_.JString? getVersionString() { return _getVersionString( reference.pointer, _id_getVersionString as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_shutdown = _class.instanceMethodId( @@ -3444,7 +3462,7 @@ class CronetEngine extends jni$_.JObject { jni$_.JByteArray? getGlobalMetricsDeltas() { return _getGlobalMetricsDeltas( reference.pointer, _id_getGlobalMetricsDeltas as jni$_.JMethodIDPtr) - .object(const jni$_.JByteArrayNullableType()); + .object(const jni$_.$JByteArray$NullableType$()); } static final _id_openConnection = _class.instanceMethodId( @@ -3471,7 +3489,7 @@ class CronetEngine extends jni$_.JObject { final _$uRL = uRL?.reference ?? jni$_.jNullReference; return _openConnection(reference.pointer, _id_openConnection as jni$_.JMethodIDPtr, _$uRL.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_createURLStreamHandlerFactory = _class.instanceMethodId( @@ -3497,7 +3515,7 @@ class CronetEngine extends jni$_.JObject { jni$_.JObject? createURLStreamHandlerFactory() { return _createURLStreamHandlerFactory(reference.pointer, _id_createURLStreamHandlerFactory as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_newUrlRequestBuilder = _class.instanceMethodId( @@ -3540,13 +3558,13 @@ class CronetEngine extends jni$_.JObject { _$string.pointer, _$callback.pointer, _$executor.pointer) - .object(const $UrlRequest$Builder$NullableType()); + .object(const $UrlRequest$Builder$NullableType$()); } } -final class $CronetEngine$NullableType extends jni$_.JObjType { +final class $CronetEngine$NullableType$ extends jni$_.JType { @jni$_.internal - const $CronetEngine$NullableType(); + const $CronetEngine$NullableType$(); @jni$_.internal @core$_.override @@ -3561,29 +3579,29 @@ final class $CronetEngine$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 => ($CronetEngine$NullableType).hashCode; + int get hashCode => ($CronetEngine$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($CronetEngine$NullableType) && - other is $CronetEngine$NullableType; + return other.runtimeType == ($CronetEngine$NullableType$) && + other is $CronetEngine$NullableType$; } } -final class $CronetEngine$Type extends jni$_.JObjType { +final class $CronetEngine$Type$ extends jni$_.JType { @jni$_.internal - const $CronetEngine$Type(); + const $CronetEngine$Type$(); @jni$_.internal @core$_.override @@ -3597,24 +3615,24 @@ final class $CronetEngine$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 $CronetEngine$NullableType(); + jni$_.JType get nullableType => + const $CronetEngine$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($CronetEngine$Type).hashCode; + int get hashCode => ($CronetEngine$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($CronetEngine$Type) && - other is $CronetEngine$Type; + return other.runtimeType == ($CronetEngine$Type$) && + other is $CronetEngine$Type$; } } @@ -3622,7 +3640,7 @@ final class $CronetEngine$Type extends jni$_.JObjType { class CronetException extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal CronetException.fromReference( @@ -3634,14 +3652,17 @@ class CronetException extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/CronetException'); /// The type which includes information such as the signature of this class. - static const nullableType = $CronetException$NullableType(); - static const type = $CronetException$Type(); + static const jni$_.JType nullableType = + $CronetException$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $CronetException$Type$(); } -final class $CronetException$NullableType - extends jni$_.JObjType { +final class $CronetException$NullableType$ + extends jni$_.JType { @jni$_.internal - const $CronetException$NullableType(); + const $CronetException$NullableType$(); @jni$_.internal @core$_.override @@ -3656,29 +3677,29 @@ final class $CronetException$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 => ($CronetException$NullableType).hashCode; + int get hashCode => ($CronetException$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($CronetException$NullableType) && - other is $CronetException$NullableType; + return other.runtimeType == ($CronetException$NullableType$) && + other is $CronetException$NullableType$; } } -final class $CronetException$Type extends jni$_.JObjType { +final class $CronetException$Type$ extends jni$_.JType { @jni$_.internal - const $CronetException$Type(); + const $CronetException$Type$(); @jni$_.internal @core$_.override @@ -3692,24 +3713,24 @@ final class $CronetException$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 $CronetException$NullableType(); + jni$_.JType get nullableType => + const $CronetException$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($CronetException$Type).hashCode; + int get hashCode => ($CronetException$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($CronetException$Type) && - other is $CronetException$Type; + return other.runtimeType == ($CronetException$Type$) && + other is $CronetException$Type$; } } @@ -3717,7 +3738,7 @@ final class $CronetException$Type extends jni$_.JObjType { class UploadDataProviders extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UploadDataProviders.fromReference( @@ -3729,8 +3750,12 @@ class UploadDataProviders extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/UploadDataProviders'); /// The type which includes information such as the signature of this class. - static const nullableType = $UploadDataProviders$NullableType(); - static const type = $UploadDataProviders$Type(); + static const jni$_.JType nullableType = + $UploadDataProviders$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $UploadDataProviders$Type$(); static final _id_create = _class.staticMethodId( r'create', r'(Ljava/io/File;)Lorg/chromium/net/UploadDataProvider;', @@ -3755,7 +3780,7 @@ class UploadDataProviders extends jni$_.JObject { final _$file = file?.reference ?? jni$_.jNullReference; return _create(_class.reference.pointer, _id_create as jni$_.JMethodIDPtr, _$file.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_create$1 = _class.staticMethodId( @@ -3783,7 +3808,7 @@ class UploadDataProviders extends jni$_.JObject { parcelFileDescriptor?.reference ?? jni$_.jNullReference; return _create$1(_class.reference.pointer, _id_create$1 as jni$_.JMethodIDPtr, _$parcelFileDescriptor.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_create$2 = _class.staticMethodId( @@ -3810,7 +3835,7 @@ class UploadDataProviders extends jni$_.JObject { final _$byteBuffer = byteBuffer?.reference ?? jni$_.jNullReference; return _create$2(_class.reference.pointer, _id_create$2 as jni$_.JMethodIDPtr, _$byteBuffer.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_create$3 = _class.staticMethodId( @@ -3843,7 +3868,7 @@ class UploadDataProviders extends jni$_.JObject { final _$bs = bs?.reference ?? jni$_.jNullReference; return _create$3(_class.reference.pointer, _id_create$3 as jni$_.JMethodIDPtr, _$bs.pointer, i, i1) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } static final _id_create$4 = _class.staticMethodId( @@ -3870,14 +3895,14 @@ class UploadDataProviders extends jni$_.JObject { final _$bs = bs?.reference ?? jni$_.jNullReference; return _create$4(_class.reference.pointer, _id_create$4 as jni$_.JMethodIDPtr, _$bs.pointer) - .object(const jni$_.JObjectNullableType()); + .object(const jni$_.$JObject$NullableType$()); } } -final class $UploadDataProviders$NullableType - extends jni$_.JObjType { +final class $UploadDataProviders$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UploadDataProviders$NullableType(); + const $UploadDataProviders$NullableType$(); @jni$_.internal @core$_.override @@ -3893,30 +3918,30 @@ final class $UploadDataProviders$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 => ($UploadDataProviders$NullableType).hashCode; + int get hashCode => ($UploadDataProviders$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UploadDataProviders$NullableType) && - other is $UploadDataProviders$NullableType; + return other.runtimeType == ($UploadDataProviders$NullableType$) && + other is $UploadDataProviders$NullableType$; } } -final class $UploadDataProviders$Type - extends jni$_.JObjType { +final class $UploadDataProviders$Type$ + extends jni$_.JType { @jni$_.internal - const $UploadDataProviders$Type(); + const $UploadDataProviders$Type$(); @jni$_.internal @core$_.override @@ -3930,24 +3955,24 @@ final class $UploadDataProviders$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 $UploadDataProviders$NullableType(); + jni$_.JType get nullableType => + const $UploadDataProviders$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($UploadDataProviders$Type).hashCode; + int get hashCode => ($UploadDataProviders$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UploadDataProviders$Type) && - other is $UploadDataProviders$Type; + return other.runtimeType == ($UploadDataProviders$Type$) && + other is $UploadDataProviders$Type$; } } @@ -3955,7 +3980,7 @@ final class $UploadDataProviders$Type class UrlRequest$Builder extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UrlRequest$Builder.fromReference( @@ -3967,8 +3992,12 @@ class UrlRequest$Builder extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/UrlRequest$Builder'); /// The type which includes information such as the signature of this class. - static const nullableType = $UrlRequest$Builder$NullableType(); - static const type = $UrlRequest$Builder$Type(); + static const jni$_.JType nullableType = + $UrlRequest$Builder$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $UrlRequest$Builder$Type$(); /// from: `static public final int REQUEST_PRIORITY_IDLE` static const REQUEST_PRIORITY_IDLE = 0; @@ -4008,7 +4037,7 @@ class UrlRequest$Builder extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; return _setHttpMethod(reference.pointer, _id_setHttpMethod as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $UrlRequest$Builder$NullableType()); + .object(const $UrlRequest$Builder$NullableType$()); } static final _id_addHeader = _class.instanceMethodId( @@ -4043,7 +4072,7 @@ class UrlRequest$Builder extends jni$_.JObject { final _$string1 = string1?.reference ?? jni$_.jNullReference; return _addHeader(reference.pointer, _id_addHeader as jni$_.JMethodIDPtr, _$string.pointer, _$string1.pointer) - .object(const $UrlRequest$Builder$NullableType()); + .object(const $UrlRequest$Builder$NullableType$()); } static final _id_disableCache = _class.instanceMethodId( @@ -4068,7 +4097,7 @@ class UrlRequest$Builder extends jni$_.JObject { UrlRequest$Builder? disableCache() { return _disableCache( reference.pointer, _id_disableCache as jni$_.JMethodIDPtr) - .object(const $UrlRequest$Builder$NullableType()); + .object(const $UrlRequest$Builder$NullableType$()); } static final _id_setPriority = _class.instanceMethodId( @@ -4093,7 +4122,7 @@ class UrlRequest$Builder extends jni$_.JObject { ) { return _setPriority( reference.pointer, _id_setPriority as jni$_.JMethodIDPtr, i) - .object(const $UrlRequest$Builder$NullableType()); + .object(const $UrlRequest$Builder$NullableType$()); } static final _id_setUploadDataProvider = _class.instanceMethodId( @@ -4132,7 +4161,7 @@ class UrlRequest$Builder extends jni$_.JObject { _id_setUploadDataProvider as jni$_.JMethodIDPtr, _$uploadDataProvider.pointer, _$executor.pointer) - .object(const $UrlRequest$Builder$NullableType()); + .object(const $UrlRequest$Builder$NullableType$()); } static final _id_allowDirectExecutor = _class.instanceMethodId( @@ -4157,7 +4186,7 @@ class UrlRequest$Builder extends jni$_.JObject { UrlRequest$Builder? allowDirectExecutor() { return _allowDirectExecutor( reference.pointer, _id_allowDirectExecutor as jni$_.JMethodIDPtr) - .object(const $UrlRequest$Builder$NullableType()); + .object(const $UrlRequest$Builder$NullableType$()); } static final _id_build = _class.instanceMethodId( @@ -4181,14 +4210,14 @@ class UrlRequest$Builder extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. UrlRequest? build() { return _build(reference.pointer, _id_build as jni$_.JMethodIDPtr) - .object(const $UrlRequest$NullableType()); + .object(const $UrlRequest$NullableType$()); } } -final class $UrlRequest$Builder$NullableType - extends jni$_.JObjType { +final class $UrlRequest$Builder$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UrlRequest$Builder$NullableType(); + const $UrlRequest$Builder$NullableType$(); @jni$_.internal @core$_.override @@ -4204,30 +4233,29 @@ final class $UrlRequest$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 => ($UrlRequest$Builder$NullableType).hashCode; + int get hashCode => ($UrlRequest$Builder$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$Builder$NullableType) && - other is $UrlRequest$Builder$NullableType; + return other.runtimeType == ($UrlRequest$Builder$NullableType$) && + other is $UrlRequest$Builder$NullableType$; } } -final class $UrlRequest$Builder$Type - extends jni$_.JObjType { +final class $UrlRequest$Builder$Type$ extends jni$_.JType { @jni$_.internal - const $UrlRequest$Builder$Type(); + const $UrlRequest$Builder$Type$(); @jni$_.internal @core$_.override @@ -4241,24 +4269,24 @@ final class $UrlRequest$Builder$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 $UrlRequest$Builder$NullableType(); + jni$_.JType get nullableType => + const $UrlRequest$Builder$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($UrlRequest$Builder$Type).hashCode; + int get hashCode => ($UrlRequest$Builder$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$Builder$Type) && - other is $UrlRequest$Builder$Type; + return other.runtimeType == ($UrlRequest$Builder$Type$) && + other is $UrlRequest$Builder$Type$; } } @@ -4266,7 +4294,7 @@ final class $UrlRequest$Builder$Type class UrlRequest$Callback extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UrlRequest$Callback.fromReference( @@ -4278,8 +4306,12 @@ class UrlRequest$Callback extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/UrlRequest$Callback'); /// The type which includes information such as the signature of this class. - static const nullableType = $UrlRequest$Callback$NullableType(); - static const type = $UrlRequest$Callback$Type(); + static const jni$_.JType nullableType = + $UrlRequest$Callback$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $UrlRequest$Callback$Type$(); static final _id_onRedirectReceived = _class.instanceMethodId( r'onRedirectReceived', r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V', @@ -4519,10 +4551,10 @@ class UrlRequest$Callback extends jni$_.JObject { } } -final class $UrlRequest$Callback$NullableType - extends jni$_.JObjType { +final class $UrlRequest$Callback$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UrlRequest$Callback$NullableType(); + const $UrlRequest$Callback$NullableType$(); @jni$_.internal @core$_.override @@ -4538,30 +4570,30 @@ final class $UrlRequest$Callback$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 => ($UrlRequest$Callback$NullableType).hashCode; + int get hashCode => ($UrlRequest$Callback$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$Callback$NullableType) && - other is $UrlRequest$Callback$NullableType; + return other.runtimeType == ($UrlRequest$Callback$NullableType$) && + other is $UrlRequest$Callback$NullableType$; } } -final class $UrlRequest$Callback$Type - extends jni$_.JObjType { +final class $UrlRequest$Callback$Type$ + extends jni$_.JType { @jni$_.internal - const $UrlRequest$Callback$Type(); + const $UrlRequest$Callback$Type$(); @jni$_.internal @core$_.override @@ -4575,24 +4607,24 @@ final class $UrlRequest$Callback$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 $UrlRequest$Callback$NullableType(); + jni$_.JType get nullableType => + const $UrlRequest$Callback$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($UrlRequest$Callback$Type).hashCode; + int get hashCode => ($UrlRequest$Callback$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$Callback$Type) && - other is $UrlRequest$Callback$Type; + return other.runtimeType == ($UrlRequest$Callback$Type$) && + other is $UrlRequest$Callback$Type$; } } @@ -4600,7 +4632,7 @@ final class $UrlRequest$Callback$Type class UrlRequest$Status extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UrlRequest$Status.fromReference( @@ -4612,8 +4644,11 @@ class UrlRequest$Status extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/UrlRequest$Status'); /// The type which includes information such as the signature of this class. - static const nullableType = $UrlRequest$Status$NullableType(); - static const type = $UrlRequest$Status$Type(); + static const jni$_.JType nullableType = + $UrlRequest$Status$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $UrlRequest$Status$Type$(); /// from: `static public final int INVALID` static const INVALID = -1; @@ -4664,10 +4699,10 @@ class UrlRequest$Status extends jni$_.JObject { static const READING_RESPONSE = 14; } -final class $UrlRequest$Status$NullableType - extends jni$_.JObjType { +final class $UrlRequest$Status$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UrlRequest$Status$NullableType(); + const $UrlRequest$Status$NullableType$(); @jni$_.internal @core$_.override @@ -4683,29 +4718,29 @@ final class $UrlRequest$Status$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 => ($UrlRequest$Status$NullableType).hashCode; + int get hashCode => ($UrlRequest$Status$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$Status$NullableType) && - other is $UrlRequest$Status$NullableType; + return other.runtimeType == ($UrlRequest$Status$NullableType$) && + other is $UrlRequest$Status$NullableType$; } } -final class $UrlRequest$Status$Type extends jni$_.JObjType { +final class $UrlRequest$Status$Type$ extends jni$_.JType { @jni$_.internal - const $UrlRequest$Status$Type(); + const $UrlRequest$Status$Type$(); @jni$_.internal @core$_.override @@ -4719,24 +4754,24 @@ final class $UrlRequest$Status$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 $UrlRequest$Status$NullableType(); + jni$_.JType get nullableType => + const $UrlRequest$Status$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($UrlRequest$Status$Type).hashCode; + int get hashCode => ($UrlRequest$Status$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$Status$Type) && - other is $UrlRequest$Status$Type; + return other.runtimeType == ($UrlRequest$Status$Type$) && + other is $UrlRequest$Status$Type$; } } @@ -4744,7 +4779,7 @@ final class $UrlRequest$Status$Type extends jni$_.JObjType { class UrlRequest$StatusListener extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UrlRequest$StatusListener.fromReference( @@ -4756,8 +4791,12 @@ class UrlRequest$StatusListener extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/UrlRequest$StatusListener'); /// The type which includes information such as the signature of this class. - static const nullableType = $UrlRequest$StatusListener$NullableType(); - static const type = $UrlRequest$StatusListener$Type(); + static const jni$_.JType nullableType = + $UrlRequest$StatusListener$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $UrlRequest$StatusListener$Type$(); static final _id_onStatus = _class.instanceMethodId( r'onStatus', r'(I)V', @@ -4781,10 +4820,10 @@ class UrlRequest$StatusListener extends jni$_.JObject { } } -final class $UrlRequest$StatusListener$NullableType - extends jni$_.JObjType { +final class $UrlRequest$StatusListener$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UrlRequest$StatusListener$NullableType(); + const $UrlRequest$StatusListener$NullableType$(); @jni$_.internal @core$_.override @@ -4800,30 +4839,30 @@ final class $UrlRequest$StatusListener$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 => ($UrlRequest$StatusListener$NullableType).hashCode; + int get hashCode => ($UrlRequest$StatusListener$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$StatusListener$NullableType) && - other is $UrlRequest$StatusListener$NullableType; + return other.runtimeType == ($UrlRequest$StatusListener$NullableType$) && + other is $UrlRequest$StatusListener$NullableType$; } } -final class $UrlRequest$StatusListener$Type - extends jni$_.JObjType { +final class $UrlRequest$StatusListener$Type$ + extends jni$_.JType { @jni$_.internal - const $UrlRequest$StatusListener$Type(); + const $UrlRequest$StatusListener$Type$(); @jni$_.internal @core$_.override @@ -4837,24 +4876,24 @@ final class $UrlRequest$StatusListener$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 $UrlRequest$StatusListener$NullableType(); + jni$_.JType get nullableType => + const $UrlRequest$StatusListener$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($UrlRequest$StatusListener$Type).hashCode; + int get hashCode => ($UrlRequest$StatusListener$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$StatusListener$Type) && - other is $UrlRequest$StatusListener$Type; + return other.runtimeType == ($UrlRequest$StatusListener$Type$) && + other is $UrlRequest$StatusListener$Type$; } } @@ -4862,7 +4901,7 @@ final class $UrlRequest$StatusListener$Type class UrlRequest extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UrlRequest.fromReference( @@ -4873,8 +4912,11 @@ class UrlRequest extends jni$_.JObject { static final _class = jni$_.JClass.forName(r'org/chromium/net/UrlRequest'); /// The type which includes information such as the signature of this class. - static const nullableType = $UrlRequest$NullableType(); - static const type = $UrlRequest$Type(); + static const jni$_.JType nullableType = + $UrlRequest$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $UrlRequest$Type$(); static final _id_start = _class.instanceMethodId( r'start', r'()V', @@ -5017,9 +5059,9 @@ class UrlRequest extends jni$_.JObject { } } -final class $UrlRequest$NullableType extends jni$_.JObjType { +final class $UrlRequest$NullableType$ extends jni$_.JType { @jni$_.internal - const $UrlRequest$NullableType(); + const $UrlRequest$NullableType$(); @jni$_.internal @core$_.override @@ -5034,29 +5076,29 @@ final class $UrlRequest$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 => ($UrlRequest$NullableType).hashCode; + int get hashCode => ($UrlRequest$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$NullableType) && - other is $UrlRequest$NullableType; + return other.runtimeType == ($UrlRequest$NullableType$) && + other is $UrlRequest$NullableType$; } } -final class $UrlRequest$Type extends jni$_.JObjType { +final class $UrlRequest$Type$ extends jni$_.JType { @jni$_.internal - const $UrlRequest$Type(); + const $UrlRequest$Type$(); @jni$_.internal @core$_.override @@ -5070,23 +5112,24 @@ final class $UrlRequest$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 $UrlRequest$NullableType(); + jni$_.JType get nullableType => + const $UrlRequest$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($UrlRequest$Type).hashCode; + int get hashCode => ($UrlRequest$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlRequest$Type) && other is $UrlRequest$Type; + return other.runtimeType == ($UrlRequest$Type$) && + other is $UrlRequest$Type$; } } @@ -5094,7 +5137,7 @@ final class $UrlRequest$Type extends jni$_.JObjType { class UrlResponseInfo$HeaderBlock extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UrlResponseInfo$HeaderBlock.fromReference( @@ -5106,8 +5149,12 @@ class UrlResponseInfo$HeaderBlock extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/UrlResponseInfo$HeaderBlock'); /// The type which includes information such as the signature of this class. - static const nullableType = $UrlResponseInfo$HeaderBlock$NullableType(); - static const type = $UrlResponseInfo$HeaderBlock$Type(); + static const jni$_.JType nullableType = + $UrlResponseInfo$HeaderBlock$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = + $UrlResponseInfo$HeaderBlock$Type$(); static final _id_getAsList = _class.instanceMethodId( r'getAsList', r'()Ljava/util/List;', @@ -5130,8 +5177,8 @@ class UrlResponseInfo$HeaderBlock extends jni$_.JObject { jni$_.JList? getAsList() { return _getAsList(reference.pointer, _id_getAsList as jni$_.JMethodIDPtr) .object?>( - const jni$_.JListNullableType( - jni$_.JObjectNullableType())); + const jni$_.$JList$NullableType$( + jni$_.$JObject$NullableType$())); } static final _id_getAsMap = _class.instanceMethodId( @@ -5156,18 +5203,18 @@ class UrlResponseInfo$HeaderBlock extends jni$_.JObject { jni$_.JMap?>? getAsMap() { return _getAsMap(reference.pointer, _id_getAsMap as jni$_.JMethodIDPtr) .object?>?>( - const jni$_ - .JMapNullableType?>( - jni$_.JStringNullableType(), - jni$_.JListNullableType( - jni$_.JStringNullableType()))); + const jni$_.$JMap$NullableType$?>( + jni$_.$JString$NullableType$(), + jni$_.$JList$NullableType$( + jni$_.$JString$NullableType$()))); } } -final class $UrlResponseInfo$HeaderBlock$NullableType - extends jni$_.JObjType { +final class $UrlResponseInfo$HeaderBlock$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UrlResponseInfo$HeaderBlock$NullableType(); + const $UrlResponseInfo$HeaderBlock$NullableType$(); @jni$_.internal @core$_.override @@ -5183,30 +5230,30 @@ final class $UrlResponseInfo$HeaderBlock$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 => ($UrlResponseInfo$HeaderBlock$NullableType).hashCode; + int get hashCode => ($UrlResponseInfo$HeaderBlock$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlResponseInfo$HeaderBlock$NullableType) && - other is $UrlResponseInfo$HeaderBlock$NullableType; + return other.runtimeType == ($UrlResponseInfo$HeaderBlock$NullableType$) && + other is $UrlResponseInfo$HeaderBlock$NullableType$; } } -final class $UrlResponseInfo$HeaderBlock$Type - extends jni$_.JObjType { +final class $UrlResponseInfo$HeaderBlock$Type$ + extends jni$_.JType { @jni$_.internal - const $UrlResponseInfo$HeaderBlock$Type(); + const $UrlResponseInfo$HeaderBlock$Type$(); @jni$_.internal @core$_.override @@ -5220,24 +5267,24 @@ final class $UrlResponseInfo$HeaderBlock$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 $UrlResponseInfo$HeaderBlock$NullableType(); + jni$_.JType get nullableType => + const $UrlResponseInfo$HeaderBlock$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($UrlResponseInfo$HeaderBlock$Type).hashCode; + int get hashCode => ($UrlResponseInfo$HeaderBlock$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlResponseInfo$HeaderBlock$Type) && - other is $UrlResponseInfo$HeaderBlock$Type; + return other.runtimeType == ($UrlResponseInfo$HeaderBlock$Type$) && + other is $UrlResponseInfo$HeaderBlock$Type$; } } @@ -5245,7 +5292,7 @@ final class $UrlResponseInfo$HeaderBlock$Type class UrlResponseInfo extends jni$_.JObject { @jni$_.internal @core$_.override - final jni$_.JObjType $type; + final jni$_.JType $type; @jni$_.internal UrlResponseInfo.fromReference( @@ -5257,8 +5304,11 @@ class UrlResponseInfo extends jni$_.JObject { jni$_.JClass.forName(r'org/chromium/net/UrlResponseInfo'); /// The type which includes information such as the signature of this class. - static const nullableType = $UrlResponseInfo$NullableType(); - static const type = $UrlResponseInfo$Type(); + static const jni$_.JType nullableType = + $UrlResponseInfo$NullableType$(); + + /// The type which includes information such as the signature of this class. + static const jni$_.JType type = $UrlResponseInfo$Type$(); static final _id_getUrl = _class.instanceMethodId( r'getUrl', r'()Ljava/lang/String;', @@ -5280,7 +5330,7 @@ class UrlResponseInfo extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getUrl() { return _getUrl(reference.pointer, _id_getUrl as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getUrlChain = _class.instanceMethodId( @@ -5306,8 +5356,8 @@ class UrlResponseInfo extends jni$_.JObject { return _getUrlChain( reference.pointer, _id_getUrlChain as jni$_.JMethodIDPtr) .object?>( - const jni$_.JListNullableType( - jni$_.JStringNullableType())); + const jni$_.$JList$NullableType$( + jni$_.$JString$NullableType$())); } static final _id_getHttpStatusCode = _class.instanceMethodId( @@ -5356,7 +5406,7 @@ class UrlResponseInfo extends jni$_.JObject { jni$_.JString? getHttpStatusText() { return _getHttpStatusText( reference.pointer, _id_getHttpStatusText as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getAllHeadersAsList = _class.instanceMethodId( @@ -5382,8 +5432,8 @@ class UrlResponseInfo extends jni$_.JObject { return _getAllHeadersAsList( reference.pointer, _id_getAllHeadersAsList as jni$_.JMethodIDPtr) .object?>( - const jni$_.JListNullableType( - jni$_.JObjectNullableType())); + const jni$_.$JList$NullableType$( + jni$_.$JObject$NullableType$())); } static final _id_getAllHeaders = _class.instanceMethodId( @@ -5409,11 +5459,11 @@ class UrlResponseInfo extends jni$_.JObject { return _getAllHeaders( reference.pointer, _id_getAllHeaders as jni$_.JMethodIDPtr) .object?>?>( - const jni$_ - .JMapNullableType?>( - jni$_.JStringNullableType(), - jni$_.JListNullableType( - jni$_.JStringNullableType()))); + const jni$_.$JMap$NullableType$?>( + jni$_.$JString$NullableType$(), + jni$_.$JList$NullableType$( + jni$_.$JString$NullableType$()))); } static final _id_wasCached = _class.instanceMethodId( @@ -5461,7 +5511,7 @@ class UrlResponseInfo extends jni$_.JObject { jni$_.JString? getNegotiatedProtocol() { return _getNegotiatedProtocol( reference.pointer, _id_getNegotiatedProtocol as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getProxyServer = _class.instanceMethodId( @@ -5486,7 +5536,7 @@ class UrlResponseInfo extends jni$_.JObject { jni$_.JString? getProxyServer() { return _getProxyServer( reference.pointer, _id_getProxyServer as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + .object(const jni$_.$JString$NullableType$()); } static final _id_getReceivedByteCount = _class.instanceMethodId( @@ -5514,10 +5564,10 @@ class UrlResponseInfo extends jni$_.JObject { } } -final class $UrlResponseInfo$NullableType - extends jni$_.JObjType { +final class $UrlResponseInfo$NullableType$ + extends jni$_.JType { @jni$_.internal - const $UrlResponseInfo$NullableType(); + const $UrlResponseInfo$NullableType$(); @jni$_.internal @core$_.override @@ -5532,29 +5582,29 @@ final class $UrlResponseInfo$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 => ($UrlResponseInfo$NullableType).hashCode; + int get hashCode => ($UrlResponseInfo$NullableType$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlResponseInfo$NullableType) && - other is $UrlResponseInfo$NullableType; + return other.runtimeType == ($UrlResponseInfo$NullableType$) && + other is $UrlResponseInfo$NullableType$; } } -final class $UrlResponseInfo$Type extends jni$_.JObjType { +final class $UrlResponseInfo$Type$ extends jni$_.JType { @jni$_.internal - const $UrlResponseInfo$Type(); + const $UrlResponseInfo$Type$(); @jni$_.internal @core$_.override @@ -5568,23 +5618,23 @@ final class $UrlResponseInfo$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 $UrlResponseInfo$NullableType(); + jni$_.JType get nullableType => + const $UrlResponseInfo$NullableType$(); @jni$_.internal @core$_.override final superCount = 1; @core$_.override - int get hashCode => ($UrlResponseInfo$Type).hashCode; + int get hashCode => ($UrlResponseInfo$Type$).hashCode; @core$_.override bool operator ==(Object other) { - return other.runtimeType == ($UrlResponseInfo$Type) && - other is $UrlResponseInfo$Type; + return other.runtimeType == ($UrlResponseInfo$Type$) && + other is $UrlResponseInfo$Type$; } } diff --git a/pkgs/cronet_http/pubspec.yaml b/pkgs/cronet_http/pubspec.yaml index 986b50b1dd..f227f50850 100644 --- a/pkgs/cronet_http/pubspec.yaml +++ b/pkgs/cronet_http/pubspec.yaml @@ -13,11 +13,11 @@ dependencies: sdk: flutter http: ^1.5.0 http_profile: ^0.1.0 - jni: ^0.14.2 + jni: ^0.15.0 dev_dependencies: dart_flutter_team_lints: ^3.0.0 - jnigen: ^0.14.2 + jnigen: ^0.15.0 xml: ^6.1.0 yaml_edit: ^2.0.3