reflectable
コード生成に基づくリフレクションサポートで、'capabilities'を使用してどのオブジェクトでどの操作をサポートするかを指定します。これは reflectable の実行時部分です。
Reflectable は、動的リフレクションの特定の使用を、静的技術のみを使用して同等の実装に特殊化することにより排除できるようにする Dart パッケージです。専用コードが生成可能であり、適切なサイズになることを保証するために、動的リフレクションの使用は制限されています。
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
This repository provides the Dart packages reflectable and
reflectable_builder, along with a set of test cases and
examples in the repository test_reflectable.
Support for implementing a large subset of the features offered by 'dart:mirrors' without relying on 'dart:mirrors' itself. Provides a system based on capabilities to control the amount of reflection support.
Support for generating the code that the package reflectable uses to provide
the reflection support described above.
Used to test package reflectable. Also serves as a set of examples of how
reflectable can be used.