| OLD | NEW |
| 1 library di.annotations; | 1 library di.annotations; |
| 2 | 2 |
| 3 /** | 3 /** |
| 4 * Annotation that can be applied to the library declaration listing all | 4 * Annotation that can be applied to the library declaration listing all |
| 5 * types for which type factories should be generated to be used | 5 * types for which type factories should be generated to be used |
| 6 * by StaticInjector. | 6 * by StaticInjector. |
| 7 */ | 7 */ |
| 8 class Injectables { | 8 class Injectables { |
| 9 final List<Type> types; | 9 final List<Type> types; |
| 10 const Injectables(this.types); | 10 const Injectables(this.types); |
| 11 } | 11 } |
| 12 |
| 13 /** |
| 14 * Annotation that can be applied to a class for which type factories |
| 15 * should be generated to be used by StaticInjector. |
| 16 */ |
| 17 class Injectable { |
| 18 const Injectable(); |
| 19 } |
| OLD | NEW |