Files
k3vinb5_aniyomi_bridge/lib/jmodels/jsepisode.dart
Kevin Rodrigues Borges 9152a4dad9 Finish basic functionality
2025-09-16 06:02:41 +01:00

1006 lines
30 KiB
Dart

// AUTO GENERATED BY JNIGEN 0.14.2. DO NOT EDIT!
// ignore_for_file: annotate_overrides
// ignore_for_file: argument_type_not_assignable
// ignore_for_file: camel_case_extensions
// ignore_for_file: camel_case_types
// ignore_for_file: constant_identifier_names
// ignore_for_file: comment_references
// ignore_for_file: doc_directive_unknown
// ignore_for_file: file_names
// ignore_for_file: inference_failure_on_untyped_parameter
// ignore_for_file: invalid_internal_annotation
// ignore_for_file: invalid_use_of_internal_member
// ignore_for_file: library_prefixes
// ignore_for_file: lines_longer_than_80_chars
// ignore_for_file: no_leading_underscores_for_library_prefixes
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: non_constant_identifier_names
// ignore_for_file: only_throw_errors
// ignore_for_file: overridden_fields
// ignore_for_file: prefer_double_quotes
// ignore_for_file: unintended_html_in_doc_comment
// ignore_for_file: unnecessary_cast
// ignore_for_file: unnecessary_non_null_assertion
// ignore_for_file: unnecessary_parenthesis
// ignore_for_file: unused_element
// ignore_for_file: unused_field
// ignore_for_file: unused_import
// ignore_for_file: unused_local_variable
// 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 'package:jni/_internal.dart' as jni$_;
import 'package:jni/jni.dart' as jni$_;
/// from: `eu.kanade.tachiyomi.animesource.model.SEpisode$Companion`
class SEpisode$Companion extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<SEpisode$Companion> $type;
@jni$_.internal
SEpisode$Companion.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/animesource/model/SEpisode$Companion',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $SEpisode$Companion$NullableType();
static const type = $SEpisode$Companion$Type();
static final _id_create = _class.instanceMethodId(
r'create',
r'()Leu/kanade/tachiyomi/animesource/model/SEpisode;',
);
static final _create =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final eu.kanade.tachiyomi.animesource.model.SEpisode create()`
/// The returned object must be released after use, by calling the [release] method.
JSEpisode create() {
return _create(
reference.pointer,
_id_create as jni$_.JMethodIDPtr,
).object<JSEpisode>(const $SEpisode$Type());
}
}
final class $SEpisode$Companion$NullableType
extends jni$_.JObjType<SEpisode$Companion?> {
@jni$_.internal
const $SEpisode$Companion$NullableType();
@jni$_.internal
@core$_.override
String get signature =>
r'Leu/kanade/tachiyomi/animesource/model/SEpisode$Companion;';
@jni$_.internal
@core$_.override
SEpisode$Companion? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : SEpisode$Companion.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
@jni$_.internal
@core$_.override
jni$_.JObjType<SEpisode$Companion?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SEpisode$Companion$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SEpisode$Companion$NullableType) &&
other is $SEpisode$Companion$NullableType;
}
}
final class $SEpisode$Companion$Type
extends jni$_.JObjType<SEpisode$Companion> {
@jni$_.internal
const $SEpisode$Companion$Type();
@jni$_.internal
@core$_.override
String get signature =>
r'Leu/kanade/tachiyomi/animesource/model/SEpisode$Companion;';
@jni$_.internal
@core$_.override
SEpisode$Companion fromReference(jni$_.JReference reference) =>
SEpisode$Companion.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
@jni$_.internal
@core$_.override
jni$_.JObjType<SEpisode$Companion?> get nullableType =>
const $SEpisode$Companion$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SEpisode$Companion$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SEpisode$Companion$Type) &&
other is $SEpisode$Companion$Type;
}
}
/// from: `eu.kanade.tachiyomi.animesource.model.SEpisode$DefaultImpls`
class SEpisode$DefaultImpls extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<SEpisode$DefaultImpls> $type;
@jni$_.internal
SEpisode$DefaultImpls.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/animesource/model/SEpisode$DefaultImpls',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $SEpisode$DefaultImpls$NullableType();
static const type = $SEpisode$DefaultImpls$Type();
static final _id_copyFrom = _class.staticMethodId(
r'copyFrom',
r'(Leu/kanade/tachiyomi/animesource/model/SEpisode;Leu/kanade/tachiyomi/animesource/model/SEpisode;)V',
);
static final _copyFrom =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<
(jni$_.Pointer<jni$_.Void>, jni$_.Pointer<jni$_.Void>)
>,
)
>
>('globalEnv_CallStaticVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `static public void copyFrom(eu.kanade.tachiyomi.animesource.model.SEpisode sEpisode, eu.kanade.tachiyomi.animesource.model.SEpisode sEpisode1)`
static void copyFrom(JSEpisode sEpisode, JSEpisode sEpisode1) {
final _$sEpisode = sEpisode.reference;
final _$sEpisode1 = sEpisode1.reference;
_copyFrom(
_class.reference.pointer,
_id_copyFrom as jni$_.JMethodIDPtr,
_$sEpisode.pointer,
_$sEpisode1.pointer,
).check();
}
}
final class $SEpisode$DefaultImpls$NullableType
extends jni$_.JObjType<SEpisode$DefaultImpls?> {
@jni$_.internal
const $SEpisode$DefaultImpls$NullableType();
@jni$_.internal
@core$_.override
String get signature =>
r'Leu/kanade/tachiyomi/animesource/model/SEpisode$DefaultImpls;';
@jni$_.internal
@core$_.override
SEpisode$DefaultImpls? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : SEpisode$DefaultImpls.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<SEpisode$DefaultImpls?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SEpisode$DefaultImpls$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SEpisode$DefaultImpls$NullableType) &&
other is $SEpisode$DefaultImpls$NullableType;
}
}
final class $SEpisode$DefaultImpls$Type
extends jni$_.JObjType<SEpisode$DefaultImpls> {
@jni$_.internal
const $SEpisode$DefaultImpls$Type();
@jni$_.internal
@core$_.override
String get signature =>
r'Leu/kanade/tachiyomi/animesource/model/SEpisode$DefaultImpls;';
@jni$_.internal
@core$_.override
SEpisode$DefaultImpls fromReference(jni$_.JReference reference) =>
SEpisode$DefaultImpls.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<SEpisode$DefaultImpls?> get nullableType =>
const $SEpisode$DefaultImpls$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SEpisode$DefaultImpls$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SEpisode$DefaultImpls$Type) &&
other is $SEpisode$DefaultImpls$Type;
}
}
/// from: `eu.kanade.tachiyomi.animesource.model.SEpisode`
class JSEpisode extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<JSEpisode> $type;
@jni$_.internal
JSEpisode.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/animesource/model/SEpisode',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $SEpisode$NullableType();
static const type = $SEpisode$Type();
static final _id_Companion = _class.staticFieldId(
r'Companion',
r'Leu/kanade/tachiyomi/animesource/model/SEpisode$Companion;',
);
/// from: `static public final eu.kanade.tachiyomi.animesource.model.SEpisode$Companion Companion`
/// The returned object must be released after use, by calling the [release] method.
static SEpisode$Companion get Companion =>
_id_Companion.get(_class, const $SEpisode$Companion$Type());
static final _id_getUrl = _class.instanceMethodId(
r'getUrl',
r'()Ljava/lang/String;',
);
static final _getUrl =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public abstract java.lang.String getUrl()`
/// 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<jni$_.JString>(const jni$_.JStringType());
}
static final _id_setUrl = _class.instanceMethodId(
r'setUrl',
r'(Ljava/lang/String;)V',
);
static final _setUrl =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `public abstract void setUrl(java.lang.String string)`
void setUrl(jni$_.JString string) {
final _$string = string.reference;
_setUrl(
reference.pointer,
_id_setUrl as jni$_.JMethodIDPtr,
_$string.pointer,
).check();
}
static final _id_getName = _class.instanceMethodId(
r'getName',
r'()Ljava/lang/String;',
);
static final _getName =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public abstract java.lang.String getName()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JString getName() {
return _getName(
reference.pointer,
_id_getName as jni$_.JMethodIDPtr,
).object<jni$_.JString>(const jni$_.JStringType());
}
static final _id_setName = _class.instanceMethodId(
r'setName',
r'(Ljava/lang/String;)V',
);
static final _setName =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `public abstract void setName(java.lang.String string)`
void setName(jni$_.JString string) {
final _$string = string.reference;
_setName(
reference.pointer,
_id_setName as jni$_.JMethodIDPtr,
_$string.pointer,
).check();
}
static final _id_getDate_upload = _class.instanceMethodId(
r'getDate_upload',
r'()J',
);
static final _getDate_upload =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallLongMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public abstract long getDate_upload()`
int getDate_upload() {
return _getDate_upload(
reference.pointer,
_id_getDate_upload as jni$_.JMethodIDPtr,
).long;
}
static final _id_setDate_upload = _class.instanceMethodId(
r'setDate_upload',
r'(J)V',
);
static final _setDate_upload =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Int64,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
int,
)
>();
/// from: `public abstract void setDate_upload(long j)`
void setDate_upload(int j) {
_setDate_upload(
reference.pointer,
_id_setDate_upload as jni$_.JMethodIDPtr,
j,
).check();
}
static final _id_getEpisode_number = _class.instanceMethodId(
r'getEpisode_number',
r'()F',
);
static final _getEpisode_number =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallFloatMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public abstract float getEpisode_number()`
double getEpisode_number() {
return _getEpisode_number(
reference.pointer,
_id_getEpisode_number as jni$_.JMethodIDPtr,
).float;
}
static final _id_setEpisode_number = _class.instanceMethodId(
r'setEpisode_number',
r'(F)V',
);
static final _setEpisode_number =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Double,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
double,
)
>();
/// from: `public abstract void setEpisode_number(float f)`
void setEpisode_number(double f) {
_setEpisode_number(
reference.pointer,
_id_setEpisode_number as jni$_.JMethodIDPtr,
f,
).check();
}
static final _id_getScanlator = _class.instanceMethodId(
r'getScanlator',
r'()Ljava/lang/String;',
);
static final _getScanlator =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public abstract java.lang.String getScanlator()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JString? getScanlator() {
return _getScanlator(
reference.pointer,
_id_getScanlator as jni$_.JMethodIDPtr,
).object<jni$_.JString?>(const jni$_.JStringNullableType());
}
static final _id_setScanlator = _class.instanceMethodId(
r'setScanlator',
r'(Ljava/lang/String;)V',
);
static final _setScanlator =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `public abstract void setScanlator(java.lang.String string)`
void setScanlator(jni$_.JString? string) {
final _$string = string?.reference ?? jni$_.jNullReference;
_setScanlator(
reference.pointer,
_id_setScanlator as jni$_.JMethodIDPtr,
_$string.pointer,
).check();
}
static final _id_copyFrom = _class.instanceMethodId(
r'copyFrom',
r'(Leu/kanade/tachiyomi/animesource/model/SEpisode;)V',
);
static final _copyFrom =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `public abstract void copyFrom(eu.kanade.tachiyomi.animesource.model.SEpisode sEpisode)`
void copyFrom(JSEpisode sEpisode) {
final _$sEpisode = sEpisode.reference;
_copyFrom(
reference.pointer,
_id_copyFrom as jni$_.JMethodIDPtr,
_$sEpisode.pointer,
).check();
}
/// Maps a specific port to the implemented interface.
static final core$_.Map<int, $SEpisode> _$impls = {};
static jni$_.JObjectPtr _$invoke(
int port,
jni$_.JObjectPtr descriptor,
jni$_.JObjectPtr args,
) {
return _$invokeMethod(
port,
jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address),
);
}
static final jni$_.Pointer<
jni$_.NativeFunction<
jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)
>
>
_$invokePointer = jni$_.Pointer.fromFunction(_$invoke);
static jni$_.Pointer<jni$_.Void> _$invokeMethod(
int $p,
jni$_.MethodInvocation $i,
) {
try {
final $d = $i.methodDescriptor.toDartString(releaseOriginal: true);
final $a = $i.args;
if ($d == r'getUrl()Ljava/lang/String;') {
final $r = _$impls[$p]!.getUrl();
return ($r as jni$_.JObject?)
?.as(const jni$_.JObjectType())
.reference
.toPointer() ??
jni$_.nullptr;
}
if ($d == r'setUrl(Ljava/lang/String;)V') {
_$impls[$p]!.setUrl(
$a![0]!.as(const jni$_.JStringType(), releaseOriginal: true),
);
return jni$_.nullptr;
}
if ($d == r'getName()Ljava/lang/String;') {
final $r = _$impls[$p]!.getName();
return ($r as jni$_.JObject?)
?.as(const jni$_.JObjectType())
.reference
.toPointer() ??
jni$_.nullptr;
}
if ($d == r'setName(Ljava/lang/String;)V') {
_$impls[$p]!.setName(
$a![0]!.as(const jni$_.JStringType(), releaseOriginal: true),
);
return jni$_.nullptr;
}
if ($d == r'getDate_upload()J') {
final $r = _$impls[$p]!.getDate_upload();
return jni$_.JLong($r).reference.toPointer();
}
if ($d == r'setDate_upload(J)V') {
_$impls[$p]!.setDate_upload(
$a![0]!
.as(const jni$_.JLongType(), releaseOriginal: true)
.longValue(releaseOriginal: true),
);
return jni$_.nullptr;
}
if ($d == r'getEpisode_number()F') {
final $r = _$impls[$p]!.getEpisode_number();
return jni$_.JFloat($r).reference.toPointer();
}
if ($d == r'setEpisode_number(F)V') {
_$impls[$p]!.setEpisode_number(
$a![0]!
.as(const jni$_.JFloatType(), releaseOriginal: true)
.floatValue(releaseOriginal: true),
);
return jni$_.nullptr;
}
if ($d == r'getScanlator()Ljava/lang/String;') {
final $r = _$impls[$p]!.getScanlator();
return ($r as jni$_.JObject?)
?.as(const jni$_.JObjectType())
.reference
.toPointer() ??
jni$_.nullptr;
}
if ($d == r'setScanlator(Ljava/lang/String;)V') {
_$impls[$p]!.setScanlator(
$a![0]?.as(const jni$_.JStringType(), releaseOriginal: true),
);
return jni$_.nullptr;
}
if ($d ==
r'copyFrom(Leu/kanade/tachiyomi/animesource/model/SEpisode;)V') {
_$impls[$p]!.copyFrom(
$a![0]!.as(const $SEpisode$Type(), releaseOriginal: true),
);
return jni$_.nullptr;
}
} catch (e) {
return jni$_.ProtectedJniExtensions.newDartException(e);
}
return jni$_.nullptr;
}
static void implementIn(jni$_.JImplementer implementer, $SEpisode $impl) {
late final jni$_.RawReceivePort $p;
$p = jni$_.RawReceivePort(($m) {
if ($m == null) {
_$impls.remove($p.sendPort.nativePort);
$p.close();
return;
}
final $i = jni$_.MethodInvocation.fromMessage($m);
final $r = _$invokeMethod($p.sendPort.nativePort, $i);
jni$_.ProtectedJniExtensions.returnResult($i.result, $r);
});
implementer.add(
r'eu.kanade.tachiyomi.animesource.model.SEpisode',
$p,
_$invokePointer,
[
if ($impl.setUrl$async) r'setUrl(Ljava/lang/String;)V',
if ($impl.setName$async) r'setName(Ljava/lang/String;)V',
if ($impl.setDate_upload$async) r'setDate_upload(J)V',
if ($impl.setEpisode_number$async) r'setEpisode_number(F)V',
if ($impl.setScanlator$async) r'setScanlator(Ljava/lang/String;)V',
if ($impl.copyFrom$async)
r'copyFrom(Leu/kanade/tachiyomi/animesource/model/SEpisode;)V',
],
);
final $a = $p.sendPort.nativePort;
_$impls[$a] = $impl;
}
factory JSEpisode.implement($SEpisode $impl) {
final $i = jni$_.JImplementer();
implementIn($i, $impl);
return JSEpisode.fromReference($i.implementReference());
}
}
abstract base mixin class $SEpisode {
factory $SEpisode({
required jni$_.JString Function() getUrl,
required void Function(jni$_.JString string) setUrl,
bool setUrl$async,
required jni$_.JString Function() getName,
required void Function(jni$_.JString string) setName,
bool setName$async,
required int Function() getDate_upload,
required void Function(int j) setDate_upload,
bool setDate_upload$async,
required double Function() getEpisode_number,
required void Function(double f) setEpisode_number,
bool setEpisode_number$async,
required jni$_.JString? Function() getScanlator,
required void Function(jni$_.JString? string) setScanlator,
bool setScanlator$async,
required void Function(JSEpisode sEpisode) copyFrom,
bool copyFrom$async,
}) = _$SEpisode;
jni$_.JString getUrl();
void setUrl(jni$_.JString string);
bool get setUrl$async => false;
jni$_.JString getName();
void setName(jni$_.JString string);
bool get setName$async => false;
int getDate_upload();
void setDate_upload(int j);
bool get setDate_upload$async => false;
double getEpisode_number();
void setEpisode_number(double f);
bool get setEpisode_number$async => false;
jni$_.JString? getScanlator();
void setScanlator(jni$_.JString? string);
bool get setScanlator$async => false;
void copyFrom(JSEpisode sEpisode);
bool get copyFrom$async => false;
}
final class _$SEpisode with $SEpisode {
_$SEpisode({
required jni$_.JString Function() getUrl,
required void Function(jni$_.JString string) setUrl,
this.setUrl$async = false,
required jni$_.JString Function() getName,
required void Function(jni$_.JString string) setName,
this.setName$async = false,
required int Function() getDate_upload,
required void Function(int j) setDate_upload,
this.setDate_upload$async = false,
required double Function() getEpisode_number,
required void Function(double f) setEpisode_number,
this.setEpisode_number$async = false,
required jni$_.JString? Function() getScanlator,
required void Function(jni$_.JString? string) setScanlator,
this.setScanlator$async = false,
required void Function(JSEpisode sEpisode) copyFrom,
this.copyFrom$async = false,
}) : _getUrl = getUrl,
_setUrl = setUrl,
_getName = getName,
_setName = setName,
_getDate_upload = getDate_upload,
_setDate_upload = setDate_upload,
_getEpisode_number = getEpisode_number,
_setEpisode_number = setEpisode_number,
_getScanlator = getScanlator,
_setScanlator = setScanlator,
_copyFrom = copyFrom;
final jni$_.JString Function() _getUrl;
final void Function(jni$_.JString string) _setUrl;
final bool setUrl$async;
final jni$_.JString Function() _getName;
final void Function(jni$_.JString string) _setName;
final bool setName$async;
final int Function() _getDate_upload;
final void Function(int j) _setDate_upload;
final bool setDate_upload$async;
final double Function() _getEpisode_number;
final void Function(double f) _setEpisode_number;
final bool setEpisode_number$async;
final jni$_.JString? Function() _getScanlator;
final void Function(jni$_.JString? string) _setScanlator;
final bool setScanlator$async;
final void Function(JSEpisode sEpisode) _copyFrom;
final bool copyFrom$async;
jni$_.JString getUrl() {
return _getUrl();
}
void setUrl(jni$_.JString string) {
return _setUrl(string);
}
jni$_.JString getName() {
return _getName();
}
void setName(jni$_.JString string) {
return _setName(string);
}
int getDate_upload() {
return _getDate_upload();
}
void setDate_upload(int j) {
return _setDate_upload(j);
}
double getEpisode_number() {
return _getEpisode_number();
}
void setEpisode_number(double f) {
return _setEpisode_number(f);
}
jni$_.JString? getScanlator() {
return _getScanlator();
}
void setScanlator(jni$_.JString? string) {
return _setScanlator(string);
}
void copyFrom(JSEpisode sEpisode) {
return _copyFrom(sEpisode);
}
}
final class $SEpisode$NullableType extends jni$_.JObjType<JSEpisode?> {
@jni$_.internal
const $SEpisode$NullableType();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/animesource/model/SEpisode;';
@jni$_.internal
@core$_.override
JSEpisode? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : JSEpisode.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<JSEpisode?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SEpisode$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SEpisode$NullableType) &&
other is $SEpisode$NullableType;
}
}
final class $SEpisode$Type extends jni$_.JObjType<JSEpisode> {
@jni$_.internal
const $SEpisode$Type();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/animesource/model/SEpisode;';
@jni$_.internal
@core$_.override
JSEpisode fromReference(jni$_.JReference reference) =>
JSEpisode.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<JSEpisode?> get nullableType => const $SEpisode$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SEpisode$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SEpisode$Type) && other is $SEpisode$Type;
}
}