Fill in the annotation information.
Given this source:
@Component(
selector: 'my-component',
...
)
class MyComponent {
}
main() {
bootstrap(MyComponent);
}
generate:
import 'package:path/to/above/file' as file1;
import 'package:reflection/reflection.dart' show reflector;
setupReflection() {
reflector.registerType(
file1.MyComponent,
factory: ...,
paramaters: ...,
"annotations" : [new Component(selector: 'my-component', ...)]
);
}
Fill in the annotation information.
Given this source:
generate: