platform/angel_container_generator/test/reflector_test.reflectable.dart

428 lines
12 KiB
Dart
Raw Normal View History

2018-11-30 05:32:49 +00:00
// This file has been generated by the reflectable package.
// https://github.com/dart-lang/reflectable.
import "dart:core";
import 'package:angel_container_generator/angel_container_generator.dart'
as prefix0;
2018-11-30 06:09:18 +00:00
import 'package:reflectable/capability.dart' as prefix2;
import 'package:reflectable/mirrors.dart' as prefix3;
2018-11-30 05:32:49 +00:00
import 'reflector_test.dart' as prefix1;
// 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 = <r.Reflectable, r.ReflectorData>{
const prefix0.ContainedReflectable(): new r.ReflectorData(
<m.TypeMirror>[
new r.NonGenericClassMirrorImpl(
r"Artist",
r".Artist",
7,
0,
const prefix0.ContainedReflectable(),
2018-11-30 06:09:18 +00:00
const <int>[1, 2],
const <int>[3, 4, 5, 6, 7, 1],
2018-11-30 05:32:49 +00:00
const <int>[],
-1,
{},
{},
{r"": (b) => () => b ? new prefix1.Artist() : null},
-1,
0,
const <int>[],
const <Object>[prefix0.contained],
2018-11-30 06:09:18 +00:00
null),
new r.NonGenericClassMirrorImpl(
r"Album",
r".Album",
7,
1,
const prefix0.ContainedReflectable(),
const <int>[0, 9, 10],
const <int>[3, 4, 5, 6, 7, 8, 9],
const <int>[],
-1,
{},
{},
{r"": (b) => (artist) => b ? new prefix1.Album(artist) : null},
-1,
1,
const <int>[],
const <Object>[prefix0.contained],
null),
new r.NonGenericClassMirrorImpl(
r"ContainedReflectable",
r".ContainedReflectable",
7,
2,
const prefix0.ContainedReflectable(),
const <int>[11],
const <int>[3, 4, 5, 6, 7, 12, 13, 14, 15, 16, 17, 18, 19],
const <int>[],
-1,
{},
{},
{r"": (b) => () => b ? new prefix0.ContainedReflectable() : null},
-1,
2,
const <int>[],
const <Object>[prefix0.contained],
2018-11-30 05:32:49 +00:00
null)
],
<m.DeclarationMirror>[
new r.VariableMirrorImpl(
2018-11-30 06:09:18 +00:00
r"artist",
33797,
1,
2018-11-30 05:32:49 +00:00
const prefix0.ContainedReflectable(),
2018-11-30 06:09:18 +00:00
0,
0,
0, const <int>[], const <Object>[]),
new r.MethodMirrorImpl(
r"lowerName",
131075,
0,
2018-11-30 05:32:49 +00:00
-1,
2018-11-30 06:09:18 +00:00
3,
3,
const <int>[],
const <int>[],
const prefix0.ContainedReflectable(),
const <Object>[]),
2018-11-30 05:32:49 +00:00
new r.MethodMirrorImpl(r"", 64, 0, -1, 0, 0, const <int>[],
const <int>[], const prefix0.ContainedReflectable(), const []),
new r.MethodMirrorImpl(
r"==",
131074,
null,
-1,
2018-11-30 06:09:18 +00:00
4,
4,
2018-11-30 05:32:49 +00:00
const <int>[],
2018-11-30 06:09:18 +00:00
const <int>[0],
2018-11-30 05:32:49 +00:00
const prefix0.ContainedReflectable(),
const <Object>[]),
new r.MethodMirrorImpl(
r"toString",
131074,
null,
-1,
2018-11-30 06:09:18 +00:00
3,
3,
2018-11-30 05:32:49 +00:00
const <int>[],
const <int>[],
const prefix0.ContainedReflectable(),
const <Object>[]),
new r.MethodMirrorImpl(
r"noSuchMethod",
65538,
null,
null,
null,
null,
const <int>[],
2018-11-30 06:09:18 +00:00
const <int>[1],
2018-11-30 05:32:49 +00:00
const prefix0.ContainedReflectable(),
const <Object>[const pragma("vm:entry-point")]),
new r.MethodMirrorImpl(
r"hashCode",
131075,
null,
-1,
2018-11-30 06:09:18 +00:00
5,
5,
2018-11-30 05:32:49 +00:00
const <int>[],
const <int>[],
const prefix0.ContainedReflectable(),
const <Object>[]),
new r.MethodMirrorImpl(
r"runtimeType",
131075,
null,
-1,
2018-11-30 06:09:18 +00:00
6,
6,
const <int>[],
const <int>[],
const prefix0.ContainedReflectable(),
const <Object>[]),
new r.ImplicitGetterMirrorImpl(
const prefix0.ContainedReflectable(), 0, 0, 0, 8),
new r.MethodMirrorImpl(
r"title",
131075,
1,
-1,
3,
3,
const <int>[],
const <int>[],
const prefix0.ContainedReflectable(),
const <Object>[]),
new r.MethodMirrorImpl(
r"",
0,
1,
-1,
1,
1,
const <int>[],
const <int>[2],
const prefix0.ContainedReflectable(),
const <Object>[]),
new r.MethodMirrorImpl(
r"",
128,
2,
-1,
2,
2,
const <int>[],
const <int>[],
const prefix0.ContainedReflectable(),
const <Object>[]),
new r.MethodMirrorImpl(
r"capabilities",
4325379,
null,
-1,
8,
9,
const <int>[7],
const <int>[],
const prefix0.ContainedReflectable(),
const <Object>[]),
new r.MethodMirrorImpl(
r"canReflect",
131074,
null,
-1,
2018-11-30 05:32:49 +00:00
4,
4,
const <int>[],
2018-11-30 06:09:18 +00:00
const <int>[3],
const prefix0.ContainedReflectable(),
const <Object>[override]),
new r.MethodMirrorImpl(
r"reflect",
131074,
null,
-1,
10,
10,
const <int>[],
const <int>[4],
const prefix0.ContainedReflectable(),
const <Object>[override]),
new r.MethodMirrorImpl(
r"canReflectType",
131074,
null,
-1,
4,
4,
const <int>[],
const <int>[5],
const prefix0.ContainedReflectable(),
const <Object>[override]),
new r.MethodMirrorImpl(
r"reflectType",
131074,
null,
-1,
11,
11,
const <int>[],
const <int>[6],
const prefix0.ContainedReflectable(),
const <Object>[override]),
new r.MethodMirrorImpl(
r"findLibrary",
131074,
null,
-1,
12,
12,
const <int>[],
const <int>[7],
const prefix0.ContainedReflectable(),
const <Object>[override]),
new r.MethodMirrorImpl(
r"libraries",
4325379,
null,
-1,
14,
15,
const <int>[13, 12],
2018-11-30 05:32:49 +00:00
const <int>[],
const prefix0.ContainedReflectable(),
2018-11-30 06:09:18 +00:00
const <Object>[override]),
new r.MethodMirrorImpl(
r"annotatedClasses",
4325379,
null,
-1,
17,
18,
const <int>[16],
const <int>[],
const prefix0.ContainedReflectable(),
const <Object>[override])
2018-11-30 05:32:49 +00:00
],
<m.ParameterMirror>[
new r.ParameterMirrorImpl(
2018-11-30 06:09:18 +00:00
r"other",
16390,
3,
const prefix0.ContainedReflectable(),
null,
null,
null,
const <int>[],
const <Object>[],
null,
null),
new r.ParameterMirrorImpl(
r"invocation",
32774,
5,
2018-11-30 05:32:49 +00:00
const prefix0.ContainedReflectable(),
-1,
2018-11-30 06:09:18 +00:00
19,
19,
2018-11-30 05:32:49 +00:00
const <int>[],
2018-11-30 06:09:18 +00:00
const <Object>[],
2018-11-30 05:32:49 +00:00
null,
null),
new r.ParameterMirrorImpl(
2018-11-30 06:09:18 +00:00
r"artist",
32774,
10,
2018-11-30 05:32:49 +00:00
const prefix0.ContainedReflectable(),
2018-11-30 06:09:18 +00:00
0,
0,
0,
const <int>[],
const <Object>[],
2018-11-30 05:32:49 +00:00
null,
2018-11-30 06:09:18 +00:00
null),
new r.ParameterMirrorImpl(
r"reflectee",
32774,
13,
const prefix0.ContainedReflectable(),
-1,
20,
20,
const <int>[],
const <Object>[],
2018-11-30 05:32:49 +00:00
null,
2018-11-30 06:09:18 +00:00
null),
new r.ParameterMirrorImpl(
r"reflectee",
32774,
14,
const prefix0.ContainedReflectable(),
-1,
20,
20,
const <int>[],
const <Object>[],
2018-11-30 05:32:49 +00:00
null,
2018-11-30 06:09:18 +00:00
null),
new r.ParameterMirrorImpl(
r"type",
32774,
15,
const prefix0.ContainedReflectable(),
-1,
6,
6,
2018-11-30 05:32:49 +00:00
const <int>[],
const <Object>[],
null,
null),
new r.ParameterMirrorImpl(
2018-11-30 06:09:18 +00:00
r"type",
2018-11-30 05:32:49 +00:00
32774,
2018-11-30 06:09:18 +00:00
16,
const prefix0.ContainedReflectable(),
-1,
2018-11-30 05:32:49 +00:00
6,
2018-11-30 06:09:18 +00:00
6,
const <int>[],
const <Object>[],
null,
null),
new r.ParameterMirrorImpl(
r"libraryName",
32774,
17,
2018-11-30 05:32:49 +00:00
const prefix0.ContainedReflectable(),
-1,
2018-11-30 06:09:18 +00:00
3,
3,
2018-11-30 05:32:49 +00:00
const <int>[],
const <Object>[],
null,
null)
],
2018-11-30 06:09:18 +00:00
<Type>[
prefix1.Artist,
prefix1.Album,
prefix0.ContainedReflectable,
String,
bool,
int,
Type,
prefix2.ReflectCapability,
const m.TypeValue<List<prefix2.ReflectCapability>>().type,
List,
prefix3.InstanceMirror,
prefix3.TypeMirror,
prefix3.LibraryMirror,
Uri,
const m.TypeValue<Map<Uri, prefix3.LibraryMirror>>().type,
Map,
prefix3.ClassMirror,
const m.TypeValue<Iterable<prefix3.ClassMirror>>().type,
Iterable,
Invocation,
Object
],
3,
2018-11-30 05:32:49 +00:00
{
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,
2018-11-30 06:09:18 +00:00
r"lowerName": (dynamic instance) => instance.lowerName,
r"artist": (dynamic instance) => instance.artist,
r"title": (dynamic instance) => instance.title,
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
2018-11-30 05:32:49 +00:00
},
2018-11-30 06:09:18 +00:00
{},
2018-11-30 05:32:49 +00:00
null,
[])
};
final _memberSymbolMap = null;
initializeReflectable() {
r.data = _data;
r.memberSymbolMap = _memberSymbolMap;
}