Index: test_reflectable/test/meta_reflectors_definer.dart |
diff --git a/test_reflectable/test/meta_reflectors_definer.dart b/test_reflectable/test/meta_reflectors_definer.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1697ee79702b06b966704289929457cdcac31da6 |
--- /dev/null |
+++ b/test_reflectable/test/meta_reflectors_definer.dart |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2015, the Dart Team. All rights reserved. Use of this |
+// source code is governed by a BSD-style license that can be found in |
+// the LICENSE file. |
+ |
+/// File being transformed by the reflectable transformer. |
+/// Part of the entry point 'reflectors_test.dart'. |
+/// |
+/// Independence: This library defines reflectors only, and it does not depend |
+/// on domain classes (`M1..3, A..D, P`) nor on the usage of reflection, i.e., |
+/// these reflectors could have been defined in a third-party package . |
+library test_reflectable.test.meta_reflectors_definer; |
+ |
+import "package:reflectable/reflectable.dart"; |
+ |
+class Reflector extends Reflectable { |
+ const Reflector() |
+ : super(invokingCapability, declarationsCapability, libraryCapability); |
+} |
+ |
+class Reflector2 extends Reflectable { |
+ const Reflector2() |
+ : super(invokingCapability, metadataCapability, libraryCapability); |
+} |
+ |
+class ReflectorUpwardsClosed extends Reflectable { |
+ const ReflectorUpwardsClosed() |
+ : super(superclassQuantifyCapability, invokingCapability, |
+ declarationsCapability, typeRelationsCapability); |
+} |