Files
k3vinb5_aniyomi_bridge/lib/jmodels/jschapter.dart

1005 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.source.model.SChapter$Companion`
class SChapter$Companion extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<SChapter$Companion> $type;
@jni$_.internal
SChapter$Companion.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/source/model/SChapter$Companion',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $SChapter$Companion$NullableType();
static const type = $SChapter$Companion$Type();
static final _id_create = _class.instanceMethodId(
r'create',
r'()Leu/kanade/tachiyomi/source/model/SChapter;',
);
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.source.model.SChapter create()`
/// The returned object must be released after use, by calling the [release] method.
JSChapter create() {
return _create(
reference.pointer,
_id_create as jni$_.JMethodIDPtr,
).object<JSChapter>(const $SChapter$Type());
}
}
final class $SChapter$Companion$NullableType
extends jni$_.JObjType<SChapter$Companion?> {
@jni$_.internal
const $SChapter$Companion$NullableType();
@jni$_.internal
@core$_.override
String get signature =>
r'Leu/kanade/tachiyomi/source/model/SChapter$Companion;';
@jni$_.internal
@core$_.override
SChapter$Companion? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : SChapter$Companion.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
@jni$_.internal
@core$_.override
jni$_.JObjType<SChapter$Companion?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SChapter$Companion$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SChapter$Companion$NullableType) &&
other is $SChapter$Companion$NullableType;
}
}
final class $SChapter$Companion$Type
extends jni$_.JObjType<SChapter$Companion> {
@jni$_.internal
const $SChapter$Companion$Type();
@jni$_.internal
@core$_.override
String get signature =>
r'Leu/kanade/tachiyomi/source/model/SChapter$Companion;';
@jni$_.internal
@core$_.override
SChapter$Companion fromReference(jni$_.JReference reference) =>
SChapter$Companion.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
@jni$_.internal
@core$_.override
jni$_.JObjType<SChapter$Companion?> get nullableType =>
const $SChapter$Companion$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SChapter$Companion$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SChapter$Companion$Type) &&
other is $SChapter$Companion$Type;
}
}
/// from: `eu.kanade.tachiyomi.source.model.SChapter$DefaultImpls`
class SChapter$DefaultImpls extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<SChapter$DefaultImpls> $type;
@jni$_.internal
SChapter$DefaultImpls.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/source/model/SChapter$DefaultImpls',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $SChapter$DefaultImpls$NullableType();
static const type = $SChapter$DefaultImpls$Type();
static final _id_copyFrom = _class.staticMethodId(
r'copyFrom',
r'(Leu/kanade/tachiyomi/source/model/SChapter;Leu/kanade/tachiyomi/source/model/SChapter;)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.source.model.SChapter sChapter, eu.kanade.tachiyomi.source.model.SChapter sChapter1)`
static void copyFrom(JSChapter sChapter, JSChapter sChapter1) {
final _$sChapter = sChapter.reference;
final _$sChapter1 = sChapter1.reference;
_copyFrom(
_class.reference.pointer,
_id_copyFrom as jni$_.JMethodIDPtr,
_$sChapter.pointer,
_$sChapter1.pointer,
).check();
}
}
final class $SChapter$DefaultImpls$NullableType
extends jni$_.JObjType<SChapter$DefaultImpls?> {
@jni$_.internal
const $SChapter$DefaultImpls$NullableType();
@jni$_.internal
@core$_.override
String get signature =>
r'Leu/kanade/tachiyomi/source/model/SChapter$DefaultImpls;';
@jni$_.internal
@core$_.override
SChapter$DefaultImpls? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : SChapter$DefaultImpls.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<SChapter$DefaultImpls?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SChapter$DefaultImpls$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SChapter$DefaultImpls$NullableType) &&
other is $SChapter$DefaultImpls$NullableType;
}
}
final class $SChapter$DefaultImpls$Type
extends jni$_.JObjType<SChapter$DefaultImpls> {
@jni$_.internal
const $SChapter$DefaultImpls$Type();
@jni$_.internal
@core$_.override
String get signature =>
r'Leu/kanade/tachiyomi/source/model/SChapter$DefaultImpls;';
@jni$_.internal
@core$_.override
SChapter$DefaultImpls fromReference(jni$_.JReference reference) =>
SChapter$DefaultImpls.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<SChapter$DefaultImpls?> get nullableType =>
const $SChapter$DefaultImpls$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SChapter$DefaultImpls$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SChapter$DefaultImpls$Type) &&
other is $SChapter$DefaultImpls$Type;
}
}
/// from: `eu.kanade.tachiyomi.source.model.SChapter`
class JSChapter extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<JSChapter> $type;
@jni$_.internal
JSChapter.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/source/model/SChapter',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $SChapter$NullableType();
static const type = $SChapter$Type();
static final _id_Companion = _class.staticFieldId(
r'Companion',
r'Leu/kanade/tachiyomi/source/model/SChapter$Companion;',
);
/// from: `static public final eu.kanade.tachiyomi.source.model.SChapter$Companion Companion`
/// The returned object must be released after use, by calling the [release] method.
static SChapter$Companion get Companion =>
_id_Companion.get(_class, const $SChapter$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_getChapter_number = _class.instanceMethodId(
r'getChapter_number',
r'()F',
);
static final _getChapter_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 getChapter_number()`
double getChapter_number() {
return _getChapter_number(
reference.pointer,
_id_getChapter_number as jni$_.JMethodIDPtr,
).float;
}
static final _id_setChapter_number = _class.instanceMethodId(
r'setChapter_number',
r'(F)V',
);
static final _setChapter_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 setChapter_number(float f)`
void setChapter_number(double f) {
_setChapter_number(
reference.pointer,
_id_setChapter_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/source/model/SChapter;)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.source.model.SChapter sChapter)`
void copyFrom(JSChapter sChapter) {
final _$sChapter = sChapter.reference;
_copyFrom(
reference.pointer,
_id_copyFrom as jni$_.JMethodIDPtr,
_$sChapter.pointer,
).check();
}
/// Maps a specific port to the implemented interface.
static final core$_.Map<int, $SChapter> _$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'getChapter_number()F') {
final $r = _$impls[$p]!.getChapter_number();
return jni$_.JFloat($r).reference.toPointer();
}
if ($d == r'setChapter_number(F)V') {
_$impls[$p]!.setChapter_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/source/model/SChapter;)V') {
_$impls[$p]!.copyFrom(
$a![0]!.as(const $SChapter$Type(), releaseOriginal: true),
);
return jni$_.nullptr;
}
} catch (e) {
return jni$_.ProtectedJniExtensions.newDartException(e);
}
return jni$_.nullptr;
}
static void implementIn(jni$_.JImplementer implementer, $SChapter $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.source.model.SChapter',
$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.setChapter_number$async) r'setChapter_number(F)V',
if ($impl.setScanlator$async) r'setScanlator(Ljava/lang/String;)V',
if ($impl.copyFrom$async)
r'copyFrom(Leu/kanade/tachiyomi/source/model/SChapter;)V',
],
);
final $a = $p.sendPort.nativePort;
_$impls[$a] = $impl;
}
factory JSChapter.implement($SChapter $impl) {
final $i = jni$_.JImplementer();
implementIn($i, $impl);
return JSChapter.fromReference($i.implementReference());
}
}
abstract base mixin class $SChapter {
factory $SChapter({
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() getChapter_number,
required void Function(double f) setChapter_number,
bool setChapter_number$async,
required jni$_.JString? Function() getScanlator,
required void Function(jni$_.JString? string) setScanlator,
bool setScanlator$async,
required void Function(JSChapter sChapter) copyFrom,
bool copyFrom$async,
}) = _$SChapter;
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 getChapter_number();
void setChapter_number(double f);
bool get setChapter_number$async => false;
jni$_.JString? getScanlator();
void setScanlator(jni$_.JString? string);
bool get setScanlator$async => false;
void copyFrom(JSChapter sChapter);
bool get copyFrom$async => false;
}
final class _$SChapter with $SChapter {
_$SChapter({
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() getChapter_number,
required void Function(double f) setChapter_number,
this.setChapter_number$async = false,
required jni$_.JString? Function() getScanlator,
required void Function(jni$_.JString? string) setScanlator,
this.setScanlator$async = false,
required void Function(JSChapter sChapter) copyFrom,
this.copyFrom$async = false,
}) : _getUrl = getUrl,
_setUrl = setUrl,
_getName = getName,
_setName = setName,
_getDate_upload = getDate_upload,
_setDate_upload = setDate_upload,
_getChapter_number = getChapter_number,
_setChapter_number = setChapter_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() _getChapter_number;
final void Function(double f) _setChapter_number;
final bool setChapter_number$async;
final jni$_.JString? Function() _getScanlator;
final void Function(jni$_.JString? string) _setScanlator;
final bool setScanlator$async;
final void Function(JSChapter sChapter) _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 getChapter_number() {
return _getChapter_number();
}
void setChapter_number(double f) {
return _setChapter_number(f);
}
jni$_.JString? getScanlator() {
return _getScanlator();
}
void setScanlator(jni$_.JString? string) {
return _setScanlator(string);
}
void copyFrom(JSChapter sChapter) {
return _copyFrom(sChapter);
}
}
final class $SChapter$NullableType extends jni$_.JObjType<JSChapter?> {
@jni$_.internal
const $SChapter$NullableType();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/source/model/SChapter;';
@jni$_.internal
@core$_.override
JSChapter? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : JSChapter.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<JSChapter?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SChapter$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SChapter$NullableType) &&
other is $SChapter$NullableType;
}
}
final class $SChapter$Type extends jni$_.JObjType<JSChapter> {
@jni$_.internal
const $SChapter$Type();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/source/model/SChapter;';
@jni$_.internal
@core$_.override
JSChapter fromReference(jni$_.JReference reference) =>
JSChapter.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<JSChapter?> get nullableType => const $SChapter$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($SChapter$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($SChapter$Type) && other is $SChapter$Type;
}
}