knife_annotations library
Classes
- Binds
- Annotation for a class or method that binds an interface to its implementation.
- Cached
- Annotation for a dependency that should be cached (singleton).
- Component
- Annotation for a component that wires modules and dependencies together.
- Inject
- Annotation for a constructor that tells the DI system to use this constructor to create an instance.
- Module
- Annotation for a class that contains dependency provider methods.
- Provides
- Annotation for a method in a Module that provides a dependency.
Constants
- binds → const Binds
- Annotation for a class or method that binds an interface to its implementation.
- cached → const Cached
- Annotation for a dependency that should be cached (singleton).
- inject → const Inject
- Annotation for a constructor that tells the DI system to use this constructor to create an instance.
- module → const Module
- Annotation for a class that contains dependency provider methods.
- provides → const Provides
- Annotation for a method in a Module that provides a dependency.