1820 lines
56 KiB
Dart
1820 lines
56 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.SAnime$Companion`
|
|
class SAnime$Companion extends jni$_.JObject {
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final jni$_.JObjType<SAnime$Companion> $type;
|
|
|
|
@jni$_.internal
|
|
SAnime$Companion.fromReference(jni$_.JReference reference)
|
|
: $type = type,
|
|
super.fromReference(reference);
|
|
|
|
static final _class = jni$_.JClass.forName(
|
|
r'eu/kanade/tachiyomi/animesource/model/SAnime$Companion',
|
|
);
|
|
|
|
/// The type which includes information such as the signature of this class.
|
|
static const nullableType = $SAnime$Companion$NullableType();
|
|
static const type = $SAnime$Companion$Type();
|
|
|
|
/// from: `static public final int UNKNOWN`
|
|
static const UNKNOWN = 0;
|
|
|
|
/// from: `static public final int ONGOING`
|
|
static const ONGOING = 1;
|
|
|
|
/// from: `static public final int COMPLETED`
|
|
static const COMPLETED = 2;
|
|
|
|
/// from: `static public final int LICENSED`
|
|
static const LICENSED = 3;
|
|
|
|
/// from: `static public final int PUBLISHING_FINISHED`
|
|
static const PUBLISHING_FINISHED = 4;
|
|
|
|
/// from: `static public final int CANCELLED`
|
|
static const CANCELLED = 5;
|
|
|
|
/// from: `static public final int ON_HIATUS`
|
|
static const ON_HIATUS = 6;
|
|
static final _id_create = _class.instanceMethodId(
|
|
r'create',
|
|
r'()Leu/kanade/tachiyomi/animesource/model/SAnime;',
|
|
);
|
|
|
|
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.SAnime create()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
JSAnime create() {
|
|
return _create(
|
|
reference.pointer,
|
|
_id_create as jni$_.JMethodIDPtr,
|
|
).object<JSAnime>(const $SAnime$Type());
|
|
}
|
|
}
|
|
|
|
final class $SAnime$Companion$NullableType
|
|
extends jni$_.JObjType<SAnime$Companion?> {
|
|
@jni$_.internal
|
|
const $SAnime$Companion$NullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
String get signature =>
|
|
r'Leu/kanade/tachiyomi/animesource/model/SAnime$Companion;';
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
SAnime$Companion? fromReference(jni$_.JReference reference) =>
|
|
reference.isNull ? null : SAnime$Companion.fromReference(reference);
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType get superType => const jni$_.JObjectType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType<SAnime$Companion?> get nullableType => this;
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final superCount = 1;
|
|
|
|
@core$_.override
|
|
int get hashCode => ($SAnime$Companion$NullableType).hashCode;
|
|
|
|
@core$_.override
|
|
bool operator ==(Object other) {
|
|
return other.runtimeType == ($SAnime$Companion$NullableType) &&
|
|
other is $SAnime$Companion$NullableType;
|
|
}
|
|
}
|
|
|
|
final class $SAnime$Companion$Type extends jni$_.JObjType<SAnime$Companion> {
|
|
@jni$_.internal
|
|
const $SAnime$Companion$Type();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
String get signature =>
|
|
r'Leu/kanade/tachiyomi/animesource/model/SAnime$Companion;';
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
SAnime$Companion fromReference(jni$_.JReference reference) =>
|
|
SAnime$Companion.fromReference(reference);
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType get superType => const jni$_.JObjectType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType<SAnime$Companion?> get nullableType =>
|
|
const $SAnime$Companion$NullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final superCount = 1;
|
|
|
|
@core$_.override
|
|
int get hashCode => ($SAnime$Companion$Type).hashCode;
|
|
|
|
@core$_.override
|
|
bool operator ==(Object other) {
|
|
return other.runtimeType == ($SAnime$Companion$Type) &&
|
|
other is $SAnime$Companion$Type;
|
|
}
|
|
}
|
|
|
|
/// from: `eu.kanade.tachiyomi.animesource.model.SAnime$DefaultImpls`
|
|
class SAnime$DefaultImpls extends jni$_.JObject {
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final jni$_.JObjType<SAnime$DefaultImpls> $type;
|
|
|
|
@jni$_.internal
|
|
SAnime$DefaultImpls.fromReference(jni$_.JReference reference)
|
|
: $type = type,
|
|
super.fromReference(reference);
|
|
|
|
static final _class = jni$_.JClass.forName(
|
|
r'eu/kanade/tachiyomi/animesource/model/SAnime$DefaultImpls',
|
|
);
|
|
|
|
/// The type which includes information such as the signature of this class.
|
|
static const nullableType = $SAnime$DefaultImpls$NullableType();
|
|
static const type = $SAnime$DefaultImpls$Type();
|
|
static final _id_getGenres = _class.staticMethodId(
|
|
r'getGenres',
|
|
r'(Leu/kanade/tachiyomi/animesource/model/SAnime;)Ljava/util/List;',
|
|
);
|
|
|
|
static final _getGenres =
|
|
jni$_.ProtectedJniExtensions.lookup<
|
|
jni$_.NativeFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
|
|
)
|
|
>
|
|
>('globalEnv_CallStaticObjectMethod')
|
|
.asFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
jni$_.Pointer<jni$_.Void>,
|
|
)
|
|
>();
|
|
|
|
/// from: `static public java.util.List<java.lang.String> getGenres(eu.kanade.tachiyomi.animesource.model.SAnime sAnime)`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
static jni$_.JList<jni$_.JString?>? getGenres(JSAnime sAnime) {
|
|
final _$sAnime = sAnime.reference;
|
|
return _getGenres(
|
|
_class.reference.pointer,
|
|
_id_getGenres as jni$_.JMethodIDPtr,
|
|
_$sAnime.pointer,
|
|
).object<jni$_.JList<jni$_.JString?>?>(
|
|
const jni$_.JListNullableType<jni$_.JString?>(
|
|
jni$_.JStringNullableType(),
|
|
),
|
|
);
|
|
}
|
|
|
|
static final _id_copy = _class.staticMethodId(
|
|
r'copy',
|
|
r'(Leu/kanade/tachiyomi/animesource/model/SAnime;)Leu/kanade/tachiyomi/animesource/model/SAnime;',
|
|
);
|
|
|
|
static final _copy =
|
|
jni$_.ProtectedJniExtensions.lookup<
|
|
jni$_.NativeFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
|
|
)
|
|
>
|
|
>('globalEnv_CallStaticObjectMethod')
|
|
.asFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
jni$_.Pointer<jni$_.Void>,
|
|
)
|
|
>();
|
|
|
|
/// from: `static public eu.kanade.tachiyomi.animesource.model.SAnime copy(eu.kanade.tachiyomi.animesource.model.SAnime sAnime)`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
static JSAnime copy(JSAnime sAnime) {
|
|
final _$sAnime = sAnime.reference;
|
|
return _copy(
|
|
_class.reference.pointer,
|
|
_id_copy as jni$_.JMethodIDPtr,
|
|
_$sAnime.pointer,
|
|
).object<JSAnime>(const $SAnime$Type());
|
|
}
|
|
}
|
|
|
|
final class $SAnime$DefaultImpls$NullableType
|
|
extends jni$_.JObjType<SAnime$DefaultImpls?> {
|
|
@jni$_.internal
|
|
const $SAnime$DefaultImpls$NullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
String get signature =>
|
|
r'Leu/kanade/tachiyomi/animesource/model/SAnime$DefaultImpls;';
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
SAnime$DefaultImpls? fromReference(jni$_.JReference reference) =>
|
|
reference.isNull ? null : SAnime$DefaultImpls.fromReference(reference);
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType<SAnime$DefaultImpls?> get nullableType => this;
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final superCount = 1;
|
|
|
|
@core$_.override
|
|
int get hashCode => ($SAnime$DefaultImpls$NullableType).hashCode;
|
|
|
|
@core$_.override
|
|
bool operator ==(Object other) {
|
|
return other.runtimeType == ($SAnime$DefaultImpls$NullableType) &&
|
|
other is $SAnime$DefaultImpls$NullableType;
|
|
}
|
|
}
|
|
|
|
final class $SAnime$DefaultImpls$Type
|
|
extends jni$_.JObjType<SAnime$DefaultImpls> {
|
|
@jni$_.internal
|
|
const $SAnime$DefaultImpls$Type();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
String get signature =>
|
|
r'Leu/kanade/tachiyomi/animesource/model/SAnime$DefaultImpls;';
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
SAnime$DefaultImpls fromReference(jni$_.JReference reference) =>
|
|
SAnime$DefaultImpls.fromReference(reference);
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType<SAnime$DefaultImpls?> get nullableType =>
|
|
const $SAnime$DefaultImpls$NullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final superCount = 1;
|
|
|
|
@core$_.override
|
|
int get hashCode => ($SAnime$DefaultImpls$Type).hashCode;
|
|
|
|
@core$_.override
|
|
bool operator ==(Object other) {
|
|
return other.runtimeType == ($SAnime$DefaultImpls$Type) &&
|
|
other is $SAnime$DefaultImpls$Type;
|
|
}
|
|
}
|
|
|
|
/// from: `eu.kanade.tachiyomi.animesource.model.SAnime`
|
|
class JSAnime extends jni$_.JObject {
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final jni$_.JObjType<JSAnime> $type;
|
|
|
|
@jni$_.internal
|
|
JSAnime.fromReference(jni$_.JReference reference)
|
|
: $type = type,
|
|
super.fromReference(reference);
|
|
|
|
static final _class = jni$_.JClass.forName(
|
|
r'eu/kanade/tachiyomi/animesource/model/SAnime',
|
|
);
|
|
|
|
/// The type which includes information such as the signature of this class.
|
|
static const nullableType = $SAnime$NullableType();
|
|
static const type = $SAnime$Type();
|
|
static final _id_Companion = _class.staticFieldId(
|
|
r'Companion',
|
|
r'Leu/kanade/tachiyomi/animesource/model/SAnime$Companion;',
|
|
);
|
|
|
|
/// from: `static public final eu.kanade.tachiyomi.animesource.model.SAnime$Companion Companion`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
static SAnime$Companion get Companion =>
|
|
_id_Companion.get(_class, const $SAnime$Companion$Type());
|
|
|
|
/// from: `static public final int UNKNOWN`
|
|
static const UNKNOWN = 0;
|
|
|
|
/// from: `static public final int ONGOING`
|
|
static const ONGOING = 1;
|
|
|
|
/// from: `static public final int COMPLETED`
|
|
static const COMPLETED = 2;
|
|
|
|
/// from: `static public final int LICENSED`
|
|
static const LICENSED = 3;
|
|
|
|
/// from: `static public final int PUBLISHING_FINISHED`
|
|
static const PUBLISHING_FINISHED = 4;
|
|
|
|
/// from: `static public final int CANCELLED`
|
|
static const CANCELLED = 5;
|
|
|
|
/// from: `static public final int ON_HIATUS`
|
|
static const ON_HIATUS = 6;
|
|
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_getTitle = _class.instanceMethodId(
|
|
r'getTitle',
|
|
r'()Ljava/lang/String;',
|
|
);
|
|
|
|
static final _getTitle =
|
|
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 getTitle()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JString getTitle() {
|
|
return _getTitle(
|
|
reference.pointer,
|
|
_id_getTitle as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JString>(const jni$_.JStringType());
|
|
}
|
|
|
|
static final _id_setTitle = _class.instanceMethodId(
|
|
r'setTitle',
|
|
r'(Ljava/lang/String;)V',
|
|
);
|
|
|
|
static final _setTitle =
|
|
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 setTitle(java.lang.String string)`
|
|
void setTitle(jni$_.JString string) {
|
|
final _$string = string.reference;
|
|
_setTitle(
|
|
reference.pointer,
|
|
_id_setTitle as jni$_.JMethodIDPtr,
|
|
_$string.pointer,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getArtist = _class.instanceMethodId(
|
|
r'getArtist',
|
|
r'()Ljava/lang/String;',
|
|
);
|
|
|
|
static final _getArtist =
|
|
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 getArtist()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JString? getArtist() {
|
|
return _getArtist(
|
|
reference.pointer,
|
|
_id_getArtist as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JString?>(const jni$_.JStringNullableType());
|
|
}
|
|
|
|
static final _id_setArtist = _class.instanceMethodId(
|
|
r'setArtist',
|
|
r'(Ljava/lang/String;)V',
|
|
);
|
|
|
|
static final _setArtist =
|
|
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 setArtist(java.lang.String string)`
|
|
void setArtist(jni$_.JString? string) {
|
|
final _$string = string?.reference ?? jni$_.jNullReference;
|
|
_setArtist(
|
|
reference.pointer,
|
|
_id_setArtist as jni$_.JMethodIDPtr,
|
|
_$string.pointer,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getAuthor = _class.instanceMethodId(
|
|
r'getAuthor',
|
|
r'()Ljava/lang/String;',
|
|
);
|
|
|
|
static final _getAuthor =
|
|
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 getAuthor()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JString? getAuthor() {
|
|
return _getAuthor(
|
|
reference.pointer,
|
|
_id_getAuthor as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JString?>(const jni$_.JStringNullableType());
|
|
}
|
|
|
|
static final _id_setAuthor = _class.instanceMethodId(
|
|
r'setAuthor',
|
|
r'(Ljava/lang/String;)V',
|
|
);
|
|
|
|
static final _setAuthor =
|
|
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 setAuthor(java.lang.String string)`
|
|
void setAuthor(jni$_.JString? string) {
|
|
final _$string = string?.reference ?? jni$_.jNullReference;
|
|
_setAuthor(
|
|
reference.pointer,
|
|
_id_setAuthor as jni$_.JMethodIDPtr,
|
|
_$string.pointer,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getDescription = _class.instanceMethodId(
|
|
r'getDescription',
|
|
r'()Ljava/lang/String;',
|
|
);
|
|
|
|
static final _getDescription =
|
|
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 getDescription()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JString? getDescription() {
|
|
return _getDescription(
|
|
reference.pointer,
|
|
_id_getDescription as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JString?>(const jni$_.JStringNullableType());
|
|
}
|
|
|
|
static final _id_setDescription = _class.instanceMethodId(
|
|
r'setDescription',
|
|
r'(Ljava/lang/String;)V',
|
|
);
|
|
|
|
static final _setDescription =
|
|
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 setDescription(java.lang.String string)`
|
|
void setDescription(jni$_.JString? string) {
|
|
final _$string = string?.reference ?? jni$_.jNullReference;
|
|
_setDescription(
|
|
reference.pointer,
|
|
_id_setDescription as jni$_.JMethodIDPtr,
|
|
_$string.pointer,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getGenre = _class.instanceMethodId(
|
|
r'getGenre',
|
|
r'()Ljava/lang/String;',
|
|
);
|
|
|
|
static final _getGenre =
|
|
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 getGenre()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JString? getGenre() {
|
|
return _getGenre(
|
|
reference.pointer,
|
|
_id_getGenre as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JString?>(const jni$_.JStringNullableType());
|
|
}
|
|
|
|
static final _id_setGenre = _class.instanceMethodId(
|
|
r'setGenre',
|
|
r'(Ljava/lang/String;)V',
|
|
);
|
|
|
|
static final _setGenre =
|
|
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 setGenre(java.lang.String string)`
|
|
void setGenre(jni$_.JString? string) {
|
|
final _$string = string?.reference ?? jni$_.jNullReference;
|
|
_setGenre(
|
|
reference.pointer,
|
|
_id_setGenre as jni$_.JMethodIDPtr,
|
|
_$string.pointer,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getStatus = _class.instanceMethodId(r'getStatus', r'()I');
|
|
|
|
static final _getStatus =
|
|
jni$_.ProtectedJniExtensions.lookup<
|
|
jni$_.NativeFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
)
|
|
>
|
|
>('globalEnv_CallIntMethod')
|
|
.asFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
)
|
|
>();
|
|
|
|
/// from: `public abstract int getStatus()`
|
|
int getStatus() {
|
|
return _getStatus(
|
|
reference.pointer,
|
|
_id_getStatus as jni$_.JMethodIDPtr,
|
|
).integer;
|
|
}
|
|
|
|
static final _id_setStatus = _class.instanceMethodId(r'setStatus', r'(I)V');
|
|
|
|
static final _setStatus =
|
|
jni$_.ProtectedJniExtensions.lookup<
|
|
jni$_.NativeFunction<
|
|
jni$_.JThrowablePtr Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
jni$_.VarArgs<(jni$_.Int32,)>,
|
|
)
|
|
>
|
|
>('globalEnv_CallVoidMethod')
|
|
.asFunction<
|
|
jni$_.JThrowablePtr Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
int,
|
|
)
|
|
>();
|
|
|
|
/// from: `public abstract void setStatus(int i)`
|
|
void setStatus(int i) {
|
|
_setStatus(
|
|
reference.pointer,
|
|
_id_setStatus as jni$_.JMethodIDPtr,
|
|
i,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getThumbnail_url = _class.instanceMethodId(
|
|
r'getThumbnail_url',
|
|
r'()Ljava/lang/String;',
|
|
);
|
|
|
|
static final _getThumbnail_url =
|
|
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 getThumbnail_url()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JString? getThumbnail_url() {
|
|
return _getThumbnail_url(
|
|
reference.pointer,
|
|
_id_getThumbnail_url as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JString?>(const jni$_.JStringNullableType());
|
|
}
|
|
|
|
static final _id_setThumbnail_url = _class.instanceMethodId(
|
|
r'setThumbnail_url',
|
|
r'(Ljava/lang/String;)V',
|
|
);
|
|
|
|
static final _setThumbnail_url =
|
|
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 setThumbnail_url(java.lang.String string)`
|
|
void setThumbnail_url(jni$_.JString? string) {
|
|
final _$string = string?.reference ?? jni$_.jNullReference;
|
|
_setThumbnail_url(
|
|
reference.pointer,
|
|
_id_setThumbnail_url as jni$_.JMethodIDPtr,
|
|
_$string.pointer,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getUpdate_strategy = _class.instanceMethodId(
|
|
r'getUpdate_strategy',
|
|
r'()Leu/kanade/tachiyomi/animesource/model/AnimeUpdateStrategy;',
|
|
);
|
|
|
|
static final _getUpdate_strategy =
|
|
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 eu.kanade.tachiyomi.animesource.model.AnimeUpdateStrategy getUpdate_strategy()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JObject getUpdate_strategy() {
|
|
return _getUpdate_strategy(
|
|
reference.pointer,
|
|
_id_getUpdate_strategy as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JObject>(const jni$_.JObjectType());
|
|
}
|
|
|
|
static final _id_setUpdate_strategy = _class.instanceMethodId(
|
|
r'setUpdate_strategy',
|
|
r'(Leu/kanade/tachiyomi/animesource/model/AnimeUpdateStrategy;)V',
|
|
);
|
|
|
|
static final _setUpdate_strategy =
|
|
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 setUpdate_strategy(eu.kanade.tachiyomi.animesource.model.AnimeUpdateStrategy animeUpdateStrategy)`
|
|
void setUpdate_strategy(jni$_.JObject animeUpdateStrategy) {
|
|
final _$animeUpdateStrategy = animeUpdateStrategy.reference;
|
|
_setUpdate_strategy(
|
|
reference.pointer,
|
|
_id_setUpdate_strategy as jni$_.JMethodIDPtr,
|
|
_$animeUpdateStrategy.pointer,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getFetch_type = _class.instanceMethodId(
|
|
r'getFetch_type',
|
|
r'()Leu/kanade/tachiyomi/animesource/model/FetchType;',
|
|
);
|
|
|
|
static final _getFetch_type =
|
|
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 eu.kanade.tachiyomi.animesource.model.FetchType getFetch_type()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JObject getFetch_type() {
|
|
return _getFetch_type(
|
|
reference.pointer,
|
|
_id_getFetch_type as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JObject>(const jni$_.JObjectType());
|
|
}
|
|
|
|
static final _id_setFetch_type = _class.instanceMethodId(
|
|
r'setFetch_type',
|
|
r'(Leu/kanade/tachiyomi/animesource/model/FetchType;)V',
|
|
);
|
|
|
|
static final _setFetch_type =
|
|
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 setFetch_type(eu.kanade.tachiyomi.animesource.model.FetchType fetchType)`
|
|
void setFetch_type(jni$_.JObject fetchType) {
|
|
final _$fetchType = fetchType.reference;
|
|
_setFetch_type(
|
|
reference.pointer,
|
|
_id_setFetch_type as jni$_.JMethodIDPtr,
|
|
_$fetchType.pointer,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getSeason_number = _class.instanceMethodId(
|
|
r'getSeason_number',
|
|
r'()D',
|
|
);
|
|
|
|
static final _getSeason_number =
|
|
jni$_.ProtectedJniExtensions.lookup<
|
|
jni$_.NativeFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
)
|
|
>
|
|
>('globalEnv_CallDoubleMethod')
|
|
.asFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
)
|
|
>();
|
|
|
|
/// from: `public abstract double getSeason_number()`
|
|
double getSeason_number() {
|
|
return _getSeason_number(
|
|
reference.pointer,
|
|
_id_getSeason_number as jni$_.JMethodIDPtr,
|
|
).doubleFloat;
|
|
}
|
|
|
|
static final _id_setSeason_number = _class.instanceMethodId(
|
|
r'setSeason_number',
|
|
r'(D)V',
|
|
);
|
|
|
|
static final _setSeason_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 setSeason_number(double d)`
|
|
void setSeason_number(double d) {
|
|
_setSeason_number(
|
|
reference.pointer,
|
|
_id_setSeason_number as jni$_.JMethodIDPtr,
|
|
d,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getInitialized = _class.instanceMethodId(
|
|
r'getInitialized',
|
|
r'()Z',
|
|
);
|
|
|
|
static final _getInitialized =
|
|
jni$_.ProtectedJniExtensions.lookup<
|
|
jni$_.NativeFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
)
|
|
>
|
|
>('globalEnv_CallBooleanMethod')
|
|
.asFunction<
|
|
jni$_.JniResult Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
)
|
|
>();
|
|
|
|
/// from: `public abstract boolean getInitialized()`
|
|
bool getInitialized() {
|
|
return _getInitialized(
|
|
reference.pointer,
|
|
_id_getInitialized as jni$_.JMethodIDPtr,
|
|
).boolean;
|
|
}
|
|
|
|
static final _id_setInitialized = _class.instanceMethodId(
|
|
r'setInitialized',
|
|
r'(Z)V',
|
|
);
|
|
|
|
static final _setInitialized =
|
|
jni$_.ProtectedJniExtensions.lookup<
|
|
jni$_.NativeFunction<
|
|
jni$_.JThrowablePtr Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
jni$_.VarArgs<(jni$_.Int32,)>,
|
|
)
|
|
>
|
|
>('globalEnv_CallVoidMethod')
|
|
.asFunction<
|
|
jni$_.JThrowablePtr Function(
|
|
jni$_.Pointer<jni$_.Void>,
|
|
jni$_.JMethodIDPtr,
|
|
int,
|
|
)
|
|
>();
|
|
|
|
/// from: `public abstract void setInitialized(boolean z)`
|
|
void setInitialized(bool z) {
|
|
_setInitialized(
|
|
reference.pointer,
|
|
_id_setInitialized as jni$_.JMethodIDPtr,
|
|
z ? 1 : 0,
|
|
).check();
|
|
}
|
|
|
|
static final _id_getGenres = _class.instanceMethodId(
|
|
r'getGenres',
|
|
r'()Ljava/util/List;',
|
|
);
|
|
|
|
static final _getGenres =
|
|
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.util.List<java.lang.String> getGenres()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
jni$_.JList<jni$_.JString>? getGenres() {
|
|
return _getGenres(
|
|
reference.pointer,
|
|
_id_getGenres as jni$_.JMethodIDPtr,
|
|
).object<jni$_.JList<jni$_.JString>?>(
|
|
const jni$_.JListNullableType<jni$_.JString>(jni$_.JStringType()),
|
|
);
|
|
}
|
|
|
|
static final _id_copy = _class.instanceMethodId(
|
|
r'copy',
|
|
r'()Leu/kanade/tachiyomi/animesource/model/SAnime;',
|
|
);
|
|
|
|
static final _copy =
|
|
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 eu.kanade.tachiyomi.animesource.model.SAnime copy()`
|
|
/// The returned object must be released after use, by calling the [release] method.
|
|
JSAnime copy() {
|
|
return _copy(
|
|
reference.pointer,
|
|
_id_copy as jni$_.JMethodIDPtr,
|
|
).object<JSAnime>(const $SAnime$Type());
|
|
}
|
|
|
|
/// Maps a specific port to the implemented interface.
|
|
static final core$_.Map<int, $SAnime> _$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'getTitle()Ljava/lang/String;') {
|
|
final $r = _$impls[$p]!.getTitle();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d == r'setTitle(Ljava/lang/String;)V') {
|
|
_$impls[$p]!.setTitle(
|
|
$a![0]!.as(const jni$_.JStringType(), releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getArtist()Ljava/lang/String;') {
|
|
final $r = _$impls[$p]!.getArtist();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d == r'setArtist(Ljava/lang/String;)V') {
|
|
_$impls[$p]!.setArtist(
|
|
$a![0]?.as(const jni$_.JStringType(), releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getAuthor()Ljava/lang/String;') {
|
|
final $r = _$impls[$p]!.getAuthor();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d == r'setAuthor(Ljava/lang/String;)V') {
|
|
_$impls[$p]!.setAuthor(
|
|
$a![0]?.as(const jni$_.JStringType(), releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getDescription()Ljava/lang/String;') {
|
|
final $r = _$impls[$p]!.getDescription();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d == r'setDescription(Ljava/lang/String;)V') {
|
|
_$impls[$p]!.setDescription(
|
|
$a![0]?.as(const jni$_.JStringType(), releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getGenre()Ljava/lang/String;') {
|
|
final $r = _$impls[$p]!.getGenre();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d == r'setGenre(Ljava/lang/String;)V') {
|
|
_$impls[$p]!.setGenre(
|
|
$a![0]?.as(const jni$_.JStringType(), releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getStatus()I') {
|
|
final $r = _$impls[$p]!.getStatus();
|
|
return jni$_.JInteger($r).reference.toPointer();
|
|
}
|
|
if ($d == r'setStatus(I)V') {
|
|
_$impls[$p]!.setStatus(
|
|
$a![0]!
|
|
.as(const jni$_.JIntegerType(), releaseOriginal: true)
|
|
.intValue(releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getThumbnail_url()Ljava/lang/String;') {
|
|
final $r = _$impls[$p]!.getThumbnail_url();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d == r'setThumbnail_url(Ljava/lang/String;)V') {
|
|
_$impls[$p]!.setThumbnail_url(
|
|
$a![0]?.as(const jni$_.JStringType(), releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d ==
|
|
r'getUpdate_strategy()Leu/kanade/tachiyomi/animesource/model/AnimeUpdateStrategy;') {
|
|
final $r = _$impls[$p]!.getUpdate_strategy();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d ==
|
|
r'setUpdate_strategy(Leu/kanade/tachiyomi/animesource/model/AnimeUpdateStrategy;)V') {
|
|
_$impls[$p]!.setUpdate_strategy(
|
|
$a![0]!.as(const jni$_.JObjectType(), releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d ==
|
|
r'getFetch_type()Leu/kanade/tachiyomi/animesource/model/FetchType;') {
|
|
final $r = _$impls[$p]!.getFetch_type();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d ==
|
|
r'setFetch_type(Leu/kanade/tachiyomi/animesource/model/FetchType;)V') {
|
|
_$impls[$p]!.setFetch_type(
|
|
$a![0]!.as(const jni$_.JObjectType(), releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getSeason_number()D') {
|
|
final $r = _$impls[$p]!.getSeason_number();
|
|
return jni$_.JDouble($r).reference.toPointer();
|
|
}
|
|
if ($d == r'setSeason_number(D)V') {
|
|
_$impls[$p]!.setSeason_number(
|
|
$a![0]!
|
|
.as(const jni$_.JDoubleType(), releaseOriginal: true)
|
|
.doubleValue(releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getInitialized()Z') {
|
|
final $r = _$impls[$p]!.getInitialized();
|
|
return jni$_.JBoolean($r).reference.toPointer();
|
|
}
|
|
if ($d == r'setInitialized(Z)V') {
|
|
_$impls[$p]!.setInitialized(
|
|
$a![0]!
|
|
.as(const jni$_.JBooleanType(), releaseOriginal: true)
|
|
.booleanValue(releaseOriginal: true),
|
|
);
|
|
return jni$_.nullptr;
|
|
}
|
|
if ($d == r'getGenres()Ljava/util/List;') {
|
|
final $r = _$impls[$p]!.getGenres();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
if ($d == r'copy()Leu/kanade/tachiyomi/animesource/model/SAnime;') {
|
|
final $r = _$impls[$p]!.copy();
|
|
return ($r as jni$_.JObject?)
|
|
?.as(const jni$_.JObjectType())
|
|
.reference
|
|
.toPointer() ??
|
|
jni$_.nullptr;
|
|
}
|
|
} catch (e) {
|
|
return jni$_.ProtectedJniExtensions.newDartException(e);
|
|
}
|
|
return jni$_.nullptr;
|
|
}
|
|
|
|
static void implementIn(jni$_.JImplementer implementer, $SAnime $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.SAnime',
|
|
$p,
|
|
_$invokePointer,
|
|
[
|
|
if ($impl.setUrl$async) r'setUrl(Ljava/lang/String;)V',
|
|
if ($impl.setTitle$async) r'setTitle(Ljava/lang/String;)V',
|
|
if ($impl.setArtist$async) r'setArtist(Ljava/lang/String;)V',
|
|
if ($impl.setAuthor$async) r'setAuthor(Ljava/lang/String;)V',
|
|
if ($impl.setDescription$async) r'setDescription(Ljava/lang/String;)V',
|
|
if ($impl.setGenre$async) r'setGenre(Ljava/lang/String;)V',
|
|
if ($impl.setStatus$async) r'setStatus(I)V',
|
|
if ($impl.setThumbnail_url$async)
|
|
r'setThumbnail_url(Ljava/lang/String;)V',
|
|
if ($impl.setUpdate_strategy$async)
|
|
r'setUpdate_strategy(Leu/kanade/tachiyomi/animesource/model/AnimeUpdateStrategy;)V',
|
|
if ($impl.setFetch_type$async)
|
|
r'setFetch_type(Leu/kanade/tachiyomi/animesource/model/FetchType;)V',
|
|
if ($impl.setSeason_number$async) r'setSeason_number(D)V',
|
|
if ($impl.setInitialized$async) r'setInitialized(Z)V',
|
|
],
|
|
);
|
|
final $a = $p.sendPort.nativePort;
|
|
_$impls[$a] = $impl;
|
|
}
|
|
|
|
factory JSAnime.implement($SAnime $impl) {
|
|
final $i = jni$_.JImplementer();
|
|
implementIn($i, $impl);
|
|
return JSAnime.fromReference($i.implementReference());
|
|
}
|
|
}
|
|
|
|
abstract base mixin class $SAnime {
|
|
factory $SAnime({
|
|
required jni$_.JString Function() getUrl,
|
|
required void Function(jni$_.JString string) setUrl,
|
|
bool setUrl$async,
|
|
required jni$_.JString Function() getTitle,
|
|
required void Function(jni$_.JString string) setTitle,
|
|
bool setTitle$async,
|
|
required jni$_.JString? Function() getArtist,
|
|
required void Function(jni$_.JString? string) setArtist,
|
|
bool setArtist$async,
|
|
required jni$_.JString? Function() getAuthor,
|
|
required void Function(jni$_.JString? string) setAuthor,
|
|
bool setAuthor$async,
|
|
required jni$_.JString? Function() getDescription,
|
|
required void Function(jni$_.JString? string) setDescription,
|
|
bool setDescription$async,
|
|
required jni$_.JString? Function() getGenre,
|
|
required void Function(jni$_.JString? string) setGenre,
|
|
bool setGenre$async,
|
|
required int Function() getStatus,
|
|
required void Function(int i) setStatus,
|
|
bool setStatus$async,
|
|
required jni$_.JString? Function() getThumbnail_url,
|
|
required void Function(jni$_.JString? string) setThumbnail_url,
|
|
bool setThumbnail_url$async,
|
|
required jni$_.JObject Function() getUpdate_strategy,
|
|
required void Function(jni$_.JObject animeUpdateStrategy)
|
|
setUpdate_strategy,
|
|
bool setUpdate_strategy$async,
|
|
required jni$_.JObject Function() getFetch_type,
|
|
required void Function(jni$_.JObject fetchType) setFetch_type,
|
|
bool setFetch_type$async,
|
|
required double Function() getSeason_number,
|
|
required void Function(double d) setSeason_number,
|
|
bool setSeason_number$async,
|
|
required bool Function() getInitialized,
|
|
required void Function(bool z) setInitialized,
|
|
bool setInitialized$async,
|
|
required jni$_.JList<jni$_.JString>? Function() getGenres,
|
|
required JSAnime Function() copy,
|
|
}) = _$SAnime;
|
|
|
|
jni$_.JString getUrl();
|
|
void setUrl(jni$_.JString string);
|
|
bool get setUrl$async => false;
|
|
jni$_.JString getTitle();
|
|
void setTitle(jni$_.JString string);
|
|
bool get setTitle$async => false;
|
|
jni$_.JString? getArtist();
|
|
void setArtist(jni$_.JString? string);
|
|
bool get setArtist$async => false;
|
|
jni$_.JString? getAuthor();
|
|
void setAuthor(jni$_.JString? string);
|
|
bool get setAuthor$async => false;
|
|
jni$_.JString? getDescription();
|
|
void setDescription(jni$_.JString? string);
|
|
bool get setDescription$async => false;
|
|
jni$_.JString? getGenre();
|
|
void setGenre(jni$_.JString? string);
|
|
bool get setGenre$async => false;
|
|
int getStatus();
|
|
void setStatus(int i);
|
|
bool get setStatus$async => false;
|
|
jni$_.JString? getThumbnail_url();
|
|
void setThumbnail_url(jni$_.JString? string);
|
|
bool get setThumbnail_url$async => false;
|
|
jni$_.JObject getUpdate_strategy();
|
|
void setUpdate_strategy(jni$_.JObject animeUpdateStrategy);
|
|
bool get setUpdate_strategy$async => false;
|
|
jni$_.JObject getFetch_type();
|
|
void setFetch_type(jni$_.JObject fetchType);
|
|
bool get setFetch_type$async => false;
|
|
double getSeason_number();
|
|
void setSeason_number(double d);
|
|
bool get setSeason_number$async => false;
|
|
bool getInitialized();
|
|
void setInitialized(bool z);
|
|
bool get setInitialized$async => false;
|
|
jni$_.JList<jni$_.JString>? getGenres();
|
|
JSAnime copy();
|
|
}
|
|
|
|
final class _$SAnime with $SAnime {
|
|
_$SAnime({
|
|
required jni$_.JString Function() getUrl,
|
|
required void Function(jni$_.JString string) setUrl,
|
|
this.setUrl$async = false,
|
|
required jni$_.JString Function() getTitle,
|
|
required void Function(jni$_.JString string) setTitle,
|
|
this.setTitle$async = false,
|
|
required jni$_.JString? Function() getArtist,
|
|
required void Function(jni$_.JString? string) setArtist,
|
|
this.setArtist$async = false,
|
|
required jni$_.JString? Function() getAuthor,
|
|
required void Function(jni$_.JString? string) setAuthor,
|
|
this.setAuthor$async = false,
|
|
required jni$_.JString? Function() getDescription,
|
|
required void Function(jni$_.JString? string) setDescription,
|
|
this.setDescription$async = false,
|
|
required jni$_.JString? Function() getGenre,
|
|
required void Function(jni$_.JString? string) setGenre,
|
|
this.setGenre$async = false,
|
|
required int Function() getStatus,
|
|
required void Function(int i) setStatus,
|
|
this.setStatus$async = false,
|
|
required jni$_.JString? Function() getThumbnail_url,
|
|
required void Function(jni$_.JString? string) setThumbnail_url,
|
|
this.setThumbnail_url$async = false,
|
|
required jni$_.JObject Function() getUpdate_strategy,
|
|
required void Function(jni$_.JObject animeUpdateStrategy)
|
|
setUpdate_strategy,
|
|
this.setUpdate_strategy$async = false,
|
|
required jni$_.JObject Function() getFetch_type,
|
|
required void Function(jni$_.JObject fetchType) setFetch_type,
|
|
this.setFetch_type$async = false,
|
|
required double Function() getSeason_number,
|
|
required void Function(double d) setSeason_number,
|
|
this.setSeason_number$async = false,
|
|
required bool Function() getInitialized,
|
|
required void Function(bool z) setInitialized,
|
|
this.setInitialized$async = false,
|
|
required jni$_.JList<jni$_.JString>? Function() getGenres,
|
|
required JSAnime Function() copy,
|
|
}) : _getUrl = getUrl,
|
|
_setUrl = setUrl,
|
|
_getTitle = getTitle,
|
|
_setTitle = setTitle,
|
|
_getArtist = getArtist,
|
|
_setArtist = setArtist,
|
|
_getAuthor = getAuthor,
|
|
_setAuthor = setAuthor,
|
|
_getDescription = getDescription,
|
|
_setDescription = setDescription,
|
|
_getGenre = getGenre,
|
|
_setGenre = setGenre,
|
|
_getStatus = getStatus,
|
|
_setStatus = setStatus,
|
|
_getThumbnail_url = getThumbnail_url,
|
|
_setThumbnail_url = setThumbnail_url,
|
|
_getUpdate_strategy = getUpdate_strategy,
|
|
_setUpdate_strategy = setUpdate_strategy,
|
|
_getFetch_type = getFetch_type,
|
|
_setFetch_type = setFetch_type,
|
|
_getSeason_number = getSeason_number,
|
|
_setSeason_number = setSeason_number,
|
|
_getInitialized = getInitialized,
|
|
_setInitialized = setInitialized,
|
|
_getGenres = getGenres,
|
|
_copy = copy;
|
|
|
|
final jni$_.JString Function() _getUrl;
|
|
final void Function(jni$_.JString string) _setUrl;
|
|
final bool setUrl$async;
|
|
final jni$_.JString Function() _getTitle;
|
|
final void Function(jni$_.JString string) _setTitle;
|
|
final bool setTitle$async;
|
|
final jni$_.JString? Function() _getArtist;
|
|
final void Function(jni$_.JString? string) _setArtist;
|
|
final bool setArtist$async;
|
|
final jni$_.JString? Function() _getAuthor;
|
|
final void Function(jni$_.JString? string) _setAuthor;
|
|
final bool setAuthor$async;
|
|
final jni$_.JString? Function() _getDescription;
|
|
final void Function(jni$_.JString? string) _setDescription;
|
|
final bool setDescription$async;
|
|
final jni$_.JString? Function() _getGenre;
|
|
final void Function(jni$_.JString? string) _setGenre;
|
|
final bool setGenre$async;
|
|
final int Function() _getStatus;
|
|
final void Function(int i) _setStatus;
|
|
final bool setStatus$async;
|
|
final jni$_.JString? Function() _getThumbnail_url;
|
|
final void Function(jni$_.JString? string) _setThumbnail_url;
|
|
final bool setThumbnail_url$async;
|
|
final jni$_.JObject Function() _getUpdate_strategy;
|
|
final void Function(jni$_.JObject animeUpdateStrategy) _setUpdate_strategy;
|
|
final bool setUpdate_strategy$async;
|
|
final jni$_.JObject Function() _getFetch_type;
|
|
final void Function(jni$_.JObject fetchType) _setFetch_type;
|
|
final bool setFetch_type$async;
|
|
final double Function() _getSeason_number;
|
|
final void Function(double d) _setSeason_number;
|
|
final bool setSeason_number$async;
|
|
final bool Function() _getInitialized;
|
|
final void Function(bool z) _setInitialized;
|
|
final bool setInitialized$async;
|
|
final jni$_.JList<jni$_.JString>? Function() _getGenres;
|
|
final JSAnime Function() _copy;
|
|
|
|
jni$_.JString getUrl() {
|
|
return _getUrl();
|
|
}
|
|
|
|
void setUrl(jni$_.JString string) {
|
|
return _setUrl(string);
|
|
}
|
|
|
|
jni$_.JString getTitle() {
|
|
return _getTitle();
|
|
}
|
|
|
|
void setTitle(jni$_.JString string) {
|
|
return _setTitle(string);
|
|
}
|
|
|
|
jni$_.JString? getArtist() {
|
|
return _getArtist();
|
|
}
|
|
|
|
void setArtist(jni$_.JString? string) {
|
|
return _setArtist(string);
|
|
}
|
|
|
|
jni$_.JString? getAuthor() {
|
|
return _getAuthor();
|
|
}
|
|
|
|
void setAuthor(jni$_.JString? string) {
|
|
return _setAuthor(string);
|
|
}
|
|
|
|
jni$_.JString? getDescription() {
|
|
return _getDescription();
|
|
}
|
|
|
|
void setDescription(jni$_.JString? string) {
|
|
return _setDescription(string);
|
|
}
|
|
|
|
jni$_.JString? getGenre() {
|
|
return _getGenre();
|
|
}
|
|
|
|
void setGenre(jni$_.JString? string) {
|
|
return _setGenre(string);
|
|
}
|
|
|
|
int getStatus() {
|
|
return _getStatus();
|
|
}
|
|
|
|
void setStatus(int i) {
|
|
return _setStatus(i);
|
|
}
|
|
|
|
jni$_.JString? getThumbnail_url() {
|
|
return _getThumbnail_url();
|
|
}
|
|
|
|
void setThumbnail_url(jni$_.JString? string) {
|
|
return _setThumbnail_url(string);
|
|
}
|
|
|
|
jni$_.JObject getUpdate_strategy() {
|
|
return _getUpdate_strategy();
|
|
}
|
|
|
|
void setUpdate_strategy(jni$_.JObject animeUpdateStrategy) {
|
|
return _setUpdate_strategy(animeUpdateStrategy);
|
|
}
|
|
|
|
jni$_.JObject getFetch_type() {
|
|
return _getFetch_type();
|
|
}
|
|
|
|
void setFetch_type(jni$_.JObject fetchType) {
|
|
return _setFetch_type(fetchType);
|
|
}
|
|
|
|
double getSeason_number() {
|
|
return _getSeason_number();
|
|
}
|
|
|
|
void setSeason_number(double d) {
|
|
return _setSeason_number(d);
|
|
}
|
|
|
|
bool getInitialized() {
|
|
return _getInitialized();
|
|
}
|
|
|
|
void setInitialized(bool z) {
|
|
return _setInitialized(z);
|
|
}
|
|
|
|
jni$_.JList<jni$_.JString>? getGenres() {
|
|
return _getGenres();
|
|
}
|
|
|
|
JSAnime copy() {
|
|
return _copy();
|
|
}
|
|
}
|
|
|
|
final class $SAnime$NullableType extends jni$_.JObjType<JSAnime?> {
|
|
@jni$_.internal
|
|
const $SAnime$NullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
String get signature => r'Leu/kanade/tachiyomi/animesource/model/SAnime;';
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
JSAnime? fromReference(jni$_.JReference reference) =>
|
|
reference.isNull ? null : JSAnime.fromReference(reference);
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType<JSAnime?> get nullableType => this;
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final superCount = 1;
|
|
|
|
@core$_.override
|
|
int get hashCode => ($SAnime$NullableType).hashCode;
|
|
|
|
@core$_.override
|
|
bool operator ==(Object other) {
|
|
return other.runtimeType == ($SAnime$NullableType) &&
|
|
other is $SAnime$NullableType;
|
|
}
|
|
}
|
|
|
|
final class $SAnime$Type extends jni$_.JObjType<JSAnime> {
|
|
@jni$_.internal
|
|
const $SAnime$Type();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
String get signature => r'Leu/kanade/tachiyomi/animesource/model/SAnime;';
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
JSAnime fromReference(jni$_.JReference reference) =>
|
|
JSAnime.fromReference(reference);
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
jni$_.JObjType<JSAnime?> get nullableType => const $SAnime$NullableType();
|
|
|
|
@jni$_.internal
|
|
@core$_.override
|
|
final superCount = 1;
|
|
|
|
@core$_.override
|
|
int get hashCode => ($SAnime$Type).hashCode;
|
|
|
|
@core$_.override
|
|
bool operator ==(Object other) {
|
|
return other.runtimeType == ($SAnime$Type) && other is $SAnime$Type;
|
|
}
|
|
}
|