From be65590d2ec249bf26f7e5f3e23e66274ff72b22 Mon Sep 17 00:00:00 2001 From: Patrick Stewart Date: Sun, 22 Sep 2024 18:43:11 -0700 Subject: [PATCH] add(angel3): adding re-branded angel3 container package --- packages/container/container/.gitignore | 71 + packages/container/container/AUTHORS.md | 12 + packages/container/container/CHANGELOG.md | 151 + packages/container/container/LICENSE | 29 + packages/container/container/README.md | 45 + .../container/container/analysis_options.yaml | 1 + .../container/container/example/main.dart | 75 + .../container/container/example/throwing.dart | 6 + packages/container/container/lib/mirrors.dart | 1 + .../container/lib/platform_container.dart | 9 + .../container/lib/src/container.dart | 239 + .../container/lib/src/container_const.dart | 8 + .../container/lib/src/empty/empty.dart | 112 + .../container/lib/src/exception.dart | 8 + .../container/lib/src/mirrors/mirrors.dart | 1 + .../container/lib/src/mirrors/reflector.dart | 252 + .../lib/src/reflectable/reflectable.dart | 1 + .../container/lib/src/reflector.dart | 189 + .../container/lib/src/static/static.dart | 61 + .../container/container/lib/src/throwing.dart | 40 + packages/container/container/pubspec.yaml | 13 + packages/container/container/test/common.dart | 122 + .../container/test/empty_reflector_test.dart | 138 + .../container/container/test/has_test.dart | 51 + .../container/container/test/lazy_test.dart | 18 + .../container/test/mirrors_test.dart | 26 + .../container/container/test/named_test.dart | 34 + .../test/throwing_reflector_test.dart | 36 + .../container/container_generator/.gitignore | 13 + .../container_generator/CHANGELOG.md | 58 + .../container/container_generator/LICENSE | 29 + .../container/container_generator/README.md | 32 + .../container_generator/analysis_options.yaml | 1 + .../container_generator/example/main.dart | 75 + .../example/main.reflectable.dart | 6520 +++++++++++++++ .../lib/angel3_container_generator.dart | 255 + .../container_generator/pubspec.yaml | 18 + .../test/reflector_test.dart | 179 + .../test/reflector_test.reflectable.dart | 7417 +++++++++++++++++ 39 files changed, 16346 insertions(+) create mode 100644 packages/container/container/.gitignore create mode 100644 packages/container/container/AUTHORS.md create mode 100644 packages/container/container/CHANGELOG.md create mode 100644 packages/container/container/LICENSE create mode 100644 packages/container/container/README.md create mode 100644 packages/container/container/analysis_options.yaml create mode 100644 packages/container/container/example/main.dart create mode 100644 packages/container/container/example/throwing.dart create mode 100644 packages/container/container/lib/mirrors.dart create mode 100644 packages/container/container/lib/platform_container.dart create mode 100644 packages/container/container/lib/src/container.dart create mode 100644 packages/container/container/lib/src/container_const.dart create mode 100644 packages/container/container/lib/src/empty/empty.dart create mode 100644 packages/container/container/lib/src/exception.dart create mode 100644 packages/container/container/lib/src/mirrors/mirrors.dart create mode 100644 packages/container/container/lib/src/mirrors/reflector.dart create mode 100644 packages/container/container/lib/src/reflectable/reflectable.dart create mode 100644 packages/container/container/lib/src/reflector.dart create mode 100644 packages/container/container/lib/src/static/static.dart create mode 100644 packages/container/container/lib/src/throwing.dart create mode 100644 packages/container/container/pubspec.yaml create mode 100644 packages/container/container/test/common.dart create mode 100644 packages/container/container/test/empty_reflector_test.dart create mode 100644 packages/container/container/test/has_test.dart create mode 100644 packages/container/container/test/lazy_test.dart create mode 100644 packages/container/container/test/mirrors_test.dart create mode 100644 packages/container/container/test/named_test.dart create mode 100644 packages/container/container/test/throwing_reflector_test.dart create mode 100644 packages/container/container_generator/.gitignore create mode 100644 packages/container/container_generator/CHANGELOG.md create mode 100644 packages/container/container_generator/LICENSE create mode 100644 packages/container/container_generator/README.md create mode 100644 packages/container/container_generator/analysis_options.yaml create mode 100644 packages/container/container_generator/example/main.dart create mode 100644 packages/container/container_generator/example/main.reflectable.dart create mode 100644 packages/container/container_generator/lib/angel3_container_generator.dart create mode 100644 packages/container/container_generator/pubspec.yaml create mode 100644 packages/container/container_generator/test/reflector_test.dart create mode 100644 packages/container/container_generator/test/reflector_test.reflectable.dart diff --git a/packages/container/container/.gitignore b/packages/container/container/.gitignore new file mode 100644 index 0000000..24d6831 --- /dev/null +++ b/packages/container/container/.gitignore @@ -0,0 +1,71 @@ +# See https://www.dartlang.org/tools/private-files.html + +# Files and directories created by pub +.dart_tool +.packages +.pub/ +build/ + +# If you're building an application, you may want to check-in your pubspec.lock +pubspec.lock + +# Directory created by dartdoc +# If you don't generate documentation locally you can remove this line. +doc/api/ + +### Dart template +# See https://www.dartlang.org/tools/private-files.html + +# Files and directories created by pub + +# SDK 1.20 and later (no longer creates packages directories) + +# Older SDK versions +# (Include if the minimum SDK version specified in pubsepc.yaml is earlier than 1.20) +.project +.buildlog +**/packages/ + + +# Files created by dart2js +# (Most Dart developers will use pub build to compile Dart, use/modify these +# rules if you intend to use dart2js directly +# Convention is to use extension '.dart.js' for Dart compiled to Javascript to +# differentiate from explicit Javascript files) +*.dart.js +*.part.js +*.js.deps +*.js.map +*.info.json + +# Directory created by dartdoc + +# Don't commit pubspec lock file +# (Library packages only! Remove pattern if developing an application package) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: + +## VsCode +.vscode/ + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +.idea/ +/out/ +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties diff --git a/packages/container/container/AUTHORS.md b/packages/container/container/AUTHORS.md new file mode 100644 index 0000000..ac95ab5 --- /dev/null +++ b/packages/container/container/AUTHORS.md @@ -0,0 +1,12 @@ +Primary Authors +=============== + +* __[Thomas Hii](dukefirehawk.apps@gmail.com)__ + + Thomas is the current maintainer of the code base. He has refactored and migrated the + code base to support NNBD. + +* __[Tobe O](thosakwe@gmail.com)__ + + Tobe has written much of the original code prior to NNBD migration. He has moved on and + is no longer involved with the project. diff --git a/packages/container/container/CHANGELOG.md b/packages/container/container/CHANGELOG.md new file mode 100644 index 0000000..377e468 --- /dev/null +++ b/packages/container/container/CHANGELOG.md @@ -0,0 +1,151 @@ +# Change Log + +## 8.1.1 + +* Updated repository link + +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed analyser warnings + +## 8.0.0 + +* Require Dart >= 3.0 + +## 7.1.0-beta.2 + +* Require Dart >= 2.19 +* Refactored `EmptyReflector` + +## 7.1.0-beta.1 + +* Require Dart >= 2.18 +* Moved `defaultErrorMessage` to `ContainerConst` class to resolve reflectatable issue. +* Added `hashCode` + +## 7.0.0 + +* Require Dart >= 2.17 + +## 6.0.0 + +* Require Dart >= 2.16 +* Removed `error` + +## 5.0.0 + +* Skipped release + +## 4.0.0 + +* Skipped release + +## 3.1.1 + +* Updated `_ReflectedMethodMirror` to have optional `returnType` parameter +* Updated `Container` to handle non nullable type + +## 3.1.0 + +* Updated linter to `package:lints` + +## 3.0.2 + +* Resolved static analysis warnings + +## 3.0.1 + +* Updated README + +## 3.0.0 + +* Migrated to support Dart >= 2.12 NNBD + +## 2.0.0 + +* Migrated to work with Dart >= 2.12 Non NNBD + +## 1.1.0 + +* `pedantic` lints. +* Add `ThrowingReflector`, which throws on all operations. +* `EmptyReflector` uses `Object` instead of `dynamic` as its returned +type, as the `dynamic` type is (apparently?) no longer a valid constant value. +* `registerSingleton` now returns the provided `object`. +* `registerFactory` and `registerLazySingleton` now return the provided function `f`. + +## 1.0.4 + +* Slight patch to prevent annoying segfault. + +## 1.0.3 + +* Added `Future` support to `Reflector`. + +## 1.0.2 + +* Added `makeAsync`. + +## 1.0.1 + +* Added `hasNamed`. + +## 1.0.0 + +* Removed `@GenerateReflector`. + +## 1.0.0-alpha.12 + +* `StaticReflector` now defaults to empty arguments. + +## 1.0.0-alpha.11 + +* Added `StaticReflector`. + +## 1.0.0-alpha.10 + +* Added `Container.registerLazySingleton`. +* Added named singleton support. + +## 1.0.0-alpha.9 + +* Added `Container.has`. + +## 1.0.0-alpha.8 + +* Fixed a bug where `_ReflectedTypeInstance.isAssignableTo` always failed. +* Added `@GenerateReflector` annotation. + +## 1.0.0-alpha.7 + +* Add `EmptyReflector`. +* `ReflectedType.newInstance` now returns a `ReflectedInstance`. +* Moved `ReflectedInstance.invoke` to `ReflectedFunction.invoke`. + +## 1.0.0-alpha.6 + +* Add `getField` to `ReflectedInstance`. + +## 1.0.0-alpha.5 + +* Remove concrete type from `ReflectedTypeParameter`. + +## 1.0.0-alpha.4 + +* Safely handle `void` return types of methods. + +## 1.0.0-alpha.3 + +* Reflecting `void` in `MirrorsReflector` now forwards to `dynamic`. + +## 1.0.0-alpha.2 + +* Added `ReflectedInstance.reflectee`. + +## 1.0.0-alpha.1 + +* Allow omission of the first argument of `Container.make`, to use +a generic type argument instead. +* `singleton` -> `registerSingleton` +* Add `createChild`, and support hierarchical containers. diff --git a/packages/container/container/LICENSE b/packages/container/container/LICENSE new file mode 100644 index 0000000..df5e063 --- /dev/null +++ b/packages/container/container/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2021, dukefirehawk.com +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/packages/container/container/README.md b/packages/container/container/README.md new file mode 100644 index 0000000..a8a3fe2 --- /dev/null +++ b/packages/container/container/README.md @@ -0,0 +1,45 @@ +# Angel3 Container + +![Pub Version (including pre-releases)](https://img.shields.io/pub/v/angel3_container?include_prereleases) +[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) +[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion) +[![License](https://img.shields.io/github/license/dart-backend/angel)](https://github.com/dart-backend/angel/tree/master/packages/container/angel_container/LICENSE) + +A better IoC container for Angel3, ultimately allowing Angel3 to be used with or without `dart:mirrors` package. + +```dart + import 'package:angel3_container/mirrors.dart'; + import 'package:angel3_framework/angel3_framework.dart'; + import 'package:angel3_framework/http.dart'; + + @Expose('/sales', middleware: [process1]) + class SalesController extends Controller { + @Expose('/', middleware: [process2]) + Future route1(RequestContext req, ResponseContext res) async { + return "Sales route"; + } + } + + bool process1(RequestContext req, ResponseContext res) { + res.write('Hello, '); + return true; + } + + bool process2(RequestContext req, ResponseContext res) { + res.write('From Sales, '); + return true; + } + + void main() async { + // Using Mirror Reflector + var app = Angel(reflector: MirrorsReflector()); + + // Sales Controller + app.container.registerSingleton(SalesController()); + await app.mountController(); + + var http = AngelHttp(app); + var server = await http.startServer('localhost', 3000); + print("Angel3 server listening at ${http.uri}"); + } +``` diff --git a/packages/container/container/analysis_options.yaml b/packages/container/container/analysis_options.yaml new file mode 100644 index 0000000..ea2c9e9 --- /dev/null +++ b/packages/container/container/analysis_options.yaml @@ -0,0 +1 @@ +include: package:lints/recommended.yaml \ No newline at end of file diff --git a/packages/container/container/example/main.dart b/packages/container/container/example/main.dart new file mode 100644 index 0000000..5537e74 --- /dev/null +++ b/packages/container/container/example/main.dart @@ -0,0 +1,75 @@ +import 'dart:async'; + +import 'package:platform_container/platform_container.dart'; +import 'package:platform_container/mirrors.dart'; + +Future main() async { + // Create a container instance. + var container = Container(const MirrorsReflector()); + + // Register a singleton. + container.registerSingleton(Engine(40)); + + // You can also omit the type annotation, in which the object's runtime type will be used. + // If you're injecting an abstract class, prefer the type annotation. + // + // container.registerSingleton(Engine(40)); + + // Register a factory that creates a truck. + container.registerFactory((container) { + return _TruckImpl(container.make()); + }); + + // Use `make` to create an instance. + var truck = container.make(); + + // You can also resolve injections asynchronously. + container.registerFactory>((_) async => 24); + print(await container.makeAsync()); + + // Asynchronous resolution also works for plain objects. + await container.makeAsync().then((t) => t.drive()); + + // Register a named singleton. + container.registerNamedSingleton('the_truck', truck); + + // Should print: 'Vroom! I have 40 horsepower in my engine.' + truck.drive(); + + // Should print the same. + container.findByName('the_truck').drive(); + + // We can make a child container with its own factory. + var childContainer = container.createChild(); + + childContainer.registerFactory((container) { + return _TruckImpl(Engine(5666)); + }); + + // Make a truck with 5666 HP. + childContainer.make().drive(); + + // However, calling `make` will return the Engine singleton we created above. + print(childContainer.make().horsePower); +} + +abstract class Truck { + void drive(); +} + +class Engine { + final int horsePower; + + Engine(this.horsePower); +} + +class _TruckImpl implements Truck { + final Engine engine; + + _TruckImpl(this.engine); + + @override + void drive() { + print('Vroom! I have ${engine.horsePower} horsepower in my engine.'); + } +} diff --git a/packages/container/container/example/throwing.dart b/packages/container/container/example/throwing.dart new file mode 100644 index 0000000..b0bbc70 --- /dev/null +++ b/packages/container/container/example/throwing.dart @@ -0,0 +1,6 @@ +import 'package:platform_container/platform_container.dart'; + +void main() { + var reflector = const ThrowingReflector(); + reflector.reflectClass(StringBuffer); +} diff --git a/packages/container/container/lib/mirrors.dart b/packages/container/container/lib/mirrors.dart new file mode 100644 index 0000000..b16cabb --- /dev/null +++ b/packages/container/container/lib/mirrors.dart @@ -0,0 +1 @@ +export 'src/mirrors/mirrors.dart'; diff --git a/packages/container/container/lib/platform_container.dart b/packages/container/container/lib/platform_container.dart new file mode 100644 index 0000000..e50508e --- /dev/null +++ b/packages/container/container/lib/platform_container.dart @@ -0,0 +1,9 @@ +library angel3_container; + +export 'src/container.dart'; +export 'src/empty/empty.dart'; +export 'src/static/static.dart'; +export 'src/exception.dart'; +export 'src/reflector.dart'; +export 'src/throwing.dart'; +export 'src/container_const.dart'; diff --git a/packages/container/container/lib/src/container.dart b/packages/container/container/lib/src/container.dart new file mode 100644 index 0000000..5fb963a --- /dev/null +++ b/packages/container/container/lib/src/container.dart @@ -0,0 +1,239 @@ +import 'dart:async'; +import 'exception.dart'; +import 'reflector.dart'; + +class Container { + final Reflector reflector; + final Map _singletons = {}; + final Map _factories = {}; + final Map _namedSingletons = {}; + final Container? _parent; + + Container(this.reflector) : _parent = null; + + Container._child(Container this._parent) : reflector = _parent.reflector; + + bool get isRoot => _parent == null; + + /// Creates a child [Container] that can define its own singletons and factories. + /// + /// Use this to create children of a global "scope." + Container createChild() { + return Container._child(this); + } + + /// Determines if the container has an injection of the given type. + bool has([Type? t]) { + var t2 = T; + if (t != null) { + t2 = t; + } else if (T == dynamic && t == null) { + return false; + } + + Container? search = this; + while (search != null) { + if (search._singletons.containsKey(t2)) { + return true; + } else if (search._factories.containsKey(t2)) { + return true; + } else { + search = search._parent; + } + } + + return false; + } + + /// Determines if the container has a named singleton with the given [name]. + bool hasNamed(String name) { + Container? search = this; + + while (search != null) { + if (search._namedSingletons.containsKey(name)) { + return true; + } else { + search = search._parent; + } + } + + return false; + } + + /// Instantiates an instance of [T], asynchronously. + /// + /// It is similar to [make], but resolves an injection of either + /// `Future` or `T`. + Future makeAsync([Type? type]) { + var t2 = T; + if (type != null) { + t2 = type; + } + + Type? futureType; //.Future.value(null).runtimeType; + + if (T == dynamic) { + try { + futureType = reflector.reflectFutureOf(t2).reflectedType; + } on UnsupportedError { + // Ignore this. + } + } + + if (has(t2)) { + return Future.value(make(t2)); + } else if (has>()) { + return make>(); + } else if (futureType != null) { + return make(futureType); + } else { + throw ReflectionException( + 'No injection for Future<$t2> or $t2 was found.'); + } + } + + /// Instantiates an instance of [T]. + /// + /// In contexts where a static generic type cannot be used, use + /// the [type] argument, instead of [T]. + T make([Type? type]) { + Type t2 = T; + if (type != null) { + t2 = type; + } + + Container? search = this; + + while (search != null) { + if (search._singletons.containsKey(t2)) { + // Find a singleton, if any. + return search._singletons[t2] as T; + } else if (search._factories.containsKey(t2)) { + // Find a factory, if any. + return search._factories[t2]!(this) as T; + } else { + search = search._parent; + } + } + + var reflectedType = reflector.reflectType(t2); + var positional = []; + var named = {}; + + if (reflectedType is ReflectedClass) { + bool isDefault(String name) { + return name.isEmpty || name == reflectedType.name; + } + + var constructor = reflectedType.constructors.firstWhere( + (c) => isDefault(c.name), + orElse: (() => throw ReflectionException( + '${reflectedType.name} has no default constructor, and therefore cannot be instantiated.'))); + + for (var param in constructor.parameters) { + var value = make(param.type.reflectedType); + + if (param.isNamed) { + named[param.name] = value; + } else { + positional.add(value); + } + } + + return reflectedType.newInstance( + isDefault(constructor.name) ? '' : constructor.name, + positional, + named, []).reflectee as T; + } else { + throw ReflectionException( + '$t2 is not a class, and therefore cannot be instantiated.'); + } + } + + /// Shorthand for registering a factory that injects a singleton when it runs. + /// + /// In many cases, you might prefer this to [registerFactory]. + /// + /// Returns [f]. + T Function(Container) registerLazySingleton(T Function(Container) f, + {Type? as}) { + return registerFactory( + (container) { + var r = f(container); + container.registerSingleton(r, as: as); + return r; + }, + as: as, + ); + } + + /// Registers a factory. Any attempt to resolve the + /// type within *this* container will return the result of [f]. + /// + /// Returns [f]. + T Function(Container) registerFactory(T Function(Container) f, + {Type? as}) { + Type t2 = T; + if (as != null) { + t2 = as; + } + + if (_factories.containsKey(t2)) { + throw StateError('This container already has a factory for $t2.'); + } + + _factories[t2] = f; + return f; + } + + /// Registers a singleton. Any attempt to resolve the + /// type within *this* container will return [object]. + /// + /// Returns [object]. + T registerSingleton(T object, {Type? as}) { + Type t2 = T; + if (as != null) { + t2 = as; + } else if (T == dynamic) { + t2 = as ?? object.runtimeType; + } + //as ??= T == dynamic ? as : T; + + if (_singletons.containsKey(t2)) { + throw StateError('This container already has a singleton for $t2.'); + } + + _singletons[t2] = object; + return object; + } + + /// Finds a named singleton. + /// + /// In general, prefer using [registerSingleton] and [registerFactory]. + /// + /// [findByName] is best reserved for internal logic that end users of code should + /// not see. + T findByName(String name) { + if (_namedSingletons.containsKey(name)) { + return _namedSingletons[name] as T; + } else if (_parent != null) { + return _parent.findByName(name); + } else { + throw StateError( + 'This container does not have a singleton named "$name".'); + } + } + + /// Registers a *named* singleton. + /// + /// Note that this is not related to type-based injections, and exists as a mechanism + /// to enable injecting multiple instances of a type within the same container hierarchy. + T registerNamedSingleton(String name, T object) { + if (_namedSingletons.containsKey(name)) { + throw StateError('This container already has a singleton named "$name".'); + } + + _namedSingletons[name] = object; + return object; + } +} diff --git a/packages/container/container/lib/src/container_const.dart b/packages/container/container/lib/src/container_const.dart new file mode 100644 index 0000000..5a8fcaa --- /dev/null +++ b/packages/container/container/lib/src/container_const.dart @@ -0,0 +1,8 @@ +class ContainerConst { + static const String defaultErrorMessage = + 'You attempted to perform a reflective action, but you are using `ThrowingReflector`, ' + 'a class which disables reflection. Consider using the `MirrorsReflector` ' + 'class if you need reflection.'; + + ContainerConst._(); +} diff --git a/packages/container/container/lib/src/empty/empty.dart b/packages/container/container/lib/src/empty/empty.dart new file mode 100644 index 0000000..632acad --- /dev/null +++ b/packages/container/container/lib/src/empty/empty.dart @@ -0,0 +1,112 @@ +import '../../platform_container.dart'; + +final Map _symbolNames = {}; + +/// A [Reflector] implementation that performs no actual reflection, +/// instead returning empty objects on every invocation. +/// +/// Use this in contexts where you know you won't need any reflective capabilities. +class EmptyReflector extends Reflector { + /// A [RegExp] that can be used to extract the name of a symbol without reflection. + static final RegExp symbolRegex = RegExp(r'Symbol\("([^"]+)"\)'); + + const EmptyReflector(); + + @override + String? getName(Symbol symbol) { + return _symbolNames.putIfAbsent( + symbol, () => symbolRegex.firstMatch(symbol.toString())?.group(1)); + } + + @override + ReflectedClass reflectClass(Type clazz) { + return const _EmptyReflectedClass(); + } + + @override + ReflectedInstance reflectInstance(Object object) { + return const _EmptyReflectedInstance(); + } + + @override + ReflectedType reflectType(Type type) { + return const _EmptyReflectedType(); + } + + @override + ReflectedFunction reflectFunction(Function function) { + return const _EmptyReflectedFunction(); + } +} + +class _EmptyReflectedClass extends ReflectedClass { + const _EmptyReflectedClass() + : super( + '(empty)', + const [], + const [], + const [], + const [], + Object); + + @override + ReflectedInstance newInstance( + String constructorName, List positionalArguments, + [Map? namedArguments, List? typeArguments]) { + throw UnsupportedError( + 'Classes reflected via an EmptyReflector cannot be instantiated.'); + } + + @override + bool isAssignableTo(ReflectedType? other) { + return other == this; + } +} + +class _EmptyReflectedType extends ReflectedType { + const _EmptyReflectedType() + : super('(empty)', const [], Object); + + @override + ReflectedInstance newInstance( + String constructorName, List positionalArguments, + [Map namedArguments = const {}, + List typeArguments = const []]) { + throw UnsupportedError( + 'Types reflected via an EmptyReflector cannot be instantiated.'); + } + + @override + bool isAssignableTo(ReflectedType? other) { + return other == this; + } +} + +class _EmptyReflectedInstance extends ReflectedInstance { + const _EmptyReflectedInstance() + : super(const _EmptyReflectedType(), const _EmptyReflectedClass(), null); + + @override + ReflectedInstance getField(String name) { + throw UnsupportedError( + 'Instances reflected via an EmptyReflector cannot call getField().'); + } +} + +class _EmptyReflectedFunction extends ReflectedFunction { + const _EmptyReflectedFunction() + : super( + '(empty)', + const [], + const [], + const [], + false, + false, + returnType: const _EmptyReflectedType()); + + @override + ReflectedInstance invoke(Invocation invocation) { + throw UnsupportedError( + 'Instances reflected via an EmptyReflector cannot call invoke().'); + } +} diff --git a/packages/container/container/lib/src/exception.dart b/packages/container/container/lib/src/exception.dart new file mode 100644 index 0000000..7cedc82 --- /dev/null +++ b/packages/container/container/lib/src/exception.dart @@ -0,0 +1,8 @@ +class ReflectionException implements Exception { + final String message; + + ReflectionException(this.message); + + @override + String toString() => message; +} diff --git a/packages/container/container/lib/src/mirrors/mirrors.dart b/packages/container/container/lib/src/mirrors/mirrors.dart new file mode 100644 index 0000000..8e07029 --- /dev/null +++ b/packages/container/container/lib/src/mirrors/mirrors.dart @@ -0,0 +1 @@ +export 'reflector.dart'; diff --git a/packages/container/container/lib/src/mirrors/reflector.dart b/packages/container/container/lib/src/mirrors/reflector.dart new file mode 100644 index 0000000..e534fae --- /dev/null +++ b/packages/container/container/lib/src/mirrors/reflector.dart @@ -0,0 +1,252 @@ +import 'dart:async'; +import 'dart:mirrors' as dart; + +import '../exception.dart'; +import '../reflector.dart'; + +import 'package:quiver/core.dart'; + +/// A [Reflector] implementation that forwards to `dart:mirrors`. +/// +/// Useful on the server, where reflection is supported. +class MirrorsReflector extends Reflector { + const MirrorsReflector(); + + @override + String getName(Symbol symbol) => dart.MirrorSystem.getName(symbol); + + @override + ReflectedClass reflectClass(Type clazz) { + var mirror = dart.reflectType(clazz); + + if (mirror is dart.ClassMirror) { + return _ReflectedClassMirror(mirror); + } else { + throw ArgumentError('$clazz is not a class.'); + } + } + + @override + ReflectedFunction reflectFunction(Function function) { + var closure = dart.reflect(function) as dart.ClosureMirror; + return _ReflectedMethodMirror(closure.function, closure); + } + + @override + ReflectedType reflectType(Type type) { + var mirror = dart.reflectType(type); + + if (!mirror.hasReflectedType) { + return reflectType(dynamic); + } else { + if (mirror is dart.ClassMirror) { + return _ReflectedClassMirror(mirror); + } else { + return _ReflectedTypeMirror(mirror); + } + } + } + + @override + ReflectedType reflectFutureOf(Type type) { + var inner = reflectType(type); + dart.TypeMirror localMirror; + if (inner is _ReflectedClassMirror) { + localMirror = inner.mirror; + } else if (inner is _ReflectedTypeMirror) { + localMirror = inner.mirror; + } else { + throw ArgumentError('$type is not a class or type.'); + } + + var future = dart.reflectType(Future, [localMirror.reflectedType]); + return _ReflectedClassMirror(future as dart.ClassMirror); + } + + @override + ReflectedInstance reflectInstance(Object object) { + return _ReflectedInstanceMirror(dart.reflect(object)); + } +} + +class _ReflectedTypeParameter extends ReflectedTypeParameter { + final dart.TypeVariableMirror mirror; + + _ReflectedTypeParameter(this.mirror) + : super(dart.MirrorSystem.getName(mirror.simpleName)); +} + +class _ReflectedTypeMirror extends ReflectedType { + final dart.TypeMirror mirror; + + _ReflectedTypeMirror(this.mirror) + : super( + dart.MirrorSystem.getName(mirror.simpleName), + mirror.typeVariables.map((m) => _ReflectedTypeParameter(m)).toList(), + mirror.reflectedType, + ); + + @override + bool isAssignableTo(ReflectedType? other) { + if (other is _ReflectedClassMirror) { + return mirror.isAssignableTo(other.mirror); + } else if (other is _ReflectedTypeMirror) { + return mirror.isAssignableTo(other.mirror); + } else { + return false; + } + } + + @override + ReflectedInstance newInstance( + String constructorName, List positionalArguments, + [Map? namedArguments, List? typeArguments]) { + throw ReflectionException( + '$name is not a class, and therefore cannot be instantiated.'); + } +} + +class _ReflectedClassMirror extends ReflectedClass { + final dart.ClassMirror mirror; + + _ReflectedClassMirror(this.mirror) + : super( + dart.MirrorSystem.getName(mirror.simpleName), + mirror.typeVariables.map((m) => _ReflectedTypeParameter(m)).toList(), + [], + [], + _declarationsOf(mirror), + mirror.reflectedType, + ); + + static List _constructorsOf(dart.ClassMirror mirror) { + var out = []; + + for (var key in mirror.declarations.keys) { + var value = mirror.declarations[key]; + + if (value is dart.MethodMirror && value.isConstructor) { + out.add(_ReflectedMethodMirror(value)); + } + } + + return out; + } + + static List _declarationsOf(dart.ClassMirror mirror) { + var out = []; + + for (var key in mirror.declarations.keys) { + var value = mirror.declarations[key]; + + if (value is dart.MethodMirror && !value.isConstructor) { + out.add( + _ReflectedDeclarationMirror(dart.MirrorSystem.getName(key), value)); + } + } + + return out; + } + + @override + List get annotations => + mirror.metadata.map((m) => _ReflectedInstanceMirror(m)).toList(); + + @override + List get constructors => _constructorsOf(mirror); + + @override + bool isAssignableTo(ReflectedType? other) { + if (other is _ReflectedClassMirror) { + return mirror.isAssignableTo(other.mirror); + } else if (other is _ReflectedTypeMirror) { + return mirror.isAssignableTo(other.mirror); + } else { + return false; + } + } + + @override + ReflectedInstance newInstance( + String constructorName, List positionalArguments, + [Map? namedArguments, List? typeArguments]) { + return _ReflectedInstanceMirror( + mirror.newInstance(Symbol(constructorName), positionalArguments)); + } + + @override + bool operator ==(other) { + return other is _ReflectedClassMirror && other.mirror == mirror; + } + + @override + int get hashCode => hash2(mirror, " "); +} + +class _ReflectedDeclarationMirror extends ReflectedDeclaration { + final dart.MethodMirror mirror; + + _ReflectedDeclarationMirror(String name, this.mirror) + : super(name, mirror.isStatic, null); + + @override + bool get isStatic => mirror.isStatic; + + @override + ReflectedFunction get function => _ReflectedMethodMirror(mirror); +} + +class _ReflectedInstanceMirror extends ReflectedInstance { + final dart.InstanceMirror mirror; + + _ReflectedInstanceMirror(this.mirror) + : super(_ReflectedClassMirror(mirror.type), + _ReflectedClassMirror(mirror.type), mirror.reflectee); + + @override + ReflectedInstance getField(String name) { + return _ReflectedInstanceMirror(mirror.getField(Symbol(name))); + } +} + +class _ReflectedMethodMirror extends ReflectedFunction { + final dart.MethodMirror mirror; + final dart.ClosureMirror? closureMirror; + + _ReflectedMethodMirror(this.mirror, [this.closureMirror]) + : super( + dart.MirrorSystem.getName(mirror.simpleName), + [], + mirror.metadata + .map((mirror) => _ReflectedInstanceMirror(mirror)) + .toList(), + mirror.parameters.map(_reflectParameter).toList(), + mirror.isGetter, + mirror.isSetter, + returnType: !mirror.returnType.hasReflectedType + ? const MirrorsReflector().reflectType(dynamic) + : const MirrorsReflector() + .reflectType(mirror.returnType.reflectedType)); + + static ReflectedParameter _reflectParameter(dart.ParameterMirror mirror) { + return ReflectedParameter( + dart.MirrorSystem.getName(mirror.simpleName), + mirror.metadata + .map((mirror) => _ReflectedInstanceMirror(mirror)) + .toList(), + const MirrorsReflector().reflectType(mirror.type.reflectedType), + !mirror.isOptional, + mirror.isNamed); + } + + @override + ReflectedInstance invoke(Invocation invocation) { + if (closureMirror == null) { + throw StateError( + 'This object was reflected without a ClosureMirror, and therefore cannot be directly invoked.'); + } + + return _ReflectedInstanceMirror(closureMirror!.invoke(invocation.memberName, + invocation.positionalArguments, invocation.namedArguments)); + } +} diff --git a/packages/container/container/lib/src/reflectable/reflectable.dart b/packages/container/container/lib/src/reflectable/reflectable.dart new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/container/container/lib/src/reflectable/reflectable.dart @@ -0,0 +1 @@ + diff --git a/packages/container/container/lib/src/reflector.dart b/packages/container/container/lib/src/reflector.dart new file mode 100644 index 0000000..1f65135 --- /dev/null +++ b/packages/container/container/lib/src/reflector.dart @@ -0,0 +1,189 @@ +import 'package:collection/collection.dart'; +import 'package:quiver/core.dart'; + +abstract class Reflector { + const Reflector(); + + String? getName(Symbol symbol); + + ReflectedClass? reflectClass(Type clazz); + + ReflectedFunction? reflectFunction(Function function); + + ReflectedType? reflectType(Type type); + + ReflectedInstance? reflectInstance(Object object); + + ReflectedType reflectFutureOf(Type type) { + throw UnsupportedError('`reflectFutureOf` requires `dart:mirrors`.'); + } +} + +abstract class ReflectedInstance { + final ReflectedType type; + final ReflectedClass clazz; + final Object? reflectee; + + const ReflectedInstance(this.type, this.clazz, this.reflectee); + + @override + int get hashCode => hash2(type, clazz); + + @override + bool operator ==(other) => + other is ReflectedInstance && other.type == type && other.clazz == clazz; + + ReflectedInstance getField(String name); +} + +abstract class ReflectedType { + final String name; + final List typeParameters; + final Type reflectedType; + + const ReflectedType(this.name, this.typeParameters, this.reflectedType); + + @override + int get hashCode => hash3(name, typeParameters, reflectedType); + + @override + bool operator ==(other) => + other is ReflectedType && + other.name == name && + const ListEquality() + .equals(other.typeParameters, typeParameters) && + other.reflectedType == reflectedType; + + ReflectedInstance newInstance( + String constructorName, List positionalArguments, + [Map namedArguments = const {}, + List typeArguments = const []]); + + bool isAssignableTo(ReflectedType? other); +} + +abstract class ReflectedClass extends ReflectedType { + final List annotations; + final List constructors; + final List declarations; + + const ReflectedClass( + String name, + List typeParameters, + this.annotations, + this.constructors, + this.declarations, + Type reflectedType) + : super(name, typeParameters, reflectedType); + + @override + int get hashCode => + hash4(super.hashCode, annotations, constructors, declarations); + + @override + bool operator ==(other) => + other is ReflectedClass && + super == other && + const ListEquality() + .equals(other.annotations, annotations) && + const ListEquality() + .equals(other.constructors, constructors) && + const ListEquality() + .equals(other.declarations, declarations); +} + +class ReflectedDeclaration { + final String name; + final bool isStatic; + final ReflectedFunction? function; + + const ReflectedDeclaration(this.name, this.isStatic, this.function); + + @override + int get hashCode => hash3(name, isStatic, function); + + @override + bool operator ==(other) => + other is ReflectedDeclaration && + other.name == name && + other.isStatic == isStatic && + other.function == function; +} + +abstract class ReflectedFunction { + final String name; + final List typeParameters; + final List annotations; + final ReflectedType? returnType; + final List parameters; + final bool isGetter, isSetter; + + const ReflectedFunction(this.name, this.typeParameters, this.annotations, + this.parameters, this.isGetter, this.isSetter, + {this.returnType}); + + @override + int get hashCode => hashObjects([ + name, + typeParameters, + annotations, + returnType, + parameters, + isGetter, + isSetter + ]); + + @override + bool operator ==(other) => + other is ReflectedFunction && + other.name == name && + const ListEquality() + .equals(other.typeParameters, typeParameters) && + const ListEquality() + .equals(other.annotations, annotations) && + other.returnType == returnType && + const ListEquality() + .equals(other.parameters, other.parameters) && + other.isGetter == isGetter && + other.isSetter == isSetter; + + ReflectedInstance invoke(Invocation invocation); +} + +class ReflectedParameter { + final String name; + final List annotations; + final ReflectedType type; + final bool isRequired; + final bool isNamed; + + const ReflectedParameter( + this.name, this.annotations, this.type, this.isRequired, this.isNamed); + + @override + int get hashCode => + hashObjects([name, annotations, type, isRequired, isNamed]); + + @override + bool operator ==(other) => + other is ReflectedParameter && + other.name == name && + const ListEquality() + .equals(other.annotations, annotations) && + other.type == type && + other.isRequired == isRequired && + other.isNamed == isNamed; +} + +class ReflectedTypeParameter { + final String name; + + const ReflectedTypeParameter(this.name); + + @override + int get hashCode => hashObjects([name]); + + @override + bool operator ==(other) => + other is ReflectedTypeParameter && other.name == name; +} diff --git a/packages/container/container/lib/src/static/static.dart b/packages/container/container/lib/src/static/static.dart new file mode 100644 index 0000000..0a91526 --- /dev/null +++ b/packages/container/container/lib/src/static/static.dart @@ -0,0 +1,61 @@ +import '../reflector.dart'; + +/// A [Reflector] implementation that performs simple [Map] lookups. +/// +/// `package:angel_container_generator` uses this to create reflectors from analysis metadata. +class StaticReflector extends Reflector { + final Map names; + final Map types; + final Map functions; + final Map instances; + + const StaticReflector( + {this.names = const {}, + this.types = const {}, + this.functions = const {}, + this.instances = const {}}); + + @override + String? getName(Symbol symbol) { + if (!names.containsKey(symbol)) { + throw ArgumentError( + 'The value of $symbol is unknown - it was not generated.'); + } + + return names[symbol]; + } + + @override + ReflectedClass? reflectClass(Type clazz) => + reflectType(clazz) as ReflectedClass?; + + @override + ReflectedFunction? reflectFunction(Function function) { + if (!functions.containsKey(function)) { + throw ArgumentError( + 'There is no reflection information available about $function.'); + } + + return functions[function]; + } + + @override + ReflectedInstance? reflectInstance(Object object) { + if (!instances.containsKey(object)) { + throw ArgumentError( + 'There is no reflection information available about $object.'); + } + + return instances[object]; + } + + @override + ReflectedType? reflectType(Type type) { + if (!types.containsKey(type)) { + throw ArgumentError( + 'There is no reflection information available about $type.'); + } + + return types[type]; + } +} diff --git a/packages/container/container/lib/src/throwing.dart b/packages/container/container/lib/src/throwing.dart new file mode 100644 index 0000000..9d91c23 --- /dev/null +++ b/packages/container/container/lib/src/throwing.dart @@ -0,0 +1,40 @@ +import 'package:platform_container/src/container_const.dart'; + +import 'empty/empty.dart'; +import 'reflector.dart'; + +/// A [Reflector] implementation that throws exceptions on all attempts +/// to perform reflection. +/// +/// Use this in contexts where you know you won't need any reflective capabilities. +class ThrowingReflector extends Reflector { + /// The error message to give the end user when an [UnsupportedError] is thrown. + final String errorMessage; + + /* + static const String defaultErrorMessage = + 'You attempted to perform a reflective action, but you are using `ThrowingReflector`, ' + 'a class which disables reflection. Consider using the `MirrorsReflector` ' + 'class if you need reflection.'; + */ + + const ThrowingReflector( + {this.errorMessage = ContainerConst.defaultErrorMessage}); + + @override + String? getName(Symbol symbol) => const EmptyReflector().getName(symbol); + + UnsupportedError _error() => UnsupportedError(errorMessage); + + @override + ReflectedClass reflectClass(Type clazz) => throw _error(); + + @override + ReflectedInstance reflectInstance(Object object) => throw _error(); + + @override + ReflectedType reflectType(Type type) => throw _error(); + + @override + ReflectedFunction reflectFunction(Function function) => throw _error(); +} diff --git a/packages/container/container/pubspec.yaml b/packages/container/container/pubspec.yaml new file mode 100644 index 0000000..0a9b64f --- /dev/null +++ b/packages/container/container/pubspec.yaml @@ -0,0 +1,13 @@ +name: platform_container +version: 9.0.0 +description: Protevus Platform hierarchical DI container, and pluggable backends for reflection. +homepage: https://angel3-framework.web.app/ +repository: https://github.com/dart-backend/angel/tree/master/packages/container/angel_container +environment: + sdk: '>=3.3.0 <4.0.0' +dependencies: + collection: ^1.17.0 + quiver: ^3.2.0 +dev_dependencies: + test: ^1.24.0 + lints: ^4.0.0 \ No newline at end of file diff --git a/packages/container/container/test/common.dart b/packages/container/container/test/common.dart new file mode 100644 index 0000000..7d5ee0a --- /dev/null +++ b/packages/container/container/test/common.dart @@ -0,0 +1,122 @@ +import 'dart:async'; + +import 'package:platform_container/platform_container.dart'; +import 'package:test/test.dart'; + +void returnVoidFromAFunction(int x) {} + +void testReflector(Reflector reflector) { + var blaziken = Pokemon('Blaziken', PokemonType.fire); + late Container container; + + setUp(() { + container = Container(reflector); + container.registerSingleton(blaziken); + container.registerFactory>((_) async => 46); + }); + + test('get field', () { + var blazikenMirror = reflector.reflectInstance(blaziken)!; + expect(blazikenMirror.getField('type').reflectee, blaziken.type); + }); + + group('reflectFunction', () { + var mirror = reflector.reflectFunction(returnVoidFromAFunction); + + test('void return type returns dynamic', () { + expect(mirror!.returnType, reflector.reflectType(dynamic)); + }); + + test('counts parameters', () { + expect(mirror!.parameters, hasLength(1)); + }); + + test('counts types parameters', () { + expect(mirror!.typeParameters, isEmpty); + }); + + test('correctly reflects parameter types', () { + var p = mirror!.parameters[0]; + expect(p.name, 'x'); + expect(p.isRequired, true); + expect(p.isNamed, false); + expect(p.annotations, isEmpty); + expect(p.type, reflector.reflectType(int)); + }); + }); + + test('make on singleton type returns singleton', () { + expect(container.make(Pokemon), blaziken); + }); + + test('make with generic returns same as make with explicit type', () { + expect(container.make(), blaziken); + }); + + test('make async returns async object', () async { + expect(container.makeAsync(), completion(46)); + }); + + test('make async returns sync object', () async { + expect(container.makeAsync(), completion(blaziken)); + }); + + test('make on aliased singleton returns singleton', () { + container.registerSingleton(blaziken, as: StateError); + expect(container.make(StateError), blaziken); + }); + + test('constructor injects singleton', () { + var lower = container.make(); + expect(lower.lowercaseName, blaziken.name.toLowerCase()); + }); + + test('newInstance works', () { + var type = container.reflector.reflectType(Pokemon)!; + var instance = + type.newInstance('changeName', [blaziken, 'Charizard']).reflectee + as Pokemon; + print(instance); + expect(instance.name, 'Charizard'); + expect(instance.type, PokemonType.fire); + }); + + test('isAssignableTo', () { + var pokemonType = container.reflector.reflectType(Pokemon); + var kantoPokemonType = container.reflector.reflectType(KantoPokemon)!; + + expect(kantoPokemonType.isAssignableTo(pokemonType), true); + expect( + kantoPokemonType + .isAssignableTo(container.reflector.reflectType(String)), + false); + }); +} + +class LowerPokemon { + final Pokemon pokemon; + + LowerPokemon(this.pokemon); + + String get lowercaseName => pokemon.name.toLowerCase(); +} + +class Pokemon { + final String name; + final PokemonType type; + + Pokemon(this.name, this.type); + + factory Pokemon.changeName(Pokemon other, String name) { + return Pokemon(name, other.type); + } + + @override + String toString() => 'NAME: $name, TYPE: $type'; +} + +class KantoPokemon extends Pokemon { + KantoPokemon(super.name, super.type); +} + +enum PokemonType { water, fire, grass, ice, poison, flying } diff --git a/packages/container/container/test/empty_reflector_test.dart b/packages/container/container/test/empty_reflector_test.dart new file mode 100644 index 0000000..ad3d8f0 --- /dev/null +++ b/packages/container/container/test/empty_reflector_test.dart @@ -0,0 +1,138 @@ +import 'package:platform_container/platform_container.dart'; +import 'package:test/test.dart'; + +void main() { + var reflector = const EmptyReflector(); + + test('getName', () { + expect(reflector.getName(#foo), 'foo'); + expect(reflector.getName(#==), '=='); + }); + + group('reflectClass', () { + var mirror = reflector.reflectClass(Truck); + + test('name returns empty', () { + expect(mirror.name, '(empty)'); + }); + + test('annotations returns empty', () { + expect(mirror.annotations, isEmpty); + }); + + test('typeParameters returns empty', () { + expect(mirror.typeParameters, isEmpty); + }); + + test('declarations returns empty', () { + expect(mirror.declarations, isEmpty); + }); + + test('constructors returns empty', () { + expect(mirror.constructors, isEmpty); + }); + + test('reflectedType returns Object', () { + expect(mirror.reflectedType, Object); + }); + + test('cannot call newInstance', () { + expect(() => mirror.newInstance('', []), throwsUnsupportedError); + }); + + test('isAssignableTo self', () { + expect(mirror.isAssignableTo(mirror), true); + }); + }); + + group('reflectType', () { + var mirror = reflector.reflectType(Truck); + + test('name returns empty', () { + expect(mirror.name, '(empty)'); + }); + + test('typeParameters returns empty', () { + expect(mirror.typeParameters, isEmpty); + }); + + test('reflectedType returns Object', () { + expect(mirror.reflectedType, Object); + }); + + test('cannot call newInstance', () { + expect(() => mirror.newInstance('', []), throwsUnsupportedError); + }); + + test('isAssignableTo self', () { + expect(mirror.isAssignableTo(mirror), true); + }); + }); + + group('reflectFunction', () { + void doIt(int x) {} + + var mirror = reflector.reflectFunction(doIt); + + test('name returns empty', () { + expect(mirror.name, '(empty)'); + }); + + test('annotations returns empty', () { + expect(mirror.annotations, isEmpty); + }); + + test('typeParameters returns empty', () { + expect(mirror.typeParameters, isEmpty); + }); + + test('parameters returns empty', () { + expect(mirror.parameters, isEmpty); + }); + + test('return type is dynamic', () { + expect(mirror.returnType, reflector.reflectType(dynamic)); + }); + + test('isGetter returns false', () { + expect(mirror.isGetter, false); + }); + + test('isSetter returns false', () { + expect(mirror.isSetter, false); + }); + + test('cannot invoke', () { + var invocation = Invocation.method(#drive, []); + expect(() => mirror.invoke(invocation), throwsUnsupportedError); + }); + }); + + group('reflectInstance', () { + var mirror = reflector.reflectInstance(Truck()); + + test('reflectee returns null', () { + expect(mirror.reflectee, null); + }); + + test('type returns empty', () { + expect(mirror.type.name, '(empty)'); + }); + + test('clazz returns empty', () { + expect(mirror.clazz.name, '(empty)'); + }); + + test('cannot getField', () { + expect(() => mirror.getField('wheelCount'), throwsUnsupportedError); + }); + }); +} + +class Truck { + int get wheelCount => 4; + + void drive() { + print('Vroom!!!'); + } +} diff --git a/packages/container/container/test/has_test.dart b/packages/container/container/test/has_test.dart new file mode 100644 index 0000000..5dc313c --- /dev/null +++ b/packages/container/container/test/has_test.dart @@ -0,0 +1,51 @@ +import 'package:platform_container/platform_container.dart'; +import 'package:test/test.dart'; + +void main() { + late Container container; + + setUp(() { + container = Container(const EmptyReflector()) + ..registerSingleton(Song(title: 'I Wish')) + ..registerNamedSingleton('foo', 1) + ..registerFactory((container) { + return Artist( + name: 'Stevie Wonder', + song: container.make(), + ); + }); + }); + + test('hasNamed', () { + var child = container.createChild()..registerNamedSingleton('bar', 2); + expect(child.hasNamed('foo'), true); + expect(child.hasNamed('bar'), true); + expect(child.hasNamed('baz'), false); + }); + + test('has on singleton', () { + var result = container.has(); + expect(result, true); + }); + + test('has on factory', () { + expect(container.has(), true); + }); + + test('false if neither', () { + expect(container.has(), false); + }); +} + +class Artist { + final String? name; + final Song? song; + + Artist({this.name, this.song}); +} + +class Song { + final String? title; + + Song({this.title}); +} diff --git a/packages/container/container/test/lazy_test.dart b/packages/container/container/test/lazy_test.dart new file mode 100644 index 0000000..5fa6acf --- /dev/null +++ b/packages/container/container/test/lazy_test.dart @@ -0,0 +1,18 @@ +import 'package:platform_container/platform_container.dart'; +import 'package:test/test.dart'; + +void main() { + test('returns the same instance', () { + var container = Container(const EmptyReflector()) + ..registerLazySingleton((_) => Dummy('a')); + + var first = container.make(); + expect(container.make(), first); + }); +} + +class Dummy { + final String s; + + Dummy(this.s); +} diff --git a/packages/container/container/test/mirrors_test.dart b/packages/container/container/test/mirrors_test.dart new file mode 100644 index 0000000..fea687d --- /dev/null +++ b/packages/container/container/test/mirrors_test.dart @@ -0,0 +1,26 @@ +import 'dart:async'; +import 'package:platform_container/platform_container.dart'; +import 'package:platform_container/mirrors.dart'; +import 'package:test/test.dart'; +import 'common.dart'; + +void main() { + testReflector(const MirrorsReflector()); + + test('futureOf', () { + var r = MirrorsReflector(); + var fStr = r.reflectFutureOf(String); + expect(fStr.reflectedType.toString(), 'Future'); + // expect(fStr.reflectedType, Future.value(null).runtimeType); + }); + + test('concrete future make', () async { + var c = Container(MirrorsReflector()); + c.registerFactory>((_) async => 'hey'); + var fStr = c.reflector.reflectFutureOf(String); + var s1 = await c.make(fStr.reflectedType); + var s2 = await c.makeAsync(String); + print([s1, s2]); + expect(s1, s2); + }); +} diff --git a/packages/container/container/test/named_test.dart b/packages/container/container/test/named_test.dart new file mode 100644 index 0000000..e698cf6 --- /dev/null +++ b/packages/container/container/test/named_test.dart @@ -0,0 +1,34 @@ +import 'package:platform_container/platform_container.dart'; +import 'package:test/test.dart'; + +void main() { + late Container container; + + setUp(() { + container = Container(const EmptyReflector()); + container.registerNamedSingleton('foo', Foo(bar: 'baz')); + }); + + test('fetch by name', () { + expect(container.findByName('foo').bar, 'baz'); + }); + + test('cannot redefine', () { + expect(() => container.registerNamedSingleton('foo', Foo(bar: 'quux')), + throwsStateError); + }); + + test('throws on unknown name', () { + expect(() => container.findByName('bar'), throwsStateError); + }); + + test('throws on incorrect type', () { + expect(() => container.findByName>('foo'), throwsA(anything)); + }); +} + +class Foo { + final String? bar; + + Foo({this.bar}); +} diff --git a/packages/container/container/test/throwing_reflector_test.dart b/packages/container/container/test/throwing_reflector_test.dart new file mode 100644 index 0000000..fab5265 --- /dev/null +++ b/packages/container/container/test/throwing_reflector_test.dart @@ -0,0 +1,36 @@ +import 'package:platform_container/platform_container.dart'; +import 'package:test/test.dart'; + +void main() { + var reflector = const ThrowingReflector(); + + test('getName', () { + expect(reflector.getName(#foo), 'foo'); + expect(reflector.getName(#==), '=='); + }); + + test('reflectClass fails', () { + expect(() => reflector.reflectClass(Truck), throwsUnsupportedError); + }); + + test('reflectType fails', () { + expect(() => reflector.reflectType(Truck), throwsUnsupportedError); + }); + + test('reflectFunction throws', () { + void doIt(int x) {} + expect(() => reflector.reflectFunction(doIt), throwsUnsupportedError); + }); + + test('reflectInstance throws', () { + expect(() => reflector.reflectInstance(Truck()), throwsUnsupportedError); + }); +} + +class Truck { + int get wheelCount => 4; + + void drive() { + print('Vroom!!!'); + } +} diff --git a/packages/container/container_generator/.gitignore b/packages/container/container_generator/.gitignore new file mode 100644 index 0000000..7bf00e8 --- /dev/null +++ b/packages/container/container_generator/.gitignore @@ -0,0 +1,13 @@ +# See https://www.dartlang.org/guides/libraries/private-files + +# Files and directories created by pub +.dart_tool/ +.packages +.pub/ +build/ +# If you're building an application, you may want to check-in your pubspec.lock +pubspec.lock + +# Directory created by dartdoc +# If you don't generate documentation locally you can remove this line. +doc/api/ diff --git a/packages/container/container_generator/CHANGELOG.md b/packages/container/container_generator/CHANGELOG.md new file mode 100644 index 0000000..ff1e266 --- /dev/null +++ b/packages/container/container_generator/CHANGELOG.md @@ -0,0 +1,58 @@ +# Change Log + +## 8.1.1 + +* Updated repository link + +## 8.1.0 + +* Updated `lints` to 3.0.0 +* Fixed analyser warnings + +## 8.0.0 + +* Require Dart >= 3.0 + +## 7.1.0-beta.1 + +* Require Dart >= 2.19 +* Upgraded `relectable` to 4.x.x + +## 7.0.0 + +* Require Dart >= 2.17 + +## 6.0.0 + +* Require Dart >= 2.16 + +## 5.0.0 + +* Skipped release + +## 4.0.0 + +* Skipped release + +## 3.0.1 + +* Updated `package:angel3_container` + +## 3.0.0 + +* Fixed NNBD issues +* All 9 test cases passed + +## 3.0.0-beta.1 + +* Migrated to support Dart >= 2.12 NNBD +* Updated linter to `package:lints` +* Updated to use `angel3_` packages + +## 2.0.0 + +* Migrated to work with Dart >= 2.12 Non NNBD + +## 1.0.1 + +* Update for `pkg:angel_container@1.0.3`. diff --git a/packages/container/container_generator/LICENSE b/packages/container/container_generator/LICENSE new file mode 100644 index 0000000..df5e063 --- /dev/null +++ b/packages/container/container_generator/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2021, dukefirehawk.com +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/packages/container/container_generator/README.md b/packages/container/container_generator/README.md new file mode 100644 index 0000000..8666046 --- /dev/null +++ b/packages/container/container_generator/README.md @@ -0,0 +1,32 @@ +# Angel3 Container Generator + +![Pub Version (including pre-releases)](https://img.shields.io/pub/v/angel3_container_generator?include_prereleases) +[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) +[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion) +[![License](https://img.shields.io/github/license/dart-backend/angel)](https://github.com/dart-backend/angel/tree/master/packages/container/angel3_container_generator/LICENSE) + +An alternative container for Angel3 that uses `reflectable` package instead of `dart:mirrors` for reflection. However, `reflectable` has more limited relfection capabilities when compared to `dart:mirrors`. + +## Usage + +* Annotable the class with `@contained`. +* Run `dart run build_runner build ` +* Alternatively create a `build.xml` file with the following content + + ```yaml + targets: + $default: + builders: + reflectable: + generate_for: + - bin/**_controller.dart + options: + formatted: true + ``` + +## Known limitation + +* `analyser` 6.x is not supported due to `reflectable` +* Reflection on functions/closures is not supported +* Reflection on private declarations is not supported +* Reflection on generic type is not supported diff --git a/packages/container/container_generator/analysis_options.yaml b/packages/container/container_generator/analysis_options.yaml new file mode 100644 index 0000000..ea2c9e9 --- /dev/null +++ b/packages/container/container_generator/analysis_options.yaml @@ -0,0 +1 @@ +include: package:lints/recommended.yaml \ No newline at end of file diff --git a/packages/container/container_generator/example/main.dart b/packages/container/container_generator/example/main.dart new file mode 100644 index 0000000..ad25aff --- /dev/null +++ b/packages/container/container_generator/example/main.dart @@ -0,0 +1,75 @@ +import 'dart:async'; + +import 'package:platform_container/platform_container.dart'; +import 'package:platform_container_generator/angel3_container_generator.dart'; + +Future main() async { + // Create a container instance. + Container container = Container(GeneratedReflector()); + + // Register a singleton. + container.registerSingleton(Engine(40)); + + // You can also omit the type annotation, in which the object's runtime type will be used. + // If you're injecting an abstract class, prefer the type annotation. + // + // container.registerSingleton(Engine(40)); + + // Register a factory that creates a truck. + container.registerFactory((container) { + return _TruckImpl(container.make()); + }); + + // Use `make` to create an instance. + var truck = container.make(); + + // You can also resolve injections asynchronously. + container.registerFactory>((_) async => 24); + print(await container.makeAsync()); + + // Asynchronous resolution also works for plain objects. + await container.makeAsync().then((t) => t.drive()); + + // Register a named singleton. + container.registerNamedSingleton('the_truck', truck); + + // Should print: 'Vroom! I have 40 horsepower in my engine.' + truck.drive(); + + // Should print the same. + container.findByName('the_truck').drive(); + + // We can make a child container with its own factory. + var childContainer = container.createChild(); + + childContainer.registerFactory((container) { + return _TruckImpl(Engine(5666)); + }); + + // Make a truck with 5666 HP. + childContainer.make().drive(); + + // However, calling `make` will return the Engine singleton we created above. + print(childContainer.make().horsePower); +} + +abstract class Truck { + void drive(); +} + +class Engine { + final int horsePower; + + Engine(this.horsePower); +} + +class _TruckImpl implements Truck { + final Engine engine; + + _TruckImpl(this.engine); + + @override + void drive() { + print('Vroom! I have ${engine.horsePower} horsepower in my engine.'); + } +} diff --git a/packages/container/container_generator/example/main.reflectable.dart b/packages/container/container_generator/example/main.reflectable.dart new file mode 100644 index 0000000..521298f --- /dev/null +++ b/packages/container/container_generator/example/main.reflectable.dart @@ -0,0 +1,6520 @@ +// This file has been generated by the reflectable package. +// https://github.com/dart-lang/reflectable. + +import 'dart:core'; +import 'dart:math' as prefix6; +import 'package:platform_container_generator/angel3_container_generator.dart' + as prefix0; +import 'package:reflectable/capability.dart' as prefix5; +import 'package:reflectable/mirrors.dart' as prefix4; +import 'package:reflectable/reflectable.dart' as prefix1; +import 'package:reflectable/src/reflectable_base.dart' as prefix3; +import 'package:reflectable/src/reflectable_builder_based.dart' as prefix2; + +// ignore_for_file: camel_case_types +// ignore_for_file: implementation_imports +// ignore_for_file: prefer_adjacent_string_concatenation +// ignore_for_file: prefer_collection_literals +// ignore_for_file: unnecessary_const + +// ignore:unused_import +import 'package:reflectable/mirrors.dart' as m; +// ignore:unused_import +import 'package:reflectable/src/reflectable_builder_based.dart' as r; +// ignore:unused_import +import 'package:reflectable/reflectable.dart' as r show Reflectable; + +final _data = { + const prefix0.ContainedReflectable(): r.ReflectorData( + [ + r.NonGenericClassMirrorImpl( + r'ContainedReflectable', + r'.ContainedReflectable', + 134217735, + 0, + const prefix0.ContainedReflectable(), + const [67], + const [68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80], + const [], + 1, + {}, + {}, + {r'': (bool b) => () => b ? prefix0.ContainedReflectable() : null}, + 0, + 0, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'Reflectable', + r'reflectable.reflectable.Reflectable', + 134218247, + 1, + const prefix0.ContainedReflectable(), + const [27, 28, 81, 84, 85], + const [68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80], + const [81, 82, 83], + 2, + { + r'getInstance': () => prefix1.Reflectable.getInstance, + r'thisClassName': () => prefix1.Reflectable.thisClassName, + r'thisClassId': () => prefix1.Reflectable.thisClassId + }, + {}, + {}, + 1, + 1, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'ReflectableImpl', + r'reflectable.src.reflectable_builder_based.ReflectableImpl', + 134218247, + 2, + const prefix0.ContainedReflectable(), + const [74, 75, 76, 77, 78, 79, 80, 86, 87], + const [68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80], + const [], + 3, + {}, + {}, + {}, + 2, + 2, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'ReflectableBase', + r'reflectable.src.reflectable_base.ReflectableBase', + 134217735, + 3, + const prefix0.ContainedReflectable(), + const [73, 88, 89], + const [68, 69, 70, 71, 72, 73], + const [], + 4, + {}, + {}, + { + r'': (bool b) => ( + [_cap0, + _cap1, + _cap2, + _cap3, + _cap4, + _cap5, + _cap6, + _cap7, + _cap8, + _cap9]) => + b + ? prefix3.ReflectableBase(_cap0, _cap1, _cap2, _cap3, + _cap4, _cap5, _cap6, _cap7, _cap8, _cap9) + : null, + r'fromList': (bool b) => (_capabilities) => + b ? prefix3.ReflectableBase.fromList(_capabilities) : null + }, + 3, + 3, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'Object', + r'dart.core.Object', + 134217735, + 4, + const prefix0.ContainedReflectable(), + const [68, 69, 70, 90, 91, 92, 71, 72, 93], + const [68, 69, 70, 71, 72], + const [90, 91, 92], + null, + { + r'hash': () => Object.hash, + r'hashAll': () => Object.hashAll, + r'hashAllUnordered': () => Object.hashAllUnordered + }, + {}, + {r'': (bool b) => () => b ? Object() : null}, + 4, + 4, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'Invocation', + r'dart.core.Invocation', + 134218247, + 5, + const prefix0.ContainedReflectable(), + const [ + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106 + ], + const [68, 69, 70, 71, 72, 95, 101], + const [], + 4, + {}, + {}, + { + r'method': (bool b) => + (memberName, positionalArguments, [namedArguments]) => b + ? Invocation.method( + memberName, positionalArguments, namedArguments) + : null, + r'genericMethod': (bool b) => (memberName, typeArguments, + positionalArguments, [namedArguments]) => + b + ? Invocation.genericMethod(memberName, typeArguments, + positionalArguments, namedArguments) + : null, + r'getter': (bool b) => + (name) => b ? Invocation.getter(name) : null, + r'setter': (bool b) => (memberName, argument) => + b ? Invocation.setter(memberName, argument) : null + }, + 4, + 5, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'Type', + r'dart.core.Type', + 134218247, + 6, + const prefix0.ContainedReflectable(), + const [107, 108, 109, 110], + const [68, 69, 70, 71, 72], + const [], + 4, + {}, + {}, + {}, + 4, + 6, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'String', + r'dart.core.String', + 134218247, + 7, + const prefix0.ContainedReflectable(), + const [ + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145 + ], + const [68, 69, 70, 71, 72], + const [], + 4, + {}, + {}, + { + r'fromCharCodes': (bool b) => (charCodes, [start, end]) => + b ? String.fromCharCodes(charCodes, start, end) : null, + r'fromCharCode': (bool b) => + (charCode) => b ? String.fromCharCode(charCode) : null, + r'fromEnvironment': (bool b) => (name, {defaultValue}) => b + ? String.fromEnvironment(name, defaultValue: defaultValue) + : null + }, + 4, + 7, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'bool', + r'dart.core.bool', + 134217735, + 8, + const prefix0.ContainedReflectable(), + const [146, 147, 148, 149, 150, 151, 152, 153, 154], + const [68, 151, 70, 152, 72, 148, 149, 150], + const [146, 147], + 4, + {r'parse': () => bool.parse, r'tryParse': () => bool.tryParse}, + {}, + { + r'fromEnvironment': (bool b) => (name, {defaultValue}) => b + ? bool.fromEnvironment(name, defaultValue: defaultValue) + : null, + r'hasEnvironment': (bool b) => + (name) => b ? bool.hasEnvironment(name) : null + }, + 4, + 8, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'int', + r'dart.core.int', + 134218247, + 9, + const prefix0.ContainedReflectable(), + const [ + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185 + ], + const [68, 69, 70, 71, 72], + const [179, 180], + -1, + {r'parse': () => int.parse, r'tryParse': () => int.tryParse}, + {}, + { + r'fromEnvironment': (bool b) => (name, {defaultValue}) => b + ? int.fromEnvironment(name, defaultValue: defaultValue) + : null + }, + 4, + 9, + const [], + const [], + null), + r.GenericClassMirrorImpl( + r'List', + r'dart.core.List', + 134218247, + 10, + const prefix0.ContainedReflectable(), + const [ + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228 + ], + const [68, 69, 70, 71, 72], + const [186, 187, 188], + 4, + { + r'castFrom': () => List.castFrom, + r'copyRange': () => List.copyRange, + r'writeIterable': () => List.writeIterable + }, + {}, + { + r'filled': (bool b) => (length, fill, {growable}) => + b ? List.filled(length, fill, growable: growable) : null, + r'empty': (bool b) => + ({growable}) => b ? List.empty(growable: growable) : null, + r'from': (bool b) => (elements, {growable}) => + b ? List.from(elements, growable: growable) : null, + r'of': (bool b) => (elements, {growable}) => + b ? List.of(elements, growable: growable) : null, + r'generate': (bool b) => (length, generator, {growable}) => b + ? List.generate(length, generator, growable: growable) + : null, + r'unmodifiable': (bool b) => + (elements) => b ? List.unmodifiable(elements) : null + }, + 4, + 10, + const [15], + const [], + null, + (o) => false, + const [17], + 10), + r.NonGenericClassMirrorImpl( + r'InstanceMirror', + r'reflectable.mirrors.InstanceMirror', + 134218247, + 11, + const prefix0.ContainedReflectable(), + const [229, 230, 231, 232, 233, 234, 235], + const [68, 69, 70, 71, 72], + const [], + 4, + {}, + {}, + {}, + 5, + 11, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'TypeMirror', + r'reflectable.mirrors.TypeMirror', + 134218247, + 12, + const prefix0.ContainedReflectable(), + const [ + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249 + ], + const [68, 69, 70, 71, 72], + const [], + 4, + {}, + {}, + {}, + 5, + 12, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'LibraryMirror', + r'reflectable.mirrors.LibraryMirror', + 134218247, + 13, + const prefix0.ContainedReflectable(), + const [250, 251, 252, 253, 254, 255, 256], + const [68, 69, 70, 71, 72], + const [], + 4, + {}, + {}, + {}, + 5, + 13, + const [], + const [], + null), + r.GenericClassMirrorImpl( + r'Map', + r'dart.core.Map', + 134218247, + 14, + const prefix0.ContainedReflectable(), + const [ + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286 + ], + const [68, 69, 70, 71, 72], + const [257], + 4, + {r'castFrom': () => Map.castFrom}, + {}, + { + r'': (bool b) => () => b ? Map() : null, + r'from': (bool b) => (other) => b ? Map.from(other) : null, + r'of': (bool b) => (other) => b ? Map.of(other) : null, + r'unmodifiable': (bool b) => + (other) => b ? Map.unmodifiable(other) : null, + r'identity': (bool b) => () => b ? Map.identity() : null, + r'fromIterable': (bool b) => (iterable, {key, value}) => + b ? Map.fromIterable(iterable, key: key, value: value) : null, + r'fromIterables': (bool b) => + (keys, values) => b ? Map.fromIterables(keys, values) : null, + r'fromEntries': (bool b) => + (entries) => b ? Map.fromEntries(entries) : null + }, + 4, + 14, + const [], + const [], + null, + (o) => false, + const [18, 19], + 14), + r.GenericClassMirrorImpl( + r'Iterable', + r'dart.core.Iterable', + 134218247, + 15, + const prefix0.ContainedReflectable(), + const [ + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323 + ], + const [ + 68, + 311, + 70, + 71, + 72, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 315, + 316, + 317, + 318, + 319, + 320 + ], + const [287, 312, 313], + 4, + { + r'castFrom': () => Iterable.castFrom, + r'iterableToShortString': () => Iterable.iterableToShortString, + r'iterableToFullString': () => Iterable.iterableToFullString + }, + {}, + { + r'generate': (bool b) => (count, [generator]) => + b ? Iterable.generate(count, generator) : null, + r'empty': (bool b) => () => b ? Iterable.empty() : null + }, + 4, + 15, + const [], + const [], + null, + (o) => false, + const [20], + 15), + r.NonGenericClassMirrorImpl( + r'ReflectCapability', + r'reflectable.capability.ReflectCapability', + 134218247, + 16, + const prefix0.ContainedReflectable(), + const [324], + const [68, 69, 70, 71, 72], + const [], + 4, + {}, + {}, + {}, + 6, + 16, + const [], + const [], + null), + r.TypeVariableMirrorImpl(r'E', r'dart.core.List.E', + const prefix0.ContainedReflectable(), 4, 10, []), + r.TypeVariableMirrorImpl(r'K', r'dart.core.Map.K', + const prefix0.ContainedReflectable(), 4, 14, []), + r.TypeVariableMirrorImpl(r'V', r'dart.core.Map.V', + const prefix0.ContainedReflectable(), 4, 14, []), + r.TypeVariableMirrorImpl(r'E', r'dart.core.Iterable.E', + const prefix0.ContainedReflectable(), 4, 15, []) + ], + [ + r.VariableMirrorImpl( + r'contained', + 142738581, + 0, + const prefix0.ContainedReflectable(), + 1, + 1, + 1, const [], const []), + r.VariableMirrorImpl( + r'pleaseInitializeMessage', + 142738581, + -1, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, const [], const []), + r.VariableMirrorImpl( + r'data', + 142737429, + -1, + const prefix0.ContainedReflectable(), + 14, + 17, + 14, + const [1, 18], + const []), + r.VariableMirrorImpl( + r'memberSymbolMap', + 75628565, + -1, + const prefix0.ContainedReflectable(), + 14, + 19, + 14, + const [20, 7], + const []), + r.VariableMirrorImpl( + r'deprecated', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 21, + 21, const [], const []), + r.VariableMirrorImpl( + r'override', + 142738581, + -1, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, const [], const []), + r.VariableMirrorImpl( + r'instanceInvokeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 22, + 22, const [], const []), + r.VariableMirrorImpl( + r'staticInvokeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 23, + 23, const [], const []), + r.VariableMirrorImpl( + r'topLevelInvokeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 24, + 24, const [], const []), + r.VariableMirrorImpl( + r'newInstanceCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 25, + 25, const [], const []), + r.VariableMirrorImpl( + r'metadataCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 26, + 26, const [], const []), + r.VariableMirrorImpl( + r'typeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 27, + 27, const [], const []), + r.VariableMirrorImpl( + r'typeRelationsCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 28, + 28, const [], const []), + r.VariableMirrorImpl( + r'reflectedTypeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 29, + 29, const [], const []), + r.VariableMirrorImpl( + r'libraryCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 30, + 30, const [], const []), + r.VariableMirrorImpl( + r'declarationsCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 31, + 31, const [], const []), + r.VariableMirrorImpl( + r'uriCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 32, + 32, const [], const []), + r.VariableMirrorImpl( + r'libraryDependenciesCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 33, + 33, const [], const []), + r.VariableMirrorImpl( + r'invokingCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 34, + 34, const [], const []), + r.VariableMirrorImpl( + r'typingCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 35, + 35, const [], const []), + r.VariableMirrorImpl( + r'delegateCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 36, + 36, const [], const []), + r.VariableMirrorImpl( + r'subtypeQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 37, + 37, const [], const []), + r.VariableMirrorImpl( + r'superclassQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 38, + 38, const [], const []), + r.VariableMirrorImpl( + r'typeAnnotationQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 39, + 39, const [], const []), + r.VariableMirrorImpl( + r'typeAnnotationDeepQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 39, + 39, const [], const []), + r.VariableMirrorImpl( + r'correspondingSetterQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 40, + 40, const [], const []), + r.VariableMirrorImpl( + r'admitSubtypeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 41, + 41, const [], const []), + r.VariableMirrorImpl( + r'thisClassName', + 134349973, + 1, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, const [], const []), + r.VariableMirrorImpl( + r'thisClassId', + 134349973, + 1, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, const [], const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 0, 2), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 1, 3), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 2, 4), + r.ImplicitSetterMirrorImpl(const prefix0.ContainedReflectable(), 2, 5), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 3, 6), + r.ImplicitSetterMirrorImpl(const prefix0.ContainedReflectable(), 3, 7), + r.MethodMirrorImpl( + r'reflectors', + 44040211, + -1, + -1, + 42, + 43, + const [1], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'identical', 10485784, -1, 8, 8, 8, const [], + const [2, 3], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'identityHashCode', + 10485784, + -1, + 9, + 9, + 9, + const [], + const [4], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'print', 9699352, -1, -1, -1, -1, const [], + const [5], const prefix0.ContainedReflectable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 4, 12), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 5, 13), + r.MethodMirrorImpl( + r'reflectableNoSuchInvokableError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [6, 7, 8, 9, 10], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchMethodError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [11, 12, 13, 14], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchGetterError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [15, 16, 17, 18], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchSetterError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [19, 20, 21, 22], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchConstructorError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [23, 24, 25, 26], + const prefix0.ContainedReflectable(), + const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 6, 19), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 7, 20), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 8, 21), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 9, 22), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 10, 23), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 11, 24), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 12, 25), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 13, 26), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 14, 27), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 15, 28), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 16, 29), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 17, 30), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 18, 31), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 19, 32), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 20, 33), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 21, 34), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 22, 35), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 23, 36), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 24, 37), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 25, 38), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 26, 39), + r.MethodMirrorImpl(r'', 128, 0, -1, 0, 0, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'==', 2097154, 4, 8, 8, 8, const [], + const [27], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toString', 2097154, 4, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'noSuchMethod', + 524290, + 4, + -1, + -1, + -1, + const [], + const [28], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'hashCode', 2097155, 4, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'runtimeType', 2097155, 4, 6, 6, 6, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'capabilities', + 35651587, + 3, + 10, + 44, + 10, + const [16], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'canReflect', + 2097154, + 2, + 8, + 8, + 8, + const [], + const [29], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'reflect', + 2097154, + 2, + 11, + 11, + 11, + const [], + const [30], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'canReflectType', + 2097154, + 2, + 8, + 8, + 8, + const [], + const [31], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'reflectType', + 2097154, + 2, + 12, + 12, + 12, + const [], + const [32], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'findLibrary', + 2097154, + 2, + 13, + 13, + 13, + const [], + const [33], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'libraries', + 35651587, + 2, + 14, + 46, + 14, + const [45, 13], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'annotatedClasses', + 35651587, + 2, + 15, + 48, + 15, + const [47], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'getInstance', 2097170, 1, 1, 1, 1, const [], + const [34], const prefix0.ContainedReflectable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 0, 55), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 1, 56), + r.MethodMirrorImpl( + r'', + 128, + 1, + -1, + 1, + 1, + const [], + const [35, 36, 37, 38, 39, 40, 41, 42, 43, 44], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromList', 128, 1, -1, 1, 1, const [], + const [45], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'', + 128, + 2, + -1, + 2, + 2, + const [], + const [46, 47, 48, 49, 50, 51, 52, 53, 54, 55], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromList', 128, 2, -1, 2, 2, const [], + const [56], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'', + 128, + 3, + -1, + 3, + 3, + const [], + const [57, 58, 59, 60, 61, 62, 63, 64, 65, 66], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromList', 128, 3, -1, 3, 3, const [], + const [67], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'hash', + 2097170, + 4, + 9, + 9, + 9, + const [], + const [ + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87 + ], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'hashAll', 2097170, 4, 9, 9, 9, const [], + const [88], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'hashAllUnordered', + 2097170, + 4, + 9, + 9, + 9, + const [], + const [89], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'', 128, 4, -1, 4, 4, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'memberName', 2097667, 5, -1, 20, 20, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'typeArguments', + 35651587, + 5, + 10, + 49, + 10, + const [6], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'positionalArguments', + 35652099, + 5, + 10, + 50, + 10, + null, + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'namedArguments', 35652099, 5, 14, 51, 14, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isMethod', 2097667, 5, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isGetter', 2097667, 5, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isSetter', 2097667, 5, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isAccessor', 2097155, 5, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 0, 5, -1, 5, 5, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'method', + 1, + 5, + -1, + 5, + 5, + const [], + const [90, 91, 92], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'genericMethod', + 1, + 5, + -1, + 5, + 5, + const [], + const [93, 94, 95, 96], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'getter', 257, 5, -1, 5, 5, const [], + const [97], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'setter', + 257, + 5, + -1, + 5, + 5, + const [], + const [98, 99], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'==', 2097666, 6, 8, 8, 8, const [], + const [100], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toString', 2097666, 6, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'hashCode', 2097667, 6, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 64, 6, -1, 6, 6, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'[]', 2097666, 7, 7, 7, 7, const [], + const [101], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'codeUnitAt', 2097666, 7, 9, 9, 9, const [], + const [102], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'==', 2097666, 7, 8, 8, 8, const [], + const [103], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'compareTo', 2097666, 7, 9, 9, 9, const [], + const [104], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'endsWith', 2097666, 7, 8, 8, 8, const [], + const [105], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'startsWith', + 2097666, + 7, + 8, + 8, + 8, + const [], + const [106, 107], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'indexOf', + 2097666, + 7, + 9, + 9, + 9, + const [], + const [108, 109], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'lastIndexOf', + 2097666, + 7, + 9, + 9, + 9, + const [], + const [110, 111], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'+', 2097666, 7, 7, 7, 7, const [], + const [112], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'substring', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [113, 114], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'trim', 2097666, 7, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'trimLeft', 2097666, 7, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'trimRight', 2097666, 7, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'*', 2097666, 7, 7, 7, 7, const [], + const [115], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'padLeft', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [116, 117], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'padRight', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [118, 119], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'contains', + 2097666, + 7, + 8, + 8, + 8, + const [], + const [120, 121], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceFirst', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [122, 123, 124], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceFirstMapped', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [125, 126, 127], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceAll', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [128, 129], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceAllMapped', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [130, 131], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceRange', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [132, 133, 134], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'split', 35652098, 7, 10, 52, 10, const [7], + const [135], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'splitMapJoin', + 2097666, + 7, + 7, + 7, + 7, + const [], + const [136, 137, 138], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'toLowerCase', 2097666, 7, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toUpperCase', 2097666, 7, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length', 2097667, 7, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'hashCode', 2097667, 7, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isEmpty', 2097667, 7, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isNotEmpty', 2097667, 7, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'codeUnits', + 35652099, + 7, + 10, + 53, + 10, + const [9], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'runes', 2097667, 7, -1, 54, 54, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromCharCodes', + 1, + 7, + -1, + 7, + 7, + const [], + const [139, 140, 141], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromCharCode', 1, 7, -1, 7, 7, const [], + const [142], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromEnvironment', + 129, + 7, + -1, + 7, + 7, + const [], + const [143, 144], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'parse', + 2097170, + 8, + 8, + 8, + 8, + const [], + const [145, 146], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'tryParse', + 2097170, + 8, + 8, + 8, + 8, + const [], + const [147, 148], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'&', 2097154, 8, 8, 8, 8, const [], + const [149], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'|', 2097154, 8, 8, 8, 8, const [], + const [150], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'^', 2097154, 8, 8, 8, 8, const [], + const [151], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toString', 2097154, 8, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'hashCode', 2097155, 8, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromEnvironment', + 129, + 8, + -1, + 8, + 8, + const [], + const [152, 153], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'hasEnvironment', 129, 8, -1, 8, 8, const [], + const [154], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'&', 2097666, 9, 9, 9, 9, const [], + const [155], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'|', 2097666, 9, 9, 9, 9, const [], + const [156], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'^', 2097666, 9, 9, 9, 9, const [], + const [157], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'~', 2097666, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'<<', 2097666, 9, 9, 9, 9, const [], + const [158], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'>>', 2097666, 9, 9, 9, 9, const [], + const [159], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'>>>', 2097666, 9, 9, 9, 9, const [], + const [160], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'modPow', + 2097666, + 9, + 9, + 9, + 9, + const [], + const [161, 162], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'modInverse', 2097666, 9, 9, 9, 9, const [], + const [163], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'gcd', 2097666, 9, 9, 9, 9, const [], + const [164], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toUnsigned', 2097666, 9, 9, 9, 9, const [], + const [165], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toSigned', 2097666, 9, 9, 9, 9, const [], + const [166], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'unary-', 2097666, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'abs', 2097666, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'round', 2097666, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'floor', 2097666, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'ceil', 2097666, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'truncate', 2097666, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'roundToDouble', + 2097666, + 9, + -1, + 55, + 55, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'floorToDouble', + 2097666, + 9, + -1, + 55, + 55, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'ceilToDouble', + 2097666, + 9, + -1, + 55, + 55, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'truncateToDouble', + 2097666, + 9, + -1, + 55, + 55, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'toString', 2097666, 9, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toRadixString', 2097666, 9, 7, 7, 7, const [], + const [167], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'parse', + 2097170, + 9, + 9, + 9, + 9, + const [], + const [168, 169], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'tryParse', + 2097170, + 9, + 9, + 9, + 9, + const [], + const [170, 171], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'isEven', 2097667, 9, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isOdd', 2097667, 9, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'bitLength', 2097667, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'sign', 2097667, 9, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromEnvironment', + 129, + 9, + -1, + 9, + 9, + const [], + const [172, 173], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'castFrom', 35651602, 10, 10, 56, 10, null, + const [174], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'copyRange', + 1310738, + 10, + -1, + -1, + -1, + const [], + const [175, 176, 177, 178, 179], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'writeIterable', + 1310738, + 10, + -1, + -1, + -1, + const [], + const [180, 181, 182], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'cast', 35652098, 10, 10, 57, 10, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'[]', 514, 10, -1, -1, -1, const [], + const [183], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'[]=', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [184, 185], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'add', 1311234, 10, -1, -1, -1, const [], + const [186], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'addAll', 1311234, 10, -1, -1, -1, const [], + const [187], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'sort', 1311234, 10, -1, -1, -1, const [], + const [188], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'shuffle', 1311234, 10, -1, -1, -1, const [], + const [189], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'indexOf', + 2097666, + 10, + 9, + 9, + 9, + const [], + const [190, 191], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'indexWhere', + 2097666, + 10, + 9, + 9, + 9, + const [], + const [192, 193], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'lastIndexWhere', + 2097666, + 10, + 9, + 9, + 9, + const [], + const [194, 195], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'lastIndexOf', + 2097666, + 10, + 9, + 9, + 9, + const [], + const [196, 197], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'clear', 1311234, 10, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'insert', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [198, 199], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'insertAll', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [200, 201], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'setAll', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [202, 203], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'remove', 2097666, 10, 8, 8, 8, const [], + const [204], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'removeAt', 514, 10, -1, -1, -1, const [], + const [205], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'removeLast', 514, 10, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'removeWhere', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [206], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'retainWhere', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [207], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'+', 35652098, 10, 10, 58, 10, null, + const [208], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'sublist', + 35652098, + 10, + 10, + 58, + 10, + null, + const [209, 210], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'getRange', + 35652098, + 10, + 15, + 59, + 15, + null, + const [211, 212], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'setRange', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [213, 214, 215, 216], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'removeRange', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [217, 218], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'fillRange', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [219, 220, 221], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceRange', + 1311234, + 10, + -1, + -1, + -1, + const [], + const [222, 223, 224], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'asMap', 35652098, 10, 14, 60, 14, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'==', 2097666, 10, 8, 8, 8, const [], + const [225], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'first=', 1311236, 10, -1, -1, -1, const [], + const [238], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'last=', 1311236, 10, -1, -1, -1, const [], + const [239], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length', 2097667, 10, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length=', 1311236, 10, -1, -1, -1, const [], + const [240], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'reversed', 35652099, 10, 15, 59, 15, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'filled', + 1, + 10, + -1, + 58, + 10, + null, + const [226, 227, 228], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'empty', 1, 10, -1, 58, 10, null, const [229], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'from', + 1, + 10, + -1, + 58, + 10, + null, + const [230, 231], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'of', + 1, + 10, + -1, + 58, + 10, + null, + const [232, 233], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'generate', + 1, + 10, + -1, + 58, + 10, + null, + const [234, 235, 236], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'unmodifiable', 1, 10, -1, 58, 10, null, + const [237], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'==', + 2097666, + 11, + 8, + 8, + 8, + const [], + const [241], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'delegate', 2097666, 11, 4, 4, 4, const [], + const [242], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'type', 2097667, 11, -1, 47, 47, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'hasReflectee', 2097667, 11, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'reflectee', 2097667, 11, 4, 4, 4, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'hashCode', + 2097667, + 11, + 9, + 9, + 9, + const [], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'', 64, 11, -1, 11, 11, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isSubtypeOf', 2097666, 12, 8, 8, 8, const [], + const [243], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'isAssignableTo', + 2097666, + 12, + 8, + 8, + 8, + const [], + const [244], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'hasReflectedType', + 2097667, + 12, + 8, + 8, + 8, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectedType', + 2097667, + 12, + 6, + 6, + 6, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'typeVariables', + 35652099, + 12, + 10, + 62, + 10, + const [61], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'typeArguments', + 35652099, + 12, + 10, + 63, + 10, + const [12], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectedTypeArguments', + 35652099, + 12, + 10, + 49, + 10, + const [6], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isOriginalDeclaration', + 2097667, + 12, + 8, + 8, + 8, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'originalDeclaration', + 2097667, + 12, + 12, + 12, + 12, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'isNullable', 2097667, 12, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'isNonNullable', + 2097667, + 12, + 8, + 8, + 8, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isPotentiallyNullable', + 2097667, + 12, + 8, + 8, + 8, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isPotentiallyNonNullable', + 2097667, + 12, + 8, + 8, + 8, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'', 64, 12, -1, 12, 12, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'==', + 2097666, + 13, + 8, + 8, + 8, + const [], + const [245], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'uri', 2097667, 13, -1, 45, 45, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'declarations', + 35652099, + 13, + 14, + 65, + 14, + const [7, 64], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'hashCode', + 2097667, + 13, + 9, + 9, + 9, + const [], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'libraryDependencies', + 35652099, + 13, + 10, + 67, + 10, + const [66], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'owner', + 2097667, + 13, + -1, + 68, + 68, + const [], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'', 64, 13, -1, 13, 13, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'castFrom', 35651602, 14, 14, 69, 14, null, + const [246], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'cast', 35652098, 14, 14, 70, 14, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'containsValue', + 2097666, + 14, + 8, + 8, + 8, + const [], + const [247], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'containsKey', 2097666, 14, 8, 8, 8, const [], + const [248], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'[]', 514, 14, -1, -1, -1, const [], + const [249], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'[]=', + 1311234, + 14, + -1, + -1, + -1, + const [], + const [250, 251], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'map', 35652098, 14, 14, 71, 14, null, + const [252], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'addEntries', + 1311234, + 14, + -1, + -1, + -1, + const [], + const [253], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'update', + 514, + 14, + -1, + -1, + -1, + const [], + const [254, 255, 256], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'updateAll', 1311234, 14, -1, -1, -1, const [], + const [257], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'removeWhere', + 1311234, + 14, + -1, + -1, + -1, + const [], + const [258], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'putIfAbsent', + 514, + 14, + -1, + -1, + -1, + const [], + const [259, 260], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'addAll', 1311234, 14, -1, -1, -1, const [], + const [261], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'remove', 514, 14, -1, -1, -1, const [], + const [262], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'clear', 1311234, 14, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'forEach', 1311234, 14, -1, -1, -1, const [], + const [263], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'entries', 35652099, 14, 15, 72, 15, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'keys', 35652099, 14, 15, 73, 15, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'values', 35652099, 14, 15, 74, 15, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length', 2097667, 14, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isEmpty', 2097667, 14, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isNotEmpty', 2097667, 14, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 1, 14, -1, 75, 14, null, const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'from', 257, 14, -1, 75, 14, null, const [264], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'of', 257, 14, -1, 75, 14, null, const [265], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'unmodifiable', 1, 14, -1, 75, 14, null, + const [266], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'identity', 257, 14, -1, 75, 14, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromIterable', + 257, + 14, + -1, + 75, + 14, + null, + const [267, 268, 269], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'fromIterables', + 257, + 14, + -1, + 75, + 14, + null, + const [270, 271], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromEntries', 1, 14, -1, 75, 14, null, + const [272], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'castFrom', 35651602, 15, 15, 76, 15, null, + const [273], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'cast', 35651586, 15, 15, 77, 15, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'followedBy', 35651586, 15, 15, 78, 15, null, + const [274], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'map', 35651586, 15, 15, 79, 15, null, + const [275], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'where', 35651586, 15, 15, 78, 15, null, + const [276], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'whereType', 35651586, 15, 15, 80, 15, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'expand', 35651586, 15, 15, 81, 15, null, + const [277], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'contains', 2097154, 15, 8, 8, 8, const [], + const [278], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'forEach', 1310722, 15, -1, -1, -1, const [], + const [279], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'reduce', 2, 15, -1, -1, -1, const [], + const [280], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fold', + 2, + 15, + -1, + -1, + -1, + const [], + const [281, 282], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'every', 2097154, 15, 8, 8, 8, const [], + const [283], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'join', 2097154, 15, 7, 7, 7, const [], + const [284], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'any', 2097154, 15, 8, 8, 8, const [], + const [285], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toList', 35651586, 15, 10, 82, 10, null, + const [286], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toSet', 35651586, 15, -1, 83, 84, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'take', 35651586, 15, 15, 78, 15, null, + const [287], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'takeWhile', 35651586, 15, 15, 78, 15, null, + const [288], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'skip', 35651586, 15, 15, 78, 15, null, + const [289], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'skipWhile', 35651586, 15, 15, 78, 15, null, + const [290], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'firstWhere', + 2, + 15, + -1, + -1, + -1, + const [], + const [291, 292], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'lastWhere', + 2, + 15, + -1, + -1, + -1, + const [], + const [293, 294], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'singleWhere', + 2, + 15, + -1, + -1, + -1, + const [], + const [295, 296], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'elementAt', 2, 15, -1, -1, -1, const [], + const [297], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toString', 2097154, 15, 7, 7, 7, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'iterableToShortString', + 2097170, + 15, + 7, + 7, + 7, + const [], + const [298, 299, 300], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'iterableToFullString', + 2097170, + 15, + 7, + 7, + 7, + const [], + const [301, 302, 303], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'iterator', 35652099, 15, -1, 85, 86, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length', 2097155, 15, 9, 9, 9, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isEmpty', 2097155, 15, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isNotEmpty', 2097155, 15, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'first', 3, 15, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'last', 3, 15, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'single', 3, 15, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 128, 15, -1, 78, 15, null, const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'generate', + 1, + 15, + -1, + 78, + 15, + null, + const [304, 305], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'empty', 385, 15, -1, 78, 15, null, const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 128, 16, -1, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []) + ], + [ + r.ParameterMirrorImpl( + r'_data', + 151126118, + 5, + const prefix0.ContainedReflectable(), + 14, + 17, + 14, + const [1, 18], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_memberSymbolMap', + 84017254, + 7, + const prefix0.ContainedReflectable(), + 14, + 19, + 14, + const [20, 7], + const [], + null, + null), + r.ParameterMirrorImpl( + r'a', + 67239942, + 9, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'b', + 67239942, + 9, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object', + 67239942, + 10, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object', + 67239942, + 11, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 14, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 14, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 14, + const prefix0.ContainedReflectable(), + 10, + 50, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 14, + const prefix0.ContainedReflectable(), + 14, + 87, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'kind', + 134348806, + 14, + const prefix0.ContainedReflectable(), + -1, + 88, + 88, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 15, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 15, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 15, + const prefix0.ContainedReflectable(), + 10, + 50, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 15, + const prefix0.ContainedReflectable(), + 14, + 87, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 16, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 16, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 16, + const prefix0.ContainedReflectable(), + 10, + 50, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 16, + const prefix0.ContainedReflectable(), + 14, + 87, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 17, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 17, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 17, + const prefix0.ContainedReflectable(), + 10, + 50, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 17, + const prefix0.ContainedReflectable(), + 14, + 87, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 18, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'constructorName', + 134348806, + 18, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 18, + const prefix0.ContainedReflectable(), + 10, + 50, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 18, + const prefix0.ContainedReflectable(), + 14, + 87, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 41, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'invocation', + 134348806, + 43, + const prefix0.ContainedReflectable(), + 5, + 5, + 5, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'reflectee', + 134348806, + 47, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'reflectee', + 134348806, + 48, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'type', + 134348806, + 49, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'type', + 134348806, + 50, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'libraryName', + 134348806, + 51, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'type', + 134348806, + 54, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap0', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap1', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap2', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap3', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap4', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap5', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap6', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap7', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap8', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap9', + 67244038, + 57, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'capabilities', + 151126022, + 58, + const prefix0.ContainedReflectable(), + 10, + 44, + 10, + const [16], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap0', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap1', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap2', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap3', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap4', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap5', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap6', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap7', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap8', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap9', + 67244038, + 59, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'capabilities', + 151126022, + 60, + const prefix0.ContainedReflectable(), + 10, + 44, + 10, + const [16], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap0', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap1', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap2', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap3', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap4', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap5', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap6', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap7', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap8', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap9', + 67245094, + 61, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_capabilities', + 84018214, + 62, + const prefix0.ContainedReflectable(), + 10, + 89, + 10, + const [16], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object1', + 67239942, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object2', + 67239942, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object3', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object4', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object5', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object6', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object7', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object8', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object9', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object10', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object11', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object12', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object13', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object14', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object15', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object16', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object17', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object18', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object19', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object20', + 67246086, + 63, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'objects', + 151126022, + 64, + const prefix0.ContainedReflectable(), + 15, + 90, + 15, + const [4], + const [], + null, + null), + r.ParameterMirrorImpl( + r'objects', + 151126022, + 65, + const prefix0.ContainedReflectable(), + 15, + 90, + 15, + const [4], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 76, + const prefix0.ContainedReflectable(), + -1, + 20, + 20, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 84017158, + 76, + const prefix0.ContainedReflectable(), + 15, + 91, + 15, + const [4], + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84021254, + 76, + const prefix0.ContainedReflectable(), + 14, + 92, + 14, + const [20, 4], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 77, + const prefix0.ContainedReflectable(), + -1, + 20, + 20, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'typeArguments', + 84017158, + 77, + const prefix0.ContainedReflectable(), + 15, + 93, + 15, + const [6], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 84017158, + 77, + const prefix0.ContainedReflectable(), + 15, + 91, + 15, + const [4], + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84021254, + 77, + const prefix0.ContainedReflectable(), + 14, + 92, + 14, + const [20, 4], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134348806, + 78, + const prefix0.ContainedReflectable(), + -1, + 20, + 20, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 79, + const prefix0.ContainedReflectable(), + -1, + 20, + 20, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'argument', + 67239942, + 79, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 80, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 84, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 85, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 86, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 87, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 88, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 89, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134354950, + 89, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 90, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134354950, + 90, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 91, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 67244038, + 91, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 92, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 93, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67244038, + 93, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'times', + 134348806, + 97, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'width', + 134348806, + 98, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'padding', + 134354950, + 98, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'width', + 134348806, + 99, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'padding', + 134354950, + 99, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 100, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'startIndex', + 134354950, + 100, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'from', + 134348806, + 101, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'to', + 134348806, + 101, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'startIndex', + 134354950, + 101, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'from', + 134348806, + 102, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replace', + 134217734, + 102, + const prefix0.ContainedReflectable(), + -1, + 95, + 95, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'startIndex', + 134354950, + 102, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'from', + 134348806, + 103, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replace', + 134348806, + 103, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'from', + 134348806, + 104, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replace', + 134217734, + 104, + const prefix0.ContainedReflectable(), + -1, + 95, + 95, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 105, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67239942, + 105, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replacement', + 134348806, + 105, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 106, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 107, + const prefix0.ContainedReflectable(), + -1, + 94, + 94, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'onMatch', + 67121158, + 107, + const prefix0.ContainedReflectable(), + -1, + 96, + 96, + const [], + const [], + null, + #onMatch), + r.ParameterMirrorImpl( + r'onNonMatch', + 67121158, + 107, + const prefix0.ContainedReflectable(), + -1, + 97, + 97, + const [], + const [], + null, + #onNonMatch), + r.ParameterMirrorImpl( + r'charCodes', + 151126022, + 116, + const prefix0.ContainedReflectable(), + 15, + 98, + 15, + const [9], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134354950, + 116, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67244038, + 116, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'charCode', + 134348806, + 117, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134348806, + 118, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'defaultValue', + 134363142, + 118, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + #defaultValue), + r.ParameterMirrorImpl( + r'source', + 134348806, + 119, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'caseSensitive', + 134363142, + 119, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #caseSensitive), + r.ParameterMirrorImpl( + r'source', + 134348806, + 120, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'caseSensitive', + 134363142, + 120, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #caseSensitive), + r.ParameterMirrorImpl( + r'other', + 134348806, + 121, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 122, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 123, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134348806, + 126, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'defaultValue', + 134363142, + 126, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #defaultValue), + r.ParameterMirrorImpl( + r'name', + 134348806, + 127, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 128, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 129, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 130, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'shiftAmount', + 134348806, + 132, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'shiftAmount', + 134348806, + 133, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'shiftAmount', + 134348806, + 134, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'exponent', + 134348806, + 135, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'modulus', + 134348806, + 135, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'modulus', + 134348806, + 136, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 137, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'width', + 134348806, + 138, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'width', + 134348806, + 139, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'radix', + 134348806, + 151, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 134348806, + 152, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'radix', + 67252230, + 152, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + #radix), + r.ParameterMirrorImpl( + r'source', + 134348806, + 153, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'radix', + 67252230, + 153, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + #radix), + r.ParameterMirrorImpl( + r'name', + 134348806, + 158, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'defaultValue', + 134363142, + 158, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + #defaultValue), + r.ParameterMirrorImpl( + r'source', + 151126022, + 159, + const prefix0.ContainedReflectable(), + 10, + 99, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'target', + 151126022, + 160, + const prefix0.ContainedReflectable(), + 10, + 100, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'at', + 134348806, + 160, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 160, + const prefix0.ContainedReflectable(), + 10, + 100, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 67244038, + 160, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67244038, + 160, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'target', + 151126022, + 161, + const prefix0.ContainedReflectable(), + 10, + 101, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'at', + 134348806, + 161, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 161, + const prefix0.ContainedReflectable(), + 15, + 102, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 163, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 164, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 164, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 165, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 166, + const prefix0.ContainedReflectable(), + 15, + 59, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'compare', + 67112966, + 167, + const prefix0.ContainedReflectable(), + -1, + 103, + 103, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'random', + 67244038, + 168, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'element', + 6, + 169, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134354950, + 169, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 170, + const prefix0.ContainedReflectable(), + -1, + 105, + 105, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134354950, + 170, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 171, + const prefix0.ContainedReflectable(), + -1, + 105, + 105, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 67244038, + 171, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'element', + 6, + 172, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 67244038, + 172, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 174, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'element', + 6, + 174, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 175, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 175, + const prefix0.ContainedReflectable(), + 15, + 59, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 176, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 176, + const prefix0.ContainedReflectable(), + 15, + 59, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 67239942, + 177, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 178, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 180, + const prefix0.ContainedReflectable(), + -1, + 105, + 105, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 181, + const prefix0.ContainedReflectable(), + -1, + 105, + 105, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 182, + const prefix0.ContainedReflectable(), + 10, + 58, + 10, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 183, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67244038, + 183, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 184, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 184, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 185, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 185, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 185, + const prefix0.ContainedReflectable(), + 15, + 59, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'skipCount', + 134354950, + 185, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 186, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 186, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 187, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 187, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'fillValue', + 67112966, + 187, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 188, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 188, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replacements', + 151126022, + 188, + const prefix0.ContainedReflectable(), + 15, + 59, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 190, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'length', + 134348806, + 196, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'fill', + 6, + 196, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 196, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 197, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'elements', + 151126022, + 198, + const prefix0.ContainedReflectable(), + 15, + 106, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 198, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'elements', + 151126022, + 199, + const prefix0.ContainedReflectable(), + 15, + 59, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 199, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'length', + 134348806, + 200, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'generator', + 134217734, + 200, + const prefix0.ContainedReflectable(), + -1, + 107, + 107, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 200, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'elements', + 151126022, + 201, + const prefix0.ContainedReflectable(), + 15, + 106, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 191, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 192, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'newLength', + 134348806, + 194, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 202, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'invocation', + 134348806, + 203, + const prefix0.ContainedReflectable(), + 5, + 5, + 5, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 209, + const prefix0.ContainedReflectable(), + 12, + 12, + 12, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 210, + const prefix0.ContainedReflectable(), + 12, + 12, + 12, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 223, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 230, + const prefix0.ContainedReflectable(), + 14, + 108, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 67239942, + 232, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 67239942, + 233, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 67239942, + 234, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 6, + 235, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 235, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'convert', + 134217734, + 236, + const prefix0.ContainedReflectable(), + -1, + 109, + 109, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'newEntries', + 151126022, + 237, + const prefix0.ContainedReflectable(), + 15, + 72, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 6, + 238, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'update', + 134217734, + 238, + const prefix0.ContainedReflectable(), + -1, + 110, + 110, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'ifAbsent', + 67121158, + 238, + const prefix0.ContainedReflectable(), + -1, + 111, + 111, + const [], + const [], + null, + #ifAbsent), + r.ParameterMirrorImpl( + r'update', + 134217734, + 239, + const prefix0.ContainedReflectable(), + -1, + 112, + 112, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 240, + const prefix0.ContainedReflectable(), + -1, + 113, + 113, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 6, + 241, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'ifAbsent', + 134217734, + 241, + const prefix0.ContainedReflectable(), + -1, + 114, + 114, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 242, + const prefix0.ContainedReflectable(), + 14, + 75, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 67239942, + 243, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'action', + 134217734, + 245, + const prefix0.ContainedReflectable(), + -1, + 115, + 115, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 253, + const prefix0.ContainedReflectable(), + 14, + 116, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 254, + const prefix0.ContainedReflectable(), + 14, + 75, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 255, + const prefix0.ContainedReflectable(), + 14, + 116, + 14, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 257, + const prefix0.ContainedReflectable(), + 15, + 106, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 67121158, + 257, + const prefix0.ContainedReflectable(), + -1, + 117, + 117, + const [], + const [], + null, + #key), + r.ParameterMirrorImpl( + r'value', + 67121158, + 257, + const prefix0.ContainedReflectable(), + -1, + 118, + 118, + const [], + const [], + null, + #value), + r.ParameterMirrorImpl( + r'keys', + 151126022, + 258, + const prefix0.ContainedReflectable(), + 15, + 73, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'values', + 151126022, + 258, + const prefix0.ContainedReflectable(), + 15, + 74, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'entries', + 151126022, + 259, + const prefix0.ContainedReflectable(), + 15, + 72, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 260, + const prefix0.ContainedReflectable(), + 15, + 119, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 262, + const prefix0.ContainedReflectable(), + 15, + 78, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'toElement', + 134217734, + 263, + const prefix0.ContainedReflectable(), + -1, + 120, + 120, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 264, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'toElements', + 134217734, + 266, + const prefix0.ContainedReflectable(), + -1, + 122, + 122, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'element', + 67239942, + 267, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'action', + 134217734, + 268, + const prefix0.ContainedReflectable(), + -1, + 123, + 123, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'combine', + 134217734, + 269, + const prefix0.ContainedReflectable(), + -1, + 124, + 124, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'initialValue', + 6, + 270, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'combine', + 134217734, + 270, + const prefix0.ContainedReflectable(), + -1, + 125, + 125, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 271, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'separator', + 134354950, + 272, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 273, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 274, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'count', + 134348806, + 276, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 277, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'count', + 134348806, + 278, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 279, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 280, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'orElse', + 67121158, + 280, + const prefix0.ContainedReflectable(), + -1, + 126, + 126, + const [], + const [], + null, + #orElse), + r.ParameterMirrorImpl( + r'test', + 134217734, + 281, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'orElse', + 67121158, + 281, + const prefix0.ContainedReflectable(), + -1, + 126, + 126, + const [], + const [], + null, + #orElse), + r.ParameterMirrorImpl( + r'test', + 134217734, + 282, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'orElse', + 67121158, + 282, + const prefix0.ContainedReflectable(), + -1, + 126, + 126, + const [], + const [], + null, + #orElse), + r.ParameterMirrorImpl( + r'index', + 134348806, + 283, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 285, + const prefix0.ContainedReflectable(), + 15, + 106, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'leftDelimiter', + 134354950, + 285, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'rightDelimiter', + 134354950, + 285, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 286, + const prefix0.ContainedReflectable(), + 15, + 106, + 15, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'leftDelimiter', + 134354950, + 286, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'rightDelimiter', + 134354950, + 286, + const prefix0.ContainedReflectable(), + 7, + 7, + 7, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'count', + 134348806, + 295, + const prefix0.ContainedReflectable(), + 9, + 9, + 9, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'generator', + 67112966, + 295, + const prefix0.ContainedReflectable(), + -1, + 127, + 127, + const [], + const [], + null, + null) + ], + [ + prefix0.ContainedReflectable, + prefix1.Reflectable, + prefix2.ReflectableImpl, + prefix3.ReflectableBase, + Object, + Invocation, + Type, + String, + bool, + int, + List, + prefix4.InstanceMirror, + prefix4.TypeMirror, + prefix4.LibraryMirror, + Map, + Iterable, + prefix5.ReflectCapability, + const m.TypeValue>() + .type, + prefix2.ReflectorData, + const m.TypeValue>().type, + Symbol, + Deprecated, + prefix5.InstanceInvokeCapability, + prefix5.StaticInvokeCapability, + prefix5.TopLevelInvokeCapability, + prefix5.NewInstanceCapability, + prefix5.MetadataCapability, + prefix5.TypeCapability, + prefix5.TypeRelationsCapability, + const r.FakeType(r'reflectable.capability._ReflectedTypeCapability'), + prefix5.LibraryCapability, + prefix5.DeclarationsCapability, + prefix5.UriCapability, + prefix5.LibraryDependenciesCapability, + prefix5.InvokingCapability, + prefix5.TypingCapability, + const r.FakeType(r'reflectable.capability._DelegateCapability'), + const r.FakeType(r'reflectable.capability._SubtypeQuantifyCapability'), + prefix5.SuperclassQuantifyCapability, + prefix5.TypeAnnotationQuantifyCapability, + const r.FakeType( + r'reflectable.capability._CorrespondingSetterQuantifyCapability'), + const r.FakeType(r'reflectable.capability._AdmitSubtypeCapability'), + const m.TypeValue>().type, + Set, + const m.TypeValue>().type, + Uri, + const m.TypeValue>().type, + prefix4.ClassMirror, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + Runes, + double, + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Map'), + prefix4.TypeVariableMirror, + const m.TypeValue>().type, + const m.TypeValue>().type, + prefix4.DeclarationMirror, + const m.TypeValue>().type, + prefix4.LibraryDependencyMirror, + const m.TypeValue>().type, + Null, + const r.FakeType(r'dart.core.Map'), + const r.FakeType(r'dart.core.Map'), + const r.FakeType(r'dart.core.Map'), + const r.FakeType(r'dart.core.Iterable>'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Map'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.Set'), + Set, + const r.FakeType(r'dart.core.Iterator'), + Iterator, + const m.TypeValue>().type, + prefix5.StringInvocationKind, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + Pattern, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue>().type, + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.Iterable'), + const m.TypeValue().type, + prefix6.Random, + const m.TypeValue().type, + const m.TypeValue>().type, + const m.TypeValue().type, + const r.FakeType(r'dart.core.Map'), + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue>().type, + const m.TypeValue().type, + const m.TypeValue().type, + const r.FakeType(r'dart.core.Iterable'), + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type + ], + 17, + { + r'==': (dynamic instance) => (x) => instance == x, + r'toString': (dynamic instance) => instance.toString, + r'noSuchMethod': (dynamic instance) => instance.noSuchMethod, + r'hashCode': (dynamic instance) => instance.hashCode, + r'runtimeType': (dynamic instance) => instance.runtimeType, + r'capabilities': (dynamic instance) => instance.capabilities, + r'canReflect': (dynamic instance) => instance.canReflect, + r'reflect': (dynamic instance) => instance.reflect, + r'canReflectType': (dynamic instance) => instance.canReflectType, + r'reflectType': (dynamic instance) => instance.reflectType, + r'findLibrary': (dynamic instance) => instance.findLibrary, + r'libraries': (dynamic instance) => instance.libraries, + r'annotatedClasses': (dynamic instance) => instance.annotatedClasses, + r'typeArguments': (dynamic instance) => instance.typeArguments, + r'isAccessor': (dynamic instance) => instance.isAccessor, + r'&': (dynamic instance) => (x) => instance & x, + r'|': (dynamic instance) => (x) => instance | x, + r'^': (dynamic instance) => (x) => instance ^ x, + r'cast': (dynamic instance) => instance.cast, + r'followedBy': (dynamic instance) => instance.followedBy, + r'map': (dynamic instance) => instance.map, + r'where': (dynamic instance) => instance.where, + r'whereType': (dynamic instance) => instance.whereType, + r'expand': (dynamic instance) => instance.expand, + r'contains': (dynamic instance) => instance.contains, + r'forEach': (dynamic instance) => instance.forEach, + r'reduce': (dynamic instance) => instance.reduce, + r'fold': (dynamic instance) => instance.fold, + r'every': (dynamic instance) => instance.every, + r'join': (dynamic instance) => instance.join, + r'any': (dynamic instance) => instance.any, + r'toList': (dynamic instance) => instance.toList, + r'toSet': (dynamic instance) => instance.toSet, + r'take': (dynamic instance) => instance.take, + r'takeWhile': (dynamic instance) => instance.takeWhile, + r'skip': (dynamic instance) => instance.skip, + r'skipWhile': (dynamic instance) => instance.skipWhile, + r'firstWhere': (dynamic instance) => instance.firstWhere, + r'lastWhere': (dynamic instance) => instance.lastWhere, + r'singleWhere': (dynamic instance) => instance.singleWhere, + r'elementAt': (dynamic instance) => instance.elementAt, + r'length': (dynamic instance) => instance.length, + r'isEmpty': (dynamic instance) => instance.isEmpty, + r'isNotEmpty': (dynamic instance) => instance.isNotEmpty, + r'first': (dynamic instance) => instance.first, + r'last': (dynamic instance) => instance.last, + r'single': (dynamic instance) => instance.single + }, + {}, + [ + r.LibraryMirrorImpl( + r'', + Uri.parse( + 'package:angel3_container_generator/angel3_container_generator.dart'), + const prefix0.ContainedReflectable(), + const [0], + {r'contained': () => prefix0.contained}, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.reflectable', + Uri.parse('package:reflectable/reflectable.dart'), + const prefix0.ContainedReflectable(), + const [], + {}, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.src.reflectable_builder_based', + Uri.parse('package:reflectable/src/reflectable_builder_based.dart'), + const prefix0.ContainedReflectable(), + const [1, 2, 3, 35], + { + r'pleaseInitializeMessage': () => prefix2.pleaseInitializeMessage, + r'data': () => prefix2.data, + r'memberSymbolMap': () => prefix2.memberSymbolMap, + r'reflectors': () => prefix2.reflectors + }, + { + r'data=': (dynamic value) => prefix2.data = value, + r'memberSymbolMap=': (dynamic value) => + prefix2.memberSymbolMap = value + }, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.src.reflectable_base', + Uri.parse('package:reflectable/src/reflectable_base.dart'), + const prefix0.ContainedReflectable(), + const [], + {}, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'dart.core', + Uri.parse(r'reflectable://4/library dart:core'), + const prefix0.ContainedReflectable(), + const [4, 5, 36, 37, 38], + { + r'deprecated': () => deprecated, + r'override': () => override, + r'identical': () => identical, + r'identityHashCode': () => identityHashCode, + r'print': () => print + }, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.mirrors', + Uri.parse('package:reflectable/mirrors.dart'), + const prefix0.ContainedReflectable(), + const [], + {}, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.capability', + Uri.parse('package:reflectable/capability.dart'), + const prefix0.ContainedReflectable(), + const [ + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 41, + 42, + 43, + 44, + 45 + ], + { + r'instanceInvokeCapability': () => + prefix5.instanceInvokeCapability, + r'staticInvokeCapability': () => prefix5.staticInvokeCapability, + r'topLevelInvokeCapability': () => + prefix5.topLevelInvokeCapability, + r'newInstanceCapability': () => prefix5.newInstanceCapability, + r'metadataCapability': () => prefix5.metadataCapability, + r'typeCapability': () => prefix5.typeCapability, + r'typeRelationsCapability': () => prefix5.typeRelationsCapability, + r'reflectedTypeCapability': () => prefix5.reflectedTypeCapability, + r'libraryCapability': () => prefix5.libraryCapability, + r'declarationsCapability': () => prefix5.declarationsCapability, + r'uriCapability': () => prefix5.uriCapability, + r'libraryDependenciesCapability': () => + prefix5.libraryDependenciesCapability, + r'invokingCapability': () => prefix5.invokingCapability, + r'typingCapability': () => prefix5.typingCapability, + r'delegateCapability': () => prefix5.delegateCapability, + r'subtypeQuantifyCapability': () => + prefix5.subtypeQuantifyCapability, + r'superclassQuantifyCapability': () => + prefix5.superclassQuantifyCapability, + r'typeAnnotationQuantifyCapability': () => + prefix5.typeAnnotationQuantifyCapability, + r'typeAnnotationDeepQuantifyCapability': () => + prefix5.typeAnnotationDeepQuantifyCapability, + r'correspondingSetterQuantifyCapability': () => + prefix5.correspondingSetterQuantifyCapability, + r'admitSubtypeCapability': () => prefix5.admitSubtypeCapability, + r'reflectableNoSuchInvokableError': () => + prefix5.reflectableNoSuchInvokableError, + r'reflectableNoSuchMethodError': () => + prefix5.reflectableNoSuchMethodError, + r'reflectableNoSuchGetterError': () => + prefix5.reflectableNoSuchGetterError, + r'reflectableNoSuchSetterError': () => + prefix5.reflectableNoSuchSetterError, + r'reflectableNoSuchConstructorError': () => + prefix5.reflectableNoSuchConstructorError + }, + {}, + const [], + null) + ], + []) +}; + +final _memberSymbolMap = null; + +void initializeReflectable() { + r.data = _data; + r.memberSymbolMap = _memberSymbolMap; +} diff --git a/packages/container/container_generator/lib/angel3_container_generator.dart b/packages/container/container_generator/lib/angel3_container_generator.dart new file mode 100644 index 0000000..81d39ed --- /dev/null +++ b/packages/container/container_generator/lib/angel3_container_generator.dart @@ -0,0 +1,255 @@ +import 'package:platform_container/platform_container.dart'; +import 'package:reflectable/reflectable.dart'; + +/// A [Reflectable] instance that can be used as an annotation on types to generate metadata for them. +const Reflectable contained = ContainedReflectable(); + +@contained +class ContainedReflectable extends Reflectable { + const ContainedReflectable() + : super( + topLevelInvokeCapability, + typeAnnotationQuantifyCapability, + superclassQuantifyCapability, + libraryCapability, + invokingCapability, + metadataCapability, + reflectedTypeCapability, + typeCapability, + typingCapability); +} + +/// A [Reflector] instance that uses a [Reflectable] to reflect upon data. +class GeneratedReflector extends Reflector { + final Reflectable reflectable; + + const GeneratedReflector([this.reflectable = contained]); + + @override + String getName(Symbol symbol) { + return symbol.toString().substring(7); + } + + @override + ReflectedClass reflectClass(Type clazz) { + return reflectType(clazz) as ReflectedClass; + } + + @override + ReflectedFunction reflectFunction(Function function) { + if (!reflectable.canReflect(function)) { + throw UnsupportedError('Cannot reflect $function.'); + } + + var mirror = reflectable.reflect(function); + + if (mirror is ClosureMirror) { + return _GeneratedReflectedFunction(mirror.function, this, mirror); + } else { + throw ArgumentError('$function is not a Function.'); + } + } + + @override + ReflectedInstance reflectInstance(Object object) { + if (!reflectable.canReflect(object)) { + throw UnsupportedError('Cannot reflect $object.'); + } else { + var mirror = reflectable.reflect(object); + return _GeneratedReflectedInstance(mirror, this); + } + } + + @override + ReflectedType reflectType(Type type) { + if (!reflectable.canReflectType(type)) { + throw UnsupportedError('Cannot reflect $type.'); + } else { + var mirror = reflectable.reflectType(type); + return mirror is ClassMirror + ? _GeneratedReflectedClass(mirror, this) + : _GeneratedReflectedType(mirror); + } + } +} + +class _GeneratedReflectedInstance extends ReflectedInstance { + final InstanceMirror mirror; + final GeneratedReflector reflector; + + _GeneratedReflectedInstance(this.mirror, this.reflector) + : super(_GeneratedReflectedType(mirror.type), + _GeneratedReflectedClass(mirror.type, reflector), mirror.reflectee); + + @override + ReflectedType get type => clazz; + + @override + ReflectedInstance getField(String name) { + var result = mirror.invokeGetter(name)!; + var instance = reflector.reflectable.reflect(result); + return _GeneratedReflectedInstance(instance, reflector); + } +} + +class _GeneratedReflectedClass extends ReflectedClass { + final ClassMirror mirror; + final Reflector reflector; + + _GeneratedReflectedClass(this.mirror, this.reflector) + : super(mirror.simpleName, [], [], [], [], mirror.reflectedType); + + @override + List get typeParameters => + mirror.typeVariables.map(_convertTypeVariable).toList(); + + @override + List get constructors => + _constructorsOf(mirror.declarations, reflector); + + @override + List get declarations => + _declarationsOf(mirror.declarations, reflector); + + @override + List get annotations => mirror.metadata + .map(reflector.reflectInstance) + .whereType() + .toList(); + + @override + bool isAssignableTo(ReflectedType? other) { + if (other is _GeneratedReflectedClass) { + return mirror.isAssignableTo(other.mirror); + } else if (other is _GeneratedReflectedType) { + return mirror.isAssignableTo(other.mirror); + } else { + return false; + } + } + + @override + ReflectedInstance newInstance( + String constructorName, List positionalArguments, + [Map? namedArguments, List? typeArguments]) { + namedArguments ??= {}; + var result = mirror.newInstance(constructorName, positionalArguments, + namedArguments.map((k, v) => MapEntry(Symbol(k), v))); + return reflector.reflectInstance(result)!; + } +} + +class _GeneratedReflectedType extends ReflectedType { + final TypeMirror mirror; + + _GeneratedReflectedType(this.mirror) + : super(mirror.simpleName, [], mirror.reflectedType); + + @override + List get typeParameters => + mirror.typeVariables.map(_convertTypeVariable).toList(); + + @override + bool isAssignableTo(ReflectedType? other) { + if (other is _GeneratedReflectedClass) { + return mirror.isAssignableTo(other.mirror); + } else if (other is _GeneratedReflectedType) { + return mirror.isAssignableTo(other.mirror); + } else { + return false; + } + } + + @override + ReflectedInstance newInstance( + String constructorName, List positionalArguments, + [Map namedArguments = const {}, + List typeArguments = const []]) { + throw UnsupportedError('Cannot create a new instance of $reflectedType.'); + } +} + +class _GeneratedReflectedFunction extends ReflectedFunction { + final MethodMirror mirror; + final Reflector reflector; + final ClosureMirror? closure; + + _GeneratedReflectedFunction(this.mirror, this.reflector, [this.closure]) + : super( + mirror.simpleName, + [], + [], + mirror.parameters + .map((p) => _convertParameter(p, reflector)) + .toList(), + mirror.isGetter, + mirror.isSetter, + returnType: !mirror.isRegularMethod + ? null + : _GeneratedReflectedType(mirror.returnType)); + + @override + List get annotations => mirror.metadata + .map(reflector.reflectInstance) + .whereType() + .toList(); + + @override + ReflectedInstance invoke(Invocation invocation) { + if (closure != null) { + throw UnsupportedError('Only closures can be invoked directly.'); + } else { + var result = closure!.delegate(invocation)!; + return reflector.reflectInstance(result)!; + } + } +} + +List _constructorsOf( + Map map, Reflector reflector) { + return map.entries.fold>([], (out, entry) { + var v = entry.value; + + if (v is MethodMirror && v.isConstructor) { + return out..add(_GeneratedReflectedFunction(v, reflector)); + } else { + return out; + } + }); +} + +List _declarationsOf( + Map map, Reflector reflector) { + return map.entries.fold>([], (out, entry) { + var v = entry.value; + + if (v is VariableMirror) { + var decl = ReflectedDeclaration(v.simpleName, v.isStatic, null); + return out..add(decl); + } + if (v is MethodMirror) { + var decl = ReflectedDeclaration( + v.simpleName, v.isStatic, _GeneratedReflectedFunction(v, reflector)); + return out..add(decl); + } else { + return out; + } + }); +} + +ReflectedTypeParameter _convertTypeVariable(TypeVariableMirror mirror) { + return ReflectedTypeParameter(mirror.simpleName); +} + +ReflectedParameter _convertParameter( + ParameterMirror mirror, Reflector reflector) { + return ReflectedParameter( + mirror.simpleName, + mirror.metadata + .map(reflector.reflectInstance) + .whereType() + .toList(), + reflector.reflectType(mirror.type.reflectedType)!, + !mirror.isOptional, + mirror.isNamed); +} diff --git a/packages/container/container_generator/pubspec.yaml b/packages/container/container_generator/pubspec.yaml new file mode 100644 index 0000000..39d6da3 --- /dev/null +++ b/packages/container/container_generator/pubspec.yaml @@ -0,0 +1,18 @@ +name: platform_container_generator +version: 9.0.0 +description: Codegen support for using pkg:reflectable with pkg:angel3_container. +homepage: https://angel3-framework.web.app/ +repository: https://github.com/dart-backend/angel/tree/master/packages/container/angel_container_generator +environment: + sdk: '>=3.3.0 <4.0.0' +dependencies: + platform_container: ^9.0.0 + reflectable: ^4.0.0 +dev_dependencies: + build_runner: ^2.4.0 + build_test: ^2.1.0 + test: ^1.24.0 + lints: ^4.0.0 +# dependency_overrides: +# angel3_container: +# path: ../angel_container diff --git a/packages/container/container_generator/test/reflector_test.dart b/packages/container/container_generator/test/reflector_test.dart new file mode 100644 index 0000000..ffa01db --- /dev/null +++ b/packages/container/container_generator/test/reflector_test.dart @@ -0,0 +1,179 @@ +import 'package:platform_container/platform_container.dart'; +import 'package:platform_container_generator/angel3_container_generator.dart'; + +import 'package:test/test.dart'; +import 'reflector_test.reflectable.dart'; + +void main() { + initializeReflectable(); + + var reflector = const GeneratedReflector(); + late Container container; + + setUp(() { + container = Container(reflector); + container.registerSingleton(Artist(name: 'Stevie Wonder')); + }); + + group('reflectClass', () { + var mirror = reflector.reflectClass(Artist); + + test('name', () { + expect(mirror.name, 'Artist'); + }); + }); + + test('inject constructor parameters', () { + var album = container.make(); + print(album.title); + expect(album.title, 'flowers by stevie wonder'); + }); + + // Skip as pkg:reflectable cannot reflect on closures at all (yet) + //testReflector(reflector); +} + +@contained +void returnVoidFromAFunction(int x) {} + +void testReflector(Reflector reflector) { + var blaziken = Pokemon('Blaziken', PokemonType.fire); + late Container container; + + setUp(() { + container = Container(reflector); + container.registerSingleton(blaziken); + }); + + test('get field', () { + var blazikenMirror = reflector.reflectInstance(blaziken)!; + expect(blazikenMirror.getField('type').reflectee, blaziken.type); + }); + + group('reflectFunction', () { + var mirror = reflector.reflectFunction(returnVoidFromAFunction); + + test('void return type returns dynamic', () { + expect(mirror?.returnType, reflector.reflectType(dynamic)); + }); + + test('counts parameters', () { + expect(mirror?.parameters, hasLength(1)); + }); + + test('counts types parameters', () { + expect(mirror?.typeParameters, isEmpty); + }); + + test('correctly reflects parameter types', () { + var p = mirror?.parameters[0]; + expect(p?.name, 'x'); + expect(p?.isRequired, true); + expect(p?.isNamed, false); + expect(p?.annotations, isEmpty); + expect(p?.type, reflector.reflectType(int)); + }); + }, skip: 'pkg:reflectable cannot reflect on closures at all (yet)'); + + test('make on singleton type returns singleton', () { + expect(container.make(Pokemon), blaziken); + }); + + test('make with generic returns same as make with explicit type', () { + expect(container.make(), blaziken); + }); + + test('make on aliased singleton returns singleton', () { + container.registerSingleton(blaziken, as: StateError); + expect(container.make(StateError), blaziken); + }); + + test('constructor injects singleton', () { + var lower = container.make(); + expect(lower.lowercaseName, blaziken.name.toLowerCase()); + }); + + test('newInstance works', () { + var type = container.reflector.reflectType(Pokemon)!; + var instance = + type.newInstance('changeName', [blaziken, 'Charizard']).reflectee + as Pokemon; + print(instance); + expect(instance.name, 'Charizard'); + expect(instance.type, PokemonType.fire); + }); + + test('isAssignableTo', () { + var pokemonType = container.reflector.reflectType(Pokemon); + var kantoPokemonType = container.reflector.reflectType(KantoPokemon)!; + + expect(kantoPokemonType.isAssignableTo(pokemonType), true); + + expect( + kantoPokemonType + .isAssignableTo(container.reflector.reflectType(String)), + false); + }); +} + +@contained +class LowerPokemon { + final Pokemon pokemon; + + LowerPokemon(this.pokemon); + + String get lowercaseName => pokemon.name.toLowerCase(); +} + +@contained +class Pokemon { + final String name; + final PokemonType type; + + Pokemon(this.name, this.type); + + factory Pokemon.changeName(Pokemon other, String name) { + return Pokemon(name, other.type); + } + + @override + String toString() => 'NAME: $name, TYPE: $type'; +} + +@contained +class KantoPokemon extends Pokemon { + KantoPokemon(super.name, super.type); +} + +@contained +enum PokemonType { water, fire, grass, ice, poison, flying } + +@contained +class Artist { + final String name; + + Artist({required this.name}); + + String get lowerName { + return name.toLowerCase(); + } +} + +@contained +class Album { + final Artist artist; + + Album(this.artist); + + String get title => 'flowers by ${artist.lowerName}'; +} + +@contained +class AlbumLength { + final Artist artist; + final Album album; + + AlbumLength(this.artist, this.album); + + int get totalLength => artist.name.length + album.title.length; +} diff --git a/packages/container/container_generator/test/reflector_test.reflectable.dart b/packages/container/container_generator/test/reflector_test.reflectable.dart new file mode 100644 index 0000000..12bfb14 --- /dev/null +++ b/packages/container/container_generator/test/reflector_test.reflectable.dart @@ -0,0 +1,7417 @@ +// This file has been generated by the reflectable package. +// https://github.com/dart-lang/reflectable. + +import 'dart:core'; +import 'dart:math' as prefix8; +import 'package:platform_container/src/reflector.dart' as prefix7; +import 'package:platform_container_generator/angel3_container_generator.dart' + as prefix0; +import 'package:reflectable/capability.dart' as prefix6; +import 'package:reflectable/mirrors.dart' as prefix5; +import 'package:reflectable/reflectable.dart' as prefix2; +import 'package:reflectable/src/reflectable_base.dart' as prefix4; +import 'package:reflectable/src/reflectable_builder_based.dart' as prefix3; +import 'reflector_test.dart' as prefix1; + +// ignore_for_file: camel_case_types +// ignore_for_file: implementation_imports +// ignore_for_file: prefer_adjacent_string_concatenation +// ignore_for_file: prefer_collection_literals +// ignore_for_file: unnecessary_const + +// ignore:unused_import +import 'package:reflectable/mirrors.dart' as m; +// ignore:unused_import +import 'package:reflectable/src/reflectable_builder_based.dart' as r; +// ignore:unused_import +import 'package:reflectable/reflectable.dart' as r show Reflectable; + +final _data = { + const prefix0.ContainedReflectable(): r.ReflectorData( + [ + r.NonGenericClassMirrorImpl( + r'LowerPokemon', + r'.LowerPokemon', + 134217735, + 0, + const prefix0.ContainedReflectable(), + const [27, 85, 86], + const [87, 88, 89, 90, 91, 84, 85], + const [], + 8, + {}, + {}, + { + r'': (bool b) => + (pokemon) => b ? prefix1.LowerPokemon(pokemon) : null + }, + 0, + 0, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'Pokemon', + r'.Pokemon', + 134217735, + 1, + const prefix0.ContainedReflectable(), + const [28, 29, 92, 95, 96], + const [87, 92, 89, 90, 91, 93, 94], + const [], + 8, + {}, + {}, + { + r'': (bool b) => + (name, type) => b ? prefix1.Pokemon(name, type) : null, + r'changeName': (bool b) => (other, name) => + b ? prefix1.Pokemon.changeName(other, name) : null + }, + 0, + 1, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'KantoPokemon', + r'.KantoPokemon', + 134217735, + 2, + const prefix0.ContainedReflectable(), + const [97], + const [87, 92, 89, 90, 91, 93, 94], + const [], + 1, + {}, + {}, + { + r'': (bool b) => + (name, type) => b ? prefix1.KantoPokemon(name, type) : null + }, + 0, + 2, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'Artist', + r'.Artist', + 134217735, + 3, + const prefix0.ContainedReflectable(), + const [30, 99, 100], + const [87, 88, 89, 90, 91, 98, 99], + const [], + 8, + {}, + {}, + { + r'': (bool b) => ({name}) => b ? prefix1.Artist(name: name) : null + }, + 0, + 3, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'Album', + r'.Album', + 134217735, + 4, + const prefix0.ContainedReflectable(), + const [31, 102, 103], + const [87, 88, 89, 90, 91, 101, 102], + const [], + 8, + {}, + {}, + {r'': (bool b) => (artist) => b ? prefix1.Album(artist) : null}, + 0, + 4, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'AlbumLength', + r'.AlbumLength', + 134217735, + 5, + const prefix0.ContainedReflectable(), + const [32, 33, 106, 107], + const [87, 88, 89, 90, 91, 104, 105, 106], + const [], + 8, + {}, + {}, + { + r'': (bool b) => (artist, album) => + b ? prefix1.AlbumLength(artist, album) : null + }, + 0, + 5, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'PokemonType', + r'.PokemonType', + 138412039, + 6, + const prefix0.ContainedReflectable(), + const [34, 35, 36, 37, 38, 39, 115], + const [87, 88, 89, 90, 91, 116], + const [108, 109, 110, 111, 112, 113, 114], + 9, + { + r'water': () => prefix1.PokemonType.water, + r'fire': () => prefix1.PokemonType.fire, + r'grass': () => prefix1.PokemonType.grass, + r'ice': () => prefix1.PokemonType.ice, + r'poison': () => prefix1.PokemonType.poison, + r'flying': () => prefix1.PokemonType.flying, + r'values': () => prefix1.PokemonType.values + }, + {}, + {}, + 0, + 6, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'ContainedReflectable', + r'.ContainedReflectable', + 134217735, + 7, + const prefix0.ContainedReflectable(), + const [117], + const [ + 87, + 88, + 89, + 90, + 91, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125 + ], + const [], + 10, + {}, + {}, + {r'': (bool b) => () => b ? prefix0.ContainedReflectable() : null}, + 1, + 7, + const [], + const [prefix0.contained], + null), + r.NonGenericClassMirrorImpl( + r'Object', + r'dart.core.Object', + 134217735, + 8, + const prefix0.ContainedReflectable(), + const [87, 88, 89, 126, 127, 128, 90, 91, 129], + const [87, 88, 89, 90, 91], + const [126, 127, 128], + null, + { + r'hash': () => Object.hash, + r'hashAll': () => Object.hashAll, + r'hashAllUnordered': () => Object.hashAllUnordered + }, + {}, + {r'': (bool b) => () => b ? Object() : null}, + 2, + 8, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'Enum', + r'dart.core.Enum', + 134218247, + 9, + const prefix0.ContainedReflectable(), + const [130, 131, 116, 132], + const [87, 88, 89, 90, 91, 116], + const [130, 131], + 8, + { + r'compareByIndex': () => Enum.compareByIndex, + r'compareByName': () => Enum.compareByName + }, + {}, + {}, + 2, + 9, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'Reflectable', + r'reflectable.reflectable.Reflectable', + 134218247, + 10, + const prefix0.ContainedReflectable(), + const [41, 42, 133, 136, 137], + const [ + 87, + 88, + 89, + 90, + 91, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125 + ], + const [133, 134, 135], + 11, + { + r'getInstance': () => prefix2.Reflectable.getInstance, + r'thisClassName': () => prefix2.Reflectable.thisClassName, + r'thisClassId': () => prefix2.Reflectable.thisClassId + }, + {}, + {}, + 3, + 10, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'ReflectableImpl', + r'reflectable.src.reflectable_builder_based.ReflectableImpl', + 134218247, + 11, + const prefix0.ContainedReflectable(), + const [119, 120, 121, 122, 123, 124, 125, 138, 139], + const [ + 87, + 88, + 89, + 90, + 91, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125 + ], + const [], + 12, + {}, + {}, + {}, + 4, + 11, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'ReflectableBase', + r'reflectable.src.reflectable_base.ReflectableBase', + 134217735, + 12, + const prefix0.ContainedReflectable(), + const [118, 140, 141], + const [87, 88, 89, 90, 91, 118], + const [], + 8, + {}, + {}, + { + r'': (bool b) => ( + [_cap0, + _cap1, + _cap2, + _cap3, + _cap4, + _cap5, + _cap6, + _cap7, + _cap8, + _cap9]) => + b + ? prefix4.ReflectableBase(_cap0, _cap1, _cap2, _cap3, + _cap4, _cap5, _cap6, _cap7, _cap8, _cap9) + : null, + r'fromList': (bool b) => (_capabilities) => + b ? prefix4.ReflectableBase.fromList(_capabilities) : null + }, + 5, + 12, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'Invocation', + r'dart.core.Invocation', + 134218247, + 13, + const prefix0.ContainedReflectable(), + const [ + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154 + ], + const [87, 88, 89, 90, 91, 143, 149], + const [], + 8, + {}, + {}, + { + r'method': (bool b) => + (memberName, positionalArguments, [namedArguments]) => b + ? Invocation.method( + memberName, positionalArguments, namedArguments) + : null, + r'genericMethod': (bool b) => (memberName, typeArguments, + positionalArguments, [namedArguments]) => + b + ? Invocation.genericMethod(memberName, typeArguments, + positionalArguments, namedArguments) + : null, + r'getter': (bool b) => + (name) => b ? Invocation.getter(name) : null, + r'setter': (bool b) => (memberName, argument) => + b ? Invocation.setter(memberName, argument) : null + }, + 2, + 13, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'bool', + r'dart.core.bool', + 134217735, + 14, + const prefix0.ContainedReflectable(), + const [155, 156, 157, 158, 159, 160, 161, 162, 163], + const [87, 160, 89, 161, 91, 157, 158, 159], + const [155, 156], + 8, + {r'parse': () => bool.parse, r'tryParse': () => bool.tryParse}, + {}, + { + r'fromEnvironment': (bool b) => (name, {defaultValue}) => b + ? bool.fromEnvironment(name, defaultValue: defaultValue) + : null, + r'hasEnvironment': (bool b) => + (name) => b ? bool.hasEnvironment(name) : null + }, + 2, + 14, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'String', + r'dart.core.String', + 134218247, + 15, + const prefix0.ContainedReflectable(), + const [ + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198 + ], + const [87, 88, 89, 90, 91], + const [], + 8, + {}, + {}, + { + r'fromCharCodes': (bool b) => (charCodes, [start, end]) => + b ? String.fromCharCodes(charCodes, start, end) : null, + r'fromCharCode': (bool b) => + (charCode) => b ? String.fromCharCode(charCode) : null, + r'fromEnvironment': (bool b) => (name, {defaultValue}) => b + ? String.fromEnvironment(name, defaultValue: defaultValue) + : null + }, + 2, + 15, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'int', + r'dart.core.int', + 134218247, + 16, + const prefix0.ContainedReflectable(), + const [ + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229 + ], + const [87, 88, 89, 90, 91], + const [223, 224], + -1, + {r'parse': () => int.parse, r'tryParse': () => int.tryParse}, + {}, + { + r'fromEnvironment': (bool b) => (name, {defaultValue}) => b + ? int.fromEnvironment(name, defaultValue: defaultValue) + : null + }, + 2, + 16, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'Type', + r'dart.core.Type', + 134218247, + 17, + const prefix0.ContainedReflectable(), + const [230, 231, 232, 233], + const [87, 88, 89, 90, 91], + const [], + 8, + {}, + {}, + {}, + 2, + 17, + const [], + const [], + null), + r.GenericClassMirrorImpl( + r'List', + r'dart.core.List', + 134218247, + 18, + const prefix0.ContainedReflectable(), + const [ + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276 + ], + const [87, 88, 89, 90, 91], + const [234, 235, 236], + 8, + { + r'castFrom': () => List.castFrom, + r'copyRange': () => List.copyRange, + r'writeIterable': () => List.writeIterable + }, + {}, + { + r'filled': (bool b) => (length, fill, {growable}) => + b ? List.filled(length, fill, growable: growable) : null, + r'empty': (bool b) => + ({growable}) => b ? List.empty(growable: growable) : null, + r'from': (bool b) => (elements, {growable}) => + b ? List.from(elements, growable: growable) : null, + r'of': (bool b) => (elements, {growable}) => + b ? List.of(elements, growable: growable) : null, + r'generate': (bool b) => (length, generator, {growable}) => b + ? List.generate(length, generator, growable: growable) + : null, + r'unmodifiable': (bool b) => + (elements) => b ? List.unmodifiable(elements) : null + }, + 2, + 18, + const [23], + const [], + null, + (o) => false, + const [25], + 18), + r.NonGenericClassMirrorImpl( + r'InstanceMirror', + r'reflectable.mirrors.InstanceMirror', + 134218247, + 19, + const prefix0.ContainedReflectable(), + const [277, 278, 279, 280, 281, 282, 283], + const [87, 88, 89, 90, 91], + const [], + 8, + {}, + {}, + {}, + 6, + 19, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'TypeMirror', + r'reflectable.mirrors.TypeMirror', + 134218247, + 20, + const prefix0.ContainedReflectable(), + const [ + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297 + ], + const [87, 88, 89, 90, 91], + const [], + 8, + {}, + {}, + {}, + 6, + 20, + const [], + const [], + null), + r.NonGenericClassMirrorImpl( + r'LibraryMirror', + r'reflectable.mirrors.LibraryMirror', + 134218247, + 21, + const prefix0.ContainedReflectable(), + const [298, 299, 300, 301, 302, 303, 304], + const [87, 88, 89, 90, 91], + const [], + 8, + {}, + {}, + {}, + 6, + 21, + const [], + const [], + null), + r.GenericClassMirrorImpl( + r'Map', + r'dart.core.Map', + 134218247, + 22, + const prefix0.ContainedReflectable(), + const [ + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334 + ], + const [87, 88, 89, 90, 91], + const [305], + 8, + {r'castFrom': () => Map.castFrom}, + {}, + { + r'': (bool b) => () => b ? Map() : null, + r'from': (bool b) => (other) => b ? Map.from(other) : null, + r'of': (bool b) => (other) => b ? Map.of(other) : null, + r'unmodifiable': (bool b) => + (other) => b ? Map.unmodifiable(other) : null, + r'identity': (bool b) => () => b ? Map.identity() : null, + r'fromIterable': (bool b) => (iterable, {key, value}) => + b ? Map.fromIterable(iterable, key: key, value: value) : null, + r'fromIterables': (bool b) => + (keys, values) => b ? Map.fromIterables(keys, values) : null, + r'fromEntries': (bool b) => + (entries) => b ? Map.fromEntries(entries) : null + }, + 2, + 22, + const [], + const [], + null, + (o) => false, + const [26, 27], + 22), + r.GenericClassMirrorImpl( + r'Iterable', + r'dart.core.Iterable', + 134218247, + 23, + const prefix0.ContainedReflectable(), + const [ + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371 + ], + const [ + 87, + 359, + 89, + 90, + 91, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 363, + 364, + 365, + 366, + 367, + 368 + ], + const [335, 360, 361], + 8, + { + r'castFrom': () => Iterable.castFrom, + r'iterableToShortString': () => Iterable.iterableToShortString, + r'iterableToFullString': () => Iterable.iterableToFullString + }, + {}, + { + r'generate': (bool b) => (count, [generator]) => + b ? Iterable.generate(count, generator) : null, + r'empty': (bool b) => () => b ? Iterable.empty() : null + }, + 2, + 23, + const [], + const [], + null, + (o) => false, + const [28], + 23), + r.NonGenericClassMirrorImpl( + r'ReflectCapability', + r'reflectable.capability.ReflectCapability', + 134218247, + 24, + const prefix0.ContainedReflectable(), + const [372], + const [87, 88, 89, 90, 91], + const [], + 8, + {}, + {}, + {}, + 7, + 24, + const [], + const [], + null), + r.TypeVariableMirrorImpl(r'E', r'dart.core.List.E', + const prefix0.ContainedReflectable(), 8, 18, []), + r.TypeVariableMirrorImpl(r'K', r'dart.core.Map.K', + const prefix0.ContainedReflectable(), 8, 22, []), + r.TypeVariableMirrorImpl(r'V', r'dart.core.Map.V', + const prefix0.ContainedReflectable(), 8, 22, []), + r.TypeVariableMirrorImpl(r'E', r'dart.core.Iterable.E', + const prefix0.ContainedReflectable(), 8, 23, []) + ], + [ + r.VariableMirrorImpl( + r'contained', + 142738581, + 1, + const prefix0.ContainedReflectable(), + 10, + 10, + 10, const [], const []), + r.VariableMirrorImpl( + r'deprecated', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 25, + 25, const [], const []), + r.VariableMirrorImpl( + r'override', + 142738581, + -1, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, const [], const []), + r.VariableMirrorImpl( + r'pleaseInitializeMessage', + 142738581, + -1, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, const [], const []), + r.VariableMirrorImpl( + r'data', + 142737429, + -1, + const prefix0.ContainedReflectable(), + 22, + 26, + 22, + const [10, 27], + const []), + r.VariableMirrorImpl( + r'memberSymbolMap', + 75628565, + -1, + const prefix0.ContainedReflectable(), + 22, + 28, + 22, + const [29, 15], + const []), + r.VariableMirrorImpl( + r'instanceInvokeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 30, + 30, const [], const []), + r.VariableMirrorImpl( + r'staticInvokeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 31, + 31, const [], const []), + r.VariableMirrorImpl( + r'topLevelInvokeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 32, + 32, const [], const []), + r.VariableMirrorImpl( + r'newInstanceCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 33, + 33, const [], const []), + r.VariableMirrorImpl( + r'metadataCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 34, + 34, const [], const []), + r.VariableMirrorImpl( + r'typeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 35, + 35, const [], const []), + r.VariableMirrorImpl( + r'typeRelationsCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 36, + 36, const [], const []), + r.VariableMirrorImpl( + r'reflectedTypeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 37, + 37, const [], const []), + r.VariableMirrorImpl( + r'libraryCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 38, + 38, const [], const []), + r.VariableMirrorImpl( + r'declarationsCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 39, + 39, const [], const []), + r.VariableMirrorImpl( + r'uriCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 40, + 40, const [], const []), + r.VariableMirrorImpl( + r'libraryDependenciesCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 41, + 41, const [], const []), + r.VariableMirrorImpl( + r'invokingCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 42, + 42, const [], const []), + r.VariableMirrorImpl( + r'typingCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 43, + 43, const [], const []), + r.VariableMirrorImpl( + r'delegateCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 44, + 44, const [], const []), + r.VariableMirrorImpl( + r'subtypeQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 45, + 45, const [], const []), + r.VariableMirrorImpl( + r'superclassQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 46, + 46, const [], const []), + r.VariableMirrorImpl( + r'typeAnnotationQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 47, + 47, const [], const []), + r.VariableMirrorImpl( + r'typeAnnotationDeepQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 47, + 47, const [], const []), + r.VariableMirrorImpl( + r'correspondingSetterQuantifyCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 48, + 48, const [], const []), + r.VariableMirrorImpl( + r'admitSubtypeCapability', + 142738581, + -1, + const prefix0.ContainedReflectable(), + -1, + 49, + 49, const [], const []), + r.VariableMirrorImpl( + r'pokemon', + 134349829, + 0, + const prefix0.ContainedReflectable(), + 1, + 1, + 1, const [], const []), + r.VariableMirrorImpl( + r'name', + 134349829, + 1, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, const [], const []), + r.VariableMirrorImpl( + r'type', + 134349829, + 1, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, const [], const []), + r.VariableMirrorImpl( + r'name', + 134349829, + 3, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, const [], const []), + r.VariableMirrorImpl( + r'artist', + 134349829, + 4, + const prefix0.ContainedReflectable(), + 3, + 3, + 3, const [], const []), + r.VariableMirrorImpl( + r'artist', + 134349829, + 5, + const prefix0.ContainedReflectable(), + 3, + 3, + 3, const [], const []), + r.VariableMirrorImpl( + r'album', + 134349829, + 5, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, const [], const []), + r.VariableMirrorImpl( + r'water', + 134349973, + 6, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, const [], const []), + r.VariableMirrorImpl( + r'fire', + 134349973, + 6, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, const [], const []), + r.VariableMirrorImpl( + r'grass', + 134349973, + 6, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, const [], const []), + r.VariableMirrorImpl( + r'ice', + 134349973, + 6, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, const [], const []), + r.VariableMirrorImpl( + r'poison', + 134349973, + 6, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, const [], const []), + r.VariableMirrorImpl( + r'flying', + 134349973, + 6, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, const [], const []), + r.VariableMirrorImpl( + r'values', + 151127253, + 6, + const prefix0.ContainedReflectable(), + 18, + 50, + 18, + const [6], + const []), + r.VariableMirrorImpl( + r'thisClassName', + 134349973, + 10, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, const [], const []), + r.VariableMirrorImpl( + r'thisClassId', + 134349973, + 10, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, const [], const []), + r.MethodMirrorImpl(r'main', 9699352, 0, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'returnVoidFromAFunction', + 9699352, + 0, + -1, + -1, + -1, + const [], + const [0], + const prefix0.ContainedReflectable(), + const [prefix0.contained]), + r.MethodMirrorImpl( + r'testReflector', + 9699352, + 0, + -1, + -1, + -1, + const [], + const [1], + const prefix0.ContainedReflectable(), + const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 0, 19), + r.MethodMirrorImpl( + r'identical', + 10485784, + -1, + 14, + 14, + 14, + const [], + const [2, 3], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'identityHashCode', + 10485784, + -1, + 16, + 16, + 16, + const [], + const [4], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'print', 9699352, -1, -1, -1, -1, const [], + const [5], const prefix0.ContainedReflectable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 1, 23), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 2, 24), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 3, 25), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 4, 26), + r.ImplicitSetterMirrorImpl(const prefix0.ContainedReflectable(), 4, 27), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 5, 28), + r.ImplicitSetterMirrorImpl(const prefix0.ContainedReflectable(), 5, 29), + r.MethodMirrorImpl( + r'reflectors', + 44040211, + -1, + -1, + 51, + 52, + const [10], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchInvokableError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [8, 9, 10, 11, 12], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchMethodError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [13, 14, 15, 16], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchGetterError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [17, 18, 19, 20], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchSetterError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [21, 22, 23, 24], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectableNoSuchConstructorError', + 8912920, + -1, + -1, + -1, + -1, + const [], + const [25, 26, 27, 28], + const prefix0.ContainedReflectable(), + const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 6, 36), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 7, 37), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 8, 38), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 9, 39), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 10, 40), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 11, 41), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 12, 42), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 13, 43), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 14, 44), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 15, 45), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 16, 46), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 17, 47), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 18, 48), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 19, 49), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 20, 50), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 21, 51), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 22, 52), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 23, 53), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 24, 54), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 25, 55), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 26, 56), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 0, 57), + r.MethodMirrorImpl( + r'lowercaseName', + 2097155, + 0, + 15, + 15, + 15, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'', 0, 0, -1, 0, 0, const [], const [29], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'==', 2097154, 8, 14, 14, 14, const [], + const [30], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toString', 2097154, 8, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'noSuchMethod', + 524290, + 8, + -1, + -1, + -1, + const [], + const [31], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'hashCode', 2097155, 8, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'runtimeType', + 2097155, + 8, + 17, + 17, + 17, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'toString', + 2097154, + 1, + 15, + 15, + 15, + const [], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 1, 66), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 2, 67), + r.MethodMirrorImpl( + r'', + 0, + 1, + -1, + 1, + 1, + const [], + const [32, 33], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'changeName', + 1, + 1, + -1, + 1, + 1, + const [], + const [34, 35], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'', + 0, + 2, + -1, + 2, + 2, + const [], + const [36, 37], + const prefix0.ContainedReflectable(), + const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 3, 71), + r.MethodMirrorImpl(r'lowerName', 2097155, 3, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 0, 3, -1, 3, 3, const [], const [38], + const prefix0.ContainedReflectable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 4, 74), + r.MethodMirrorImpl(r'title', 2097155, 4, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 0, 4, -1, 4, 4, const [], const [39], + const prefix0.ContainedReflectable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 5, 77), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 6, 78), + r.MethodMirrorImpl( + r'totalLength', + 2097155, + 5, + 16, + 16, + 16, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'', + 0, + 5, + -1, + 5, + 5, + const [], + const [40, 41], + const prefix0.ContainedReflectable(), + const []), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 7, 81), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 8, 82), + r.ImplicitGetterMirrorImpl(const prefix0.ContainedReflectable(), 9, 83), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 10, 84), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 11, 85), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 12, 86), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 13, 87), + r.MethodMirrorImpl(r'', 192, 6, -1, 6, 6, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'index', 2097155, 9, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 128, 7, -1, 7, 7, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'capabilities', + 35651587, + 12, + 18, + 53, + 18, + const [24], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'canReflect', + 2097154, + 11, + 14, + 14, + 14, + const [], + const [42], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'reflect', + 2097154, + 11, + 19, + 19, + 19, + const [], + const [43], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'canReflectType', + 2097154, + 11, + 14, + 14, + 14, + const [], + const [44], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'reflectType', + 2097154, + 11, + 20, + 20, + 20, + const [], + const [45], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'findLibrary', + 2097154, + 11, + 21, + 21, + 21, + const [], + const [46], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'libraries', + 35651587, + 11, + 22, + 55, + 22, + const [54, 21], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'annotatedClasses', + 35651587, + 11, + 23, + 57, + 23, + const [56], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'hash', + 2097170, + 8, + 16, + 16, + 16, + const [], + const [ + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66 + ], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'hashAll', 2097170, 8, 16, 16, 16, const [], + const [67], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'hashAllUnordered', + 2097170, + 8, + 16, + 16, + 16, + const [], + const [68], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'', 128, 8, -1, 8, 8, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'compareByIndex', + 2097170, + 9, + 16, + 16, + 16, + const [], + const [69, 70], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'compareByName', + 2097170, + 9, + 16, + 16, + 16, + const [], + const [71, 72], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'', 64, 9, -1, 9, 9, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'getInstance', + 2097170, + 10, + 10, + 10, + 10, + const [], + const [73], + const prefix0.ContainedReflectable(), + const []), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 14, 107), + r.ImplicitGetterMirrorImpl( + const prefix0.ContainedReflectable(), 15, 108), + r.MethodMirrorImpl( + r'', + 128, + 10, + -1, + 10, + 10, + const [], + const [74, 75, 76, 77, 78, 79, 80, 81, 82, 83], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromList', 128, 10, -1, 10, 10, const [], + const [84], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'', + 128, + 11, + -1, + 11, + 11, + const [], + const [85, 86, 87, 88, 89, 90, 91, 92, 93, 94], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromList', 128, 11, -1, 11, 11, const [], + const [95], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'', + 128, + 12, + -1, + 12, + 12, + const [], + const [96, 97, 98, 99, 100, 101, 102, 103, 104, 105], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromList', 128, 12, -1, 12, 12, const [], + const [106], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'memberName', + 2097667, + 13, + -1, + 29, + 29, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'typeArguments', + 35651587, + 13, + 18, + 58, + 18, + const [17], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'positionalArguments', + 35652099, + 13, + 18, + 59, + 18, + null, + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'namedArguments', 35652099, 13, 22, 60, 22, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isMethod', 2097667, 13, 14, 14, 14, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isGetter', 2097667, 13, 14, 14, 14, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isSetter', 2097667, 13, 14, 14, 14, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'isAccessor', + 2097155, + 13, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'', 0, 13, -1, 13, 13, const [], const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'method', + 1, + 13, + -1, + 13, + 13, + const [], + const [107, 108, 109], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'genericMethod', + 1, + 13, + -1, + 13, + 13, + const [], + const [110, 111, 112, 113], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'getter', 257, 13, -1, 13, 13, const [], + const [114], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'setter', + 257, + 13, + -1, + 13, + 13, + const [], + const [115, 116], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'parse', + 2097170, + 14, + 14, + 14, + 14, + const [], + const [117, 118], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'tryParse', + 2097170, + 14, + 14, + 14, + 14, + const [], + const [119, 120], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'&', 2097154, 14, 14, 14, 14, const [], + const [121], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'|', 2097154, 14, 14, 14, 14, const [], + const [122], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'^', 2097154, 14, 14, 14, 14, const [], + const [123], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toString', 2097154, 14, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'hashCode', 2097155, 14, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromEnvironment', + 129, + 14, + -1, + 14, + 14, + const [], + const [124, 125], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'hasEnvironment', + 129, + 14, + -1, + 14, + 14, + const [], + const [126], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'[]', 2097666, 15, 15, 15, 15, const [], + const [127], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'codeUnitAt', + 2097666, + 15, + 16, + 16, + 16, + const [], + const [128], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'==', 2097666, 15, 14, 14, 14, const [], + const [129], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'compareTo', 2097666, 15, 16, 16, 16, const [], + const [130], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'endsWith', 2097666, 15, 14, 14, 14, const [], + const [131], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'startsWith', + 2097666, + 15, + 14, + 14, + 14, + const [], + const [132, 133], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'indexOf', + 2097666, + 15, + 16, + 16, + 16, + const [], + const [134, 135], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'lastIndexOf', + 2097666, + 15, + 16, + 16, + 16, + const [], + const [136, 137], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'+', 2097666, 15, 15, 15, 15, const [], + const [138], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'substring', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [139, 140], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'trim', 2097666, 15, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'trimLeft', 2097666, 15, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'trimRight', 2097666, 15, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'*', 2097666, 15, 15, 15, 15, const [], + const [141], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'padLeft', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [142, 143], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'padRight', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [144, 145], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'contains', + 2097666, + 15, + 14, + 14, + 14, + const [], + const [146, 147], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceFirst', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [148, 149, 150], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceFirstMapped', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [151, 152, 153], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceAll', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [154, 155], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceAllMapped', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [156, 157], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceRange', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [158, 159, 160], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'split', 35652098, 15, 18, 61, 18, const [15], + const [161], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'splitMapJoin', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [162, 163, 164], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'toLowerCase', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'toUpperCase', + 2097666, + 15, + 15, + 15, + 15, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'length', 2097667, 15, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'hashCode', 2097667, 15, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isEmpty', 2097667, 15, 14, 14, 14, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'isNotEmpty', + 2097667, + 15, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'codeUnits', + 35652099, + 15, + 18, + 62, + 18, + const [16], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'runes', 2097667, 15, -1, 63, 63, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromCharCodes', + 1, + 15, + -1, + 15, + 15, + const [], + const [165, 166, 167], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromCharCode', 1, 15, -1, 15, 15, const [], + const [168], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromEnvironment', + 129, + 15, + -1, + 15, + 15, + const [], + const [169, 170], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'&', 2097666, 16, 16, 16, 16, const [], + const [171], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'|', 2097666, 16, 16, 16, 16, const [], + const [172], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'^', 2097666, 16, 16, 16, 16, const [], + const [173], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'~', 2097666, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'<<', 2097666, 16, 16, 16, 16, const [], + const [174], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'>>', 2097666, 16, 16, 16, 16, const [], + const [175], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'>>>', 2097666, 16, 16, 16, 16, const [], + const [176], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'modPow', + 2097666, + 16, + 16, + 16, + 16, + const [], + const [177, 178], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'modInverse', + 2097666, + 16, + 16, + 16, + 16, + const [], + const [179], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'gcd', 2097666, 16, 16, 16, 16, const [], + const [180], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'toUnsigned', + 2097666, + 16, + 16, + 16, + 16, + const [], + const [181], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'toSigned', 2097666, 16, 16, 16, 16, const [], + const [182], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'unary-', 2097666, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'abs', 2097666, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'round', 2097666, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'floor', 2097666, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'ceil', 2097666, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'truncate', 2097666, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'roundToDouble', + 2097666, + 16, + -1, + 64, + 64, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'floorToDouble', + 2097666, + 16, + -1, + 64, + 64, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'ceilToDouble', + 2097666, + 16, + -1, + 64, + 64, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'truncateToDouble', + 2097666, + 16, + -1, + 64, + 64, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'toString', 2097666, 16, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'toRadixString', + 2097666, + 16, + 15, + 15, + 15, + const [], + const [183], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'parse', + 2097170, + 16, + 16, + 16, + 16, + const [], + const [184, 185], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'tryParse', + 2097170, + 16, + 16, + 16, + 16, + const [], + const [186, 187], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'isEven', 2097667, 16, 14, 14, 14, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isOdd', 2097667, 16, 14, 14, 14, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'bitLength', 2097667, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'sign', 2097667, 16, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromEnvironment', + 129, + 16, + -1, + 16, + 16, + const [], + const [188, 189], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'==', 2097666, 17, 14, 14, 14, const [], + const [190], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toString', 2097666, 17, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'hashCode', 2097667, 17, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 64, 17, -1, 17, 17, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'castFrom', 35651602, 18, 18, 65, 18, null, + const [191], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'copyRange', + 1310738, + 18, + -1, + -1, + -1, + const [], + const [192, 193, 194, 195, 196], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'writeIterable', + 1310738, + 18, + -1, + -1, + -1, + const [], + const [197, 198, 199], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'cast', 35652098, 18, 18, 66, 18, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'[]', 514, 18, -1, -1, -1, const [], + const [200], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'[]=', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [201, 202], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'add', 1311234, 18, -1, -1, -1, const [], + const [203], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'addAll', 1311234, 18, -1, -1, -1, const [], + const [204], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'sort', 1311234, 18, -1, -1, -1, const [], + const [205], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'shuffle', 1311234, 18, -1, -1, -1, const [], + const [206], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'indexOf', + 2097666, + 18, + 16, + 16, + 16, + const [], + const [207, 208], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'indexWhere', + 2097666, + 18, + 16, + 16, + 16, + const [], + const [209, 210], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'lastIndexWhere', + 2097666, + 18, + 16, + 16, + 16, + const [], + const [211, 212], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'lastIndexOf', + 2097666, + 18, + 16, + 16, + 16, + const [], + const [213, 214], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'clear', 1311234, 18, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'insert', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [215, 216], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'insertAll', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [217, 218], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'setAll', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [219, 220], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'remove', 2097666, 18, 14, 14, 14, const [], + const [221], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'removeAt', 514, 18, -1, -1, -1, const [], + const [222], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'removeLast', 514, 18, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'removeWhere', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [223], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'retainWhere', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [224], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'+', 35652098, 18, 18, 67, 18, null, + const [225], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'sublist', + 35652098, + 18, + 18, + 67, + 18, + null, + const [226, 227], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'getRange', + 35652098, + 18, + 23, + 68, + 23, + null, + const [228, 229], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'setRange', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [230, 231, 232, 233], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'removeRange', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [234, 235], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'fillRange', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [236, 237, 238], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'replaceRange', + 1311234, + 18, + -1, + -1, + -1, + const [], + const [239, 240, 241], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'asMap', 35652098, 18, 22, 69, 22, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'==', 2097666, 18, 14, 14, 14, const [], + const [242], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'first=', 1311236, 18, -1, -1, -1, const [], + const [255], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'last=', 1311236, 18, -1, -1, -1, const [], + const [256], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length', 2097667, 18, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length=', 1311236, 18, -1, -1, -1, const [], + const [257], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'reversed', 35652099, 18, 23, 68, 23, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'filled', + 1, + 18, + -1, + 67, + 18, + null, + const [243, 244, 245], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'empty', 1, 18, -1, 67, 18, null, const [246], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'from', + 1, + 18, + -1, + 67, + 18, + null, + const [247, 248], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'of', + 1, + 18, + -1, + 67, + 18, + null, + const [249, 250], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'generate', + 1, + 18, + -1, + 67, + 18, + null, + const [251, 252, 253], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'unmodifiable', 1, 18, -1, 67, 18, null, + const [254], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'==', + 2097666, + 19, + 14, + 14, + 14, + const [], + const [258], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'delegate', 2097666, 19, 8, 8, 8, const [], + const [259], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'type', 2097667, 19, -1, 56, 56, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'hasReflectee', + 2097667, + 19, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'reflectee', 2097667, 19, 8, 8, 8, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'hashCode', + 2097667, + 19, + 16, + 16, + 16, + const [], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'', 64, 19, -1, 19, 19, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'isSubtypeOf', + 2097666, + 20, + 14, + 14, + 14, + const [], + const [260], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isAssignableTo', + 2097666, + 20, + 14, + 14, + 14, + const [], + const [261], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'hasReflectedType', + 2097667, + 20, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectedType', + 2097667, + 20, + 17, + 17, + 17, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'typeVariables', + 35652099, + 20, + 18, + 71, + 18, + const [70], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'typeArguments', + 35652099, + 20, + 18, + 72, + 18, + const [20], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'reflectedTypeArguments', + 35652099, + 20, + 18, + 58, + 18, + const [17], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isOriginalDeclaration', + 2097667, + 20, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'originalDeclaration', + 2097667, + 20, + 20, + 20, + 20, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isNullable', + 2097667, + 20, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isNonNullable', + 2097667, + 20, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isPotentiallyNullable', + 2097667, + 20, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'isPotentiallyNonNullable', + 2097667, + 20, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'', 64, 20, -1, 20, 20, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'==', + 2097666, + 21, + 14, + 14, + 14, + const [], + const [262], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'uri', 2097667, 21, -1, 54, 54, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'declarations', + 35652099, + 21, + 22, + 74, + 22, + const [15, 73], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'hashCode', + 2097667, + 21, + 16, + 16, + 16, + const [], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl( + r'libraryDependencies', + 35652099, + 21, + 18, + 76, + 18, + const [75], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'owner', + 2097667, + 21, + -1, + 77, + 77, + const [], + const [], + const prefix0.ContainedReflectable(), + const [override]), + r.MethodMirrorImpl(r'', 64, 21, -1, 21, 21, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'castFrom', 35651602, 22, 22, 78, 22, null, + const [263], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'cast', 35652098, 22, 22, 79, 22, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'containsValue', + 2097666, + 22, + 14, + 14, + 14, + const [], + const [264], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'containsKey', + 2097666, + 22, + 14, + 14, + 14, + const [], + const [265], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'[]', 514, 22, -1, -1, -1, const [], + const [266], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'[]=', + 1311234, + 22, + -1, + -1, + -1, + const [], + const [267, 268], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'map', 35652098, 22, 22, 80, 22, null, + const [269], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'addEntries', + 1311234, + 22, + -1, + -1, + -1, + const [], + const [270], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'update', + 514, + 22, + -1, + -1, + -1, + const [], + const [271, 272, 273], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'updateAll', 1311234, 22, -1, -1, -1, const [], + const [274], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'removeWhere', + 1311234, + 22, + -1, + -1, + -1, + const [], + const [275], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'putIfAbsent', + 514, + 22, + -1, + -1, + -1, + const [], + const [276, 277], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'addAll', 1311234, 22, -1, -1, -1, const [], + const [278], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'remove', 514, 22, -1, -1, -1, const [], + const [279], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'clear', 1311234, 22, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'forEach', 1311234, 22, -1, -1, -1, const [], + const [280], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'entries', 35652099, 22, 23, 81, 23, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'keys', 35652099, 22, 23, 82, 23, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'values', 35652099, 22, 23, 83, 23, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length', 2097667, 22, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isEmpty', 2097667, 22, 14, 14, 14, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'isNotEmpty', + 2097667, + 22, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'', 1, 22, -1, 84, 22, null, const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'from', 257, 22, -1, 84, 22, null, const [281], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'of', 257, 22, -1, 84, 22, null, const [282], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'unmodifiable', 1, 22, -1, 84, 22, null, + const [283], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'identity', 257, 22, -1, 84, 22, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fromIterable', + 257, + 22, + -1, + 84, + 22, + null, + const [284, 285, 286], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'fromIterables', + 257, + 22, + -1, + 84, + 22, + null, + const [287, 288], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'fromEntries', 1, 22, -1, 84, 22, null, + const [289], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'castFrom', 35651602, 23, 23, 85, 23, null, + const [290], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'cast', 35651586, 23, 23, 86, 23, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'followedBy', 35651586, 23, 23, 87, 23, null, + const [291], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'map', 35651586, 23, 23, 88, 23, null, + const [292], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'where', 35651586, 23, 23, 87, 23, null, + const [293], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'whereType', 35651586, 23, 23, 89, 23, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'expand', 35651586, 23, 23, 90, 23, null, + const [294], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'contains', 2097154, 23, 14, 14, 14, const [], + const [295], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'forEach', 1310722, 23, -1, -1, -1, const [], + const [296], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'reduce', 2, 23, -1, -1, -1, const [], + const [297], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'fold', + 2, + 23, + -1, + -1, + -1, + const [], + const [298, 299], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'every', 2097154, 23, 14, 14, 14, const [], + const [300], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'join', 2097154, 23, 15, 15, 15, const [], + const [301], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'any', 2097154, 23, 14, 14, 14, const [], + const [302], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toList', 35651586, 23, 18, 91, 18, null, + const [303], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toSet', 35651586, 23, -1, 92, 93, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'take', 35651586, 23, 23, 87, 23, null, + const [304], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'takeWhile', 35651586, 23, 23, 87, 23, null, + const [305], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'skip', 35651586, 23, 23, 87, 23, null, + const [306], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'skipWhile', 35651586, 23, 23, 87, 23, null, + const [307], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'firstWhere', + 2, + 23, + -1, + -1, + -1, + const [], + const [308, 309], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'lastWhere', + 2, + 23, + -1, + -1, + -1, + const [], + const [310, 311], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'singleWhere', + 2, + 23, + -1, + -1, + -1, + const [], + const [312, 313], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'elementAt', 2, 23, -1, -1, -1, const [], + const [314], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'toString', 2097154, 23, 15, 15, 15, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'iterableToShortString', + 2097170, + 23, + 15, + 15, + 15, + const [], + const [315, 316, 317], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl( + r'iterableToFullString', + 2097170, + 23, + 15, + 15, + 15, + const [], + const [318, 319, 320], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'iterator', 35652099, 23, -1, 94, 95, null, + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'length', 2097155, 23, 16, 16, 16, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'isEmpty', 2097155, 23, 14, 14, 14, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'isNotEmpty', + 2097155, + 23, + 14, + 14, + 14, + const [], + const [], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'first', 3, 23, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'last', 3, 23, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'single', 3, 23, -1, -1, -1, const [], + const [], const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 128, 23, -1, 87, 23, null, const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl( + r'generate', + 1, + 23, + -1, + 87, + 23, + null, + const [321, 322], + const prefix0.ContainedReflectable(), + const []), + r.MethodMirrorImpl(r'empty', 385, 23, -1, 87, 23, null, const [], + const prefix0.ContainedReflectable(), const []), + r.MethodMirrorImpl(r'', 128, 24, -1, 24, 24, const [], + const [], const prefix0.ContainedReflectable(), const []) + ], + [ + r.ParameterMirrorImpl( + r'x', + 134348806, + 17, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'reflector', + 134348806, + 18, + const prefix0.ContainedReflectable(), + -1, + 96, + 96, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'a', + 67239942, + 20, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'b', + 67239942, + 20, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object', + 67239942, + 21, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object', + 67239942, + 22, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_data', + 151126118, + 27, + const prefix0.ContainedReflectable(), + 22, + 26, + 22, + const [10, 27], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_memberSymbolMap', + 84017254, + 29, + const prefix0.ContainedReflectable(), + 22, + 28, + 22, + const [29, 15], + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 31, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 31, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 31, + const prefix0.ContainedReflectable(), + 18, + 59, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 31, + const prefix0.ContainedReflectable(), + 22, + 97, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'kind', + 134348806, + 31, + const prefix0.ContainedReflectable(), + -1, + 98, + 98, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 32, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 32, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 32, + const prefix0.ContainedReflectable(), + 18, + 59, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 32, + const prefix0.ContainedReflectable(), + 22, + 97, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 33, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 33, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 33, + const prefix0.ContainedReflectable(), + 18, + 59, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 33, + const prefix0.ContainedReflectable(), + 22, + 97, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 34, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 34, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 34, + const prefix0.ContainedReflectable(), + 18, + 59, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 34, + const prefix0.ContainedReflectable(), + 22, + 97, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'receiver', + 67239942, + 35, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'constructorName', + 134348806, + 35, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 151126022, + 35, + const prefix0.ContainedReflectable(), + 18, + 59, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84017158, + 35, + const prefix0.ContainedReflectable(), + 22, + 97, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'pokemon', + 134349830, + 59, + const prefix0.ContainedReflectable(), + 1, + 1, + 1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 60, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'invocation', + 134348806, + 62, + const prefix0.ContainedReflectable(), + 13, + 13, + 13, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134349830, + 68, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'type', + 134349830, + 68, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 69, + const prefix0.ContainedReflectable(), + 1, + 1, + 1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134348806, + 69, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134349830, + 70, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'type', + 134349830, + 70, + const prefix0.ContainedReflectable(), + 6, + 6, + 6, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134358022, + 73, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + #name), + r.ParameterMirrorImpl( + r'artist', + 134349830, + 76, + const prefix0.ContainedReflectable(), + 3, + 3, + 3, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'artist', + 134349830, + 80, + const prefix0.ContainedReflectable(), + 3, + 3, + 3, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'album', + 134349830, + 80, + const prefix0.ContainedReflectable(), + 4, + 4, + 4, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'reflectee', + 134348806, + 92, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'reflectee', + 134348806, + 93, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'type', + 134348806, + 94, + const prefix0.ContainedReflectable(), + 17, + 17, + 17, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'type', + 134348806, + 95, + const prefix0.ContainedReflectable(), + 17, + 17, + 17, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'libraryName', + 134348806, + 96, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object1', + 67239942, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object2', + 67239942, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object3', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object4', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object5', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object6', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object7', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object8', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object9', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object10', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object11', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object12', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object13', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object14', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object15', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object16', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object17', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object18', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object19', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'object20', + 67246086, + 99, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'objects', + 151126022, + 100, + const prefix0.ContainedReflectable(), + 23, + 99, + 23, + const [8], + const [], + null, + null), + r.ParameterMirrorImpl( + r'objects', + 151126022, + 101, + const prefix0.ContainedReflectable(), + 23, + 99, + 23, + const [8], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value1', + 134217734, + 103, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value2', + 134217734, + 103, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value1', + 134217734, + 104, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value2', + 134217734, + 104, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'type', + 134348806, + 106, + const prefix0.ContainedReflectable(), + 17, + 17, + 17, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap0', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap1', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap2', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap3', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap4', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap5', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap6', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap7', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap8', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap9', + 67244038, + 109, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'capabilities', + 151126022, + 110, + const prefix0.ContainedReflectable(), + 18, + 53, + 18, + const [24], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap0', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap1', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap2', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap3', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap4', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap5', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap6', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap7', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap8', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'cap9', + 67244038, + 111, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'capabilities', + 151126022, + 112, + const prefix0.ContainedReflectable(), + 18, + 53, + 18, + const [24], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap0', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap1', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap2', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap3', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap4', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap5', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap6', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap7', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap8', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_cap9', + 67245094, + 113, + const prefix0.ContainedReflectable(), + 24, + 24, + 24, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'_capabilities', + 84018214, + 114, + const prefix0.ContainedReflectable(), + 18, + 100, + 18, + const [24], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 124, + const prefix0.ContainedReflectable(), + -1, + 29, + 29, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 84017158, + 124, + const prefix0.ContainedReflectable(), + 23, + 101, + 23, + const [8], + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84021254, + 124, + const prefix0.ContainedReflectable(), + 22, + 102, + 22, + const [29, 8], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 125, + const prefix0.ContainedReflectable(), + -1, + 29, + 29, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'typeArguments', + 84017158, + 125, + const prefix0.ContainedReflectable(), + 23, + 103, + 23, + const [17], + const [], + null, + null), + r.ParameterMirrorImpl( + r'positionalArguments', + 84017158, + 125, + const prefix0.ContainedReflectable(), + 23, + 101, + 23, + const [8], + const [], + null, + null), + r.ParameterMirrorImpl( + r'namedArguments', + 84021254, + 125, + const prefix0.ContainedReflectable(), + 22, + 102, + 22, + const [29, 8], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134348806, + 126, + const prefix0.ContainedReflectable(), + -1, + 29, + 29, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'memberName', + 134348806, + 127, + const prefix0.ContainedReflectable(), + -1, + 29, + 29, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'argument', + 67239942, + 127, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 134348806, + 128, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'caseSensitive', + 134363142, + 128, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #caseSensitive), + r.ParameterMirrorImpl( + r'source', + 134348806, + 129, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'caseSensitive', + 134363142, + 129, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #caseSensitive), + r.ParameterMirrorImpl( + r'other', + 134348806, + 130, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 131, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 132, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134348806, + 135, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'defaultValue', + 134363142, + 135, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #defaultValue), + r.ParameterMirrorImpl( + r'name', + 134348806, + 136, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 137, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 138, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 139, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 140, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 141, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 142, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134354950, + 142, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 143, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134354950, + 143, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 144, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 67244038, + 144, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 145, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 146, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67244038, + 146, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'times', + 134348806, + 150, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'width', + 134348806, + 151, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'padding', + 134354950, + 151, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'width', + 134348806, + 152, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'padding', + 134354950, + 152, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 153, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'startIndex', + 134354950, + 153, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'from', + 134348806, + 154, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'to', + 134348806, + 154, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'startIndex', + 134354950, + 154, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'from', + 134348806, + 155, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replace', + 134217734, + 155, + const prefix0.ContainedReflectable(), + -1, + 105, + 105, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'startIndex', + 134354950, + 155, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'from', + 134348806, + 156, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replace', + 134348806, + 156, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'from', + 134348806, + 157, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replace', + 134217734, + 157, + const prefix0.ContainedReflectable(), + -1, + 105, + 105, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 158, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67239942, + 158, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replacement', + 134348806, + 158, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 159, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'pattern', + 134348806, + 160, + const prefix0.ContainedReflectable(), + -1, + 104, + 104, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'onMatch', + 67121158, + 160, + const prefix0.ContainedReflectable(), + -1, + 106, + 106, + const [], + const [], + null, + #onMatch), + r.ParameterMirrorImpl( + r'onNonMatch', + 67121158, + 160, + const prefix0.ContainedReflectable(), + -1, + 107, + 107, + const [], + const [], + null, + #onNonMatch), + r.ParameterMirrorImpl( + r'charCodes', + 151126022, + 169, + const prefix0.ContainedReflectable(), + 23, + 108, + 23, + const [16], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134354950, + 169, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67244038, + 169, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'charCode', + 134348806, + 170, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'name', + 134348806, + 171, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'defaultValue', + 134363142, + 171, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + #defaultValue), + r.ParameterMirrorImpl( + r'other', + 134348806, + 172, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 173, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 174, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'shiftAmount', + 134348806, + 176, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'shiftAmount', + 134348806, + 177, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'shiftAmount', + 134348806, + 178, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'exponent', + 134348806, + 179, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'modulus', + 134348806, + 179, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'modulus', + 134348806, + 180, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 181, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'width', + 134348806, + 182, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'width', + 134348806, + 183, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'radix', + 134348806, + 195, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 134348806, + 196, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'radix', + 67252230, + 196, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + #radix), + r.ParameterMirrorImpl( + r'source', + 134348806, + 197, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'radix', + 67252230, + 197, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + #radix), + r.ParameterMirrorImpl( + r'name', + 134348806, + 202, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'defaultValue', + 134363142, + 202, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + #defaultValue), + r.ParameterMirrorImpl( + r'other', + 134348806, + 203, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 207, + const prefix0.ContainedReflectable(), + 18, + 109, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'target', + 151126022, + 208, + const prefix0.ContainedReflectable(), + 18, + 110, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'at', + 134348806, + 208, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 208, + const prefix0.ContainedReflectable(), + 18, + 110, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 67244038, + 208, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67244038, + 208, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'target', + 151126022, + 209, + const prefix0.ContainedReflectable(), + 18, + 111, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'at', + 134348806, + 209, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 209, + const prefix0.ContainedReflectable(), + 23, + 112, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 211, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 212, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 212, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 213, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 214, + const prefix0.ContainedReflectable(), + 23, + 68, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'compare', + 67112966, + 215, + const prefix0.ContainedReflectable(), + -1, + 113, + 113, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'random', + 67244038, + 216, + const prefix0.ContainedReflectable(), + -1, + 114, + 114, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'element', + 6, + 217, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134354950, + 217, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 218, + const prefix0.ContainedReflectable(), + -1, + 115, + 115, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134354950, + 218, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 219, + const prefix0.ContainedReflectable(), + -1, + 115, + 115, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 67244038, + 219, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'element', + 6, + 220, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 67244038, + 220, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 222, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'element', + 6, + 222, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 223, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 223, + const prefix0.ContainedReflectable(), + 23, + 68, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 224, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 224, + const prefix0.ContainedReflectable(), + 23, + 68, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 67239942, + 225, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'index', + 134348806, + 226, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 228, + const prefix0.ContainedReflectable(), + -1, + 115, + 115, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 229, + const prefix0.ContainedReflectable(), + -1, + 115, + 115, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 230, + const prefix0.ContainedReflectable(), + 18, + 67, + 18, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 231, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 67244038, + 231, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 232, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 232, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 233, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 233, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 233, + const prefix0.ContainedReflectable(), + 23, + 68, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'skipCount', + 134354950, + 233, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 234, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 234, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 235, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 235, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'fillValue', + 67112966, + 235, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'start', + 134348806, + 236, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'end', + 134348806, + 236, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'replacements', + 151126022, + 236, + const prefix0.ContainedReflectable(), + 23, + 68, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 238, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'length', + 134348806, + 244, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'fill', + 6, + 244, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 244, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 245, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'elements', + 151126022, + 246, + const prefix0.ContainedReflectable(), + 23, + 116, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 246, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'elements', + 151126022, + 247, + const prefix0.ContainedReflectable(), + 23, + 68, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 247, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'length', + 134348806, + 248, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'generator', + 134217734, + 248, + const prefix0.ContainedReflectable(), + -1, + 117, + 117, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 248, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'elements', + 151126022, + 249, + const prefix0.ContainedReflectable(), + 23, + 116, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 239, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 240, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'newLength', + 134348806, + 242, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 250, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'invocation', + 134348806, + 251, + const prefix0.ContainedReflectable(), + 13, + 13, + 13, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 257, + const prefix0.ContainedReflectable(), + 20, + 20, + 20, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 258, + const prefix0.ContainedReflectable(), + 20, + 20, + 20, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 134348806, + 271, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 278, + const prefix0.ContainedReflectable(), + 22, + 118, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 67239942, + 280, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 67239942, + 281, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 67239942, + 282, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 6, + 283, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'value', + 6, + 283, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'convert', + 134217734, + 284, + const prefix0.ContainedReflectable(), + -1, + 119, + 119, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'newEntries', + 151126022, + 285, + const prefix0.ContainedReflectable(), + 23, + 81, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 6, + 286, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'update', + 134217734, + 286, + const prefix0.ContainedReflectable(), + -1, + 120, + 120, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'ifAbsent', + 67121158, + 286, + const prefix0.ContainedReflectable(), + -1, + 121, + 121, + const [], + const [], + null, + #ifAbsent), + r.ParameterMirrorImpl( + r'update', + 134217734, + 287, + const prefix0.ContainedReflectable(), + -1, + 122, + 122, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 288, + const prefix0.ContainedReflectable(), + -1, + 123, + 123, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 6, + 289, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'ifAbsent', + 134217734, + 289, + const prefix0.ContainedReflectable(), + -1, + 124, + 124, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 290, + const prefix0.ContainedReflectable(), + 22, + 84, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 67239942, + 291, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'action', + 134217734, + 293, + const prefix0.ContainedReflectable(), + -1, + 125, + 125, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 301, + const prefix0.ContainedReflectable(), + 22, + 126, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 302, + const prefix0.ContainedReflectable(), + 22, + 84, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 303, + const prefix0.ContainedReflectable(), + 22, + 126, + 22, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 305, + const prefix0.ContainedReflectable(), + 23, + 116, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'key', + 67121158, + 305, + const prefix0.ContainedReflectable(), + -1, + 127, + 127, + const [], + const [], + null, + #key), + r.ParameterMirrorImpl( + r'value', + 67121158, + 305, + const prefix0.ContainedReflectable(), + -1, + 128, + 128, + const [], + const [], + null, + #value), + r.ParameterMirrorImpl( + r'keys', + 151126022, + 306, + const prefix0.ContainedReflectable(), + 23, + 82, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'values', + 151126022, + 306, + const prefix0.ContainedReflectable(), + 23, + 83, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'entries', + 151126022, + 307, + const prefix0.ContainedReflectable(), + 23, + 81, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'source', + 151126022, + 308, + const prefix0.ContainedReflectable(), + 23, + 129, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'other', + 151126022, + 310, + const prefix0.ContainedReflectable(), + 23, + 87, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'toElement', + 134217734, + 311, + const prefix0.ContainedReflectable(), + -1, + 130, + 130, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 312, + const prefix0.ContainedReflectable(), + -1, + 131, + 131, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'toElements', + 134217734, + 314, + const prefix0.ContainedReflectable(), + -1, + 132, + 132, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'element', + 67239942, + 315, + const prefix0.ContainedReflectable(), + 8, + 8, + 8, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'action', + 134217734, + 316, + const prefix0.ContainedReflectable(), + -1, + 133, + 133, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'combine', + 134217734, + 317, + const prefix0.ContainedReflectable(), + -1, + 134, + 134, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'initialValue', + 6, + 318, + const prefix0.ContainedReflectable(), + -1, + -1, + -1, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'combine', + 134217734, + 318, + const prefix0.ContainedReflectable(), + -1, + 135, + 135, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 319, + const prefix0.ContainedReflectable(), + -1, + 131, + 131, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'separator', + 134354950, + 320, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 321, + const prefix0.ContainedReflectable(), + -1, + 131, + 131, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'growable', + 134363142, + 322, + const prefix0.ContainedReflectable(), + 14, + 14, + 14, + const [], + const [], + null, + #growable), + r.ParameterMirrorImpl( + r'count', + 134348806, + 324, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 325, + const prefix0.ContainedReflectable(), + -1, + 131, + 131, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'count', + 134348806, + 326, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 327, + const prefix0.ContainedReflectable(), + -1, + 131, + 131, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'test', + 134217734, + 328, + const prefix0.ContainedReflectable(), + -1, + 131, + 131, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'orElse', + 67121158, + 328, + const prefix0.ContainedReflectable(), + -1, + 136, + 136, + const [], + const [], + null, + #orElse), + r.ParameterMirrorImpl( + r'test', + 134217734, + 329, + const prefix0.ContainedReflectable(), + -1, + 131, + 131, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'orElse', + 67121158, + 329, + const prefix0.ContainedReflectable(), + -1, + 136, + 136, + const [], + const [], + null, + #orElse), + r.ParameterMirrorImpl( + r'test', + 134217734, + 330, + const prefix0.ContainedReflectable(), + -1, + 131, + 131, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'orElse', + 67121158, + 330, + const prefix0.ContainedReflectable(), + -1, + 136, + 136, + const [], + const [], + null, + #orElse), + r.ParameterMirrorImpl( + r'index', + 134348806, + 331, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 333, + const prefix0.ContainedReflectable(), + 23, + 116, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'leftDelimiter', + 134354950, + 333, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'rightDelimiter', + 134354950, + 333, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'iterable', + 151126022, + 334, + const prefix0.ContainedReflectable(), + 23, + 116, + 23, + null, + const [], + null, + null), + r.ParameterMirrorImpl( + r'leftDelimiter', + 134354950, + 334, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'rightDelimiter', + 134354950, + 334, + const prefix0.ContainedReflectable(), + 15, + 15, + 15, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'count', + 134348806, + 343, + const prefix0.ContainedReflectable(), + 16, + 16, + 16, + const [], + const [], + null, + null), + r.ParameterMirrorImpl( + r'generator', + 67112966, + 343, + const prefix0.ContainedReflectable(), + -1, + 137, + 137, + const [], + const [], + null, + null) + ], + [ + prefix1.LowerPokemon, + prefix1.Pokemon, + prefix1.KantoPokemon, + prefix1.Artist, + prefix1.Album, + prefix1.AlbumLength, + prefix1.PokemonType, + prefix0.ContainedReflectable, + Object, + Enum, + prefix2.Reflectable, + prefix3.ReflectableImpl, + prefix4.ReflectableBase, + Invocation, + bool, + String, + int, + Type, + List, + prefix5.InstanceMirror, + prefix5.TypeMirror, + prefix5.LibraryMirror, + Map, + Iterable, + prefix6.ReflectCapability, + Deprecated, + const m.TypeValue>() + .type, + prefix3.ReflectorData, + const m.TypeValue>().type, + Symbol, + prefix6.InstanceInvokeCapability, + prefix6.StaticInvokeCapability, + prefix6.TopLevelInvokeCapability, + prefix6.NewInstanceCapability, + prefix6.MetadataCapability, + prefix6.TypeCapability, + prefix6.TypeRelationsCapability, + const r.FakeType(r'reflectable.capability._ReflectedTypeCapability'), + prefix6.LibraryCapability, + prefix6.DeclarationsCapability, + prefix6.UriCapability, + prefix6.LibraryDependenciesCapability, + prefix6.InvokingCapability, + prefix6.TypingCapability, + const r.FakeType(r'reflectable.capability._DelegateCapability'), + const r.FakeType(r'reflectable.capability._SubtypeQuantifyCapability'), + prefix6.SuperclassQuantifyCapability, + prefix6.TypeAnnotationQuantifyCapability, + const r.FakeType( + r'reflectable.capability._CorrespondingSetterQuantifyCapability'), + const r.FakeType(r'reflectable.capability._AdmitSubtypeCapability'), + const m.TypeValue>().type, + const m.TypeValue>().type, + Set, + const m.TypeValue>().type, + Uri, + const m.TypeValue>().type, + prefix5.ClassMirror, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + Runes, + double, + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Map'), + prefix5.TypeVariableMirror, + const m.TypeValue>().type, + const m.TypeValue>().type, + prefix5.DeclarationMirror, + const m.TypeValue>().type, + prefix5.LibraryDependencyMirror, + const m.TypeValue>().type, + Null, + const r.FakeType(r'dart.core.Map'), + const r.FakeType(r'dart.core.Map'), + const r.FakeType(r'dart.core.Map'), + const r.FakeType(r'dart.core.Iterable>'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Map'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.Iterable'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.Set'), + Set, + const r.FakeType(r'dart.core.Iterator'), + Iterator, + prefix7.Reflector, + const m.TypeValue>().type, + prefix6.StringInvocationKind, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + const m.TypeValue>().type, + Pattern, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue>().type, + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.List'), + const r.FakeType(r'dart.core.Iterable'), + const m.TypeValue().type, + prefix8.Random, + const m.TypeValue().type, + const m.TypeValue>().type, + const m.TypeValue().type, + const r.FakeType(r'dart.core.Map'), + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue>().type, + const m.TypeValue().type, + const m.TypeValue().type, + const r.FakeType(r'dart.core.Iterable'), + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type, + const m.TypeValue().type + ], + 25, + { + r'==': (dynamic instance) => (x) => instance == x, + r'toString': (dynamic instance) => instance.toString, + r'noSuchMethod': (dynamic instance) => instance.noSuchMethod, + r'hashCode': (dynamic instance) => instance.hashCode, + r'runtimeType': (dynamic instance) => instance.runtimeType, + r'pokemon': (dynamic instance) => instance.pokemon, + r'lowercaseName': (dynamic instance) => instance.lowercaseName, + r'name': (dynamic instance) => instance.name, + r'type': (dynamic instance) => instance.type, + r'lowerName': (dynamic instance) => instance.lowerName, + r'artist': (dynamic instance) => instance.artist, + r'title': (dynamic instance) => instance.title, + r'album': (dynamic instance) => instance.album, + r'totalLength': (dynamic instance) => instance.totalLength, + r'index': (dynamic instance) => instance.index, + r'capabilities': (dynamic instance) => instance.capabilities, + r'canReflect': (dynamic instance) => instance.canReflect, + r'reflect': (dynamic instance) => instance.reflect, + r'canReflectType': (dynamic instance) => instance.canReflectType, + r'reflectType': (dynamic instance) => instance.reflectType, + r'findLibrary': (dynamic instance) => instance.findLibrary, + r'libraries': (dynamic instance) => instance.libraries, + r'annotatedClasses': (dynamic instance) => instance.annotatedClasses, + r'typeArguments': (dynamic instance) => instance.typeArguments, + r'isAccessor': (dynamic instance) => instance.isAccessor, + r'&': (dynamic instance) => (x) => instance & x, + r'|': (dynamic instance) => (x) => instance | x, + r'^': (dynamic instance) => (x) => instance ^ x, + r'cast': (dynamic instance) => instance.cast, + r'followedBy': (dynamic instance) => instance.followedBy, + r'map': (dynamic instance) => instance.map, + r'where': (dynamic instance) => instance.where, + r'whereType': (dynamic instance) => instance.whereType, + r'expand': (dynamic instance) => instance.expand, + r'contains': (dynamic instance) => instance.contains, + r'forEach': (dynamic instance) => instance.forEach, + r'reduce': (dynamic instance) => instance.reduce, + r'fold': (dynamic instance) => instance.fold, + r'every': (dynamic instance) => instance.every, + r'join': (dynamic instance) => instance.join, + r'any': (dynamic instance) => instance.any, + r'toList': (dynamic instance) => instance.toList, + r'toSet': (dynamic instance) => instance.toSet, + r'take': (dynamic instance) => instance.take, + r'takeWhile': (dynamic instance) => instance.takeWhile, + r'skip': (dynamic instance) => instance.skip, + r'skipWhile': (dynamic instance) => instance.skipWhile, + r'firstWhere': (dynamic instance) => instance.firstWhere, + r'lastWhere': (dynamic instance) => instance.lastWhere, + r'singleWhere': (dynamic instance) => instance.singleWhere, + r'elementAt': (dynamic instance) => instance.elementAt, + r'length': (dynamic instance) => instance.length, + r'isEmpty': (dynamic instance) => instance.isEmpty, + r'isNotEmpty': (dynamic instance) => instance.isNotEmpty, + r'first': (dynamic instance) => instance.first, + r'last': (dynamic instance) => instance.last, + r'single': (dynamic instance) => instance.single + }, + {}, + [ + r.LibraryMirrorImpl( + r'', + Uri.parse( + 'asset:angel3_container_generator/test/reflector_test.dart'), + const prefix0.ContainedReflectable(), + const [43, 44, 45], + { + r'main': () => prefix1.main, + r'returnVoidFromAFunction': () => prefix1.returnVoidFromAFunction, + r'testReflector': () => prefix1.testReflector + }, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'', + Uri.parse( + 'package:angel3_container_generator/angel3_container_generator.dart'), + const prefix0.ContainedReflectable(), + const [0], + {r'contained': () => prefix0.contained}, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'dart.core', + Uri.parse(r'reflectable://2/library dart:core'), + const prefix0.ContainedReflectable(), + const [1, 2, 47, 48, 49], + { + r'deprecated': () => deprecated, + r'override': () => override, + r'identical': () => identical, + r'identityHashCode': () => identityHashCode, + r'print': () => print + }, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.reflectable', + Uri.parse('package:reflectable/reflectable.dart'), + const prefix0.ContainedReflectable(), + const [], + {}, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.src.reflectable_builder_based', + Uri.parse('package:reflectable/src/reflectable_builder_based.dart'), + const prefix0.ContainedReflectable(), + const [3, 4, 5, 57], + { + r'pleaseInitializeMessage': () => prefix3.pleaseInitializeMessage, + r'data': () => prefix3.data, + r'memberSymbolMap': () => prefix3.memberSymbolMap, + r'reflectors': () => prefix3.reflectors + }, + { + r'data=': (dynamic value) => prefix3.data = value, + r'memberSymbolMap=': (dynamic value) => + prefix3.memberSymbolMap = value + }, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.src.reflectable_base', + Uri.parse('package:reflectable/src/reflectable_base.dart'), + const prefix0.ContainedReflectable(), + const [], + {}, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.mirrors', + Uri.parse('package:reflectable/mirrors.dart'), + const prefix0.ContainedReflectable(), + const [], + {}, + {}, + const [], + null), + r.LibraryMirrorImpl( + r'reflectable.capability', + Uri.parse('package:reflectable/capability.dart'), + const prefix0.ContainedReflectable(), + const [ + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 58, + 59, + 60, + 61, + 62 + ], + { + r'instanceInvokeCapability': () => + prefix6.instanceInvokeCapability, + r'staticInvokeCapability': () => prefix6.staticInvokeCapability, + r'topLevelInvokeCapability': () => + prefix6.topLevelInvokeCapability, + r'newInstanceCapability': () => prefix6.newInstanceCapability, + r'metadataCapability': () => prefix6.metadataCapability, + r'typeCapability': () => prefix6.typeCapability, + r'typeRelationsCapability': () => prefix6.typeRelationsCapability, + r'reflectedTypeCapability': () => prefix6.reflectedTypeCapability, + r'libraryCapability': () => prefix6.libraryCapability, + r'declarationsCapability': () => prefix6.declarationsCapability, + r'uriCapability': () => prefix6.uriCapability, + r'libraryDependenciesCapability': () => + prefix6.libraryDependenciesCapability, + r'invokingCapability': () => prefix6.invokingCapability, + r'typingCapability': () => prefix6.typingCapability, + r'delegateCapability': () => prefix6.delegateCapability, + r'subtypeQuantifyCapability': () => + prefix6.subtypeQuantifyCapability, + r'superclassQuantifyCapability': () => + prefix6.superclassQuantifyCapability, + r'typeAnnotationQuantifyCapability': () => + prefix6.typeAnnotationQuantifyCapability, + r'typeAnnotationDeepQuantifyCapability': () => + prefix6.typeAnnotationDeepQuantifyCapability, + r'correspondingSetterQuantifyCapability': () => + prefix6.correspondingSetterQuantifyCapability, + r'admitSubtypeCapability': () => prefix6.admitSubtypeCapability, + r'reflectableNoSuchInvokableError': () => + prefix6.reflectableNoSuchInvokableError, + r'reflectableNoSuchMethodError': () => + prefix6.reflectableNoSuchMethodError, + r'reflectableNoSuchGetterError': () => + prefix6.reflectableNoSuchGetterError, + r'reflectableNoSuchSetterError': () => + prefix6.reflectableNoSuchSetterError, + r'reflectableNoSuchConstructorError': () => + prefix6.reflectableNoSuchConstructorError + }, + {}, + const [], + null) + ], + []) +}; + +final _memberSymbolMap = null; + +void initializeReflectable() { + r.data = _data; + r.memberSymbolMap = _memberSymbolMap; +}