Struct AutowiredAnnotation

Annotation used to mark constructor or method for auto wiring.

struct AutowiredAnnotation ;

Marking a method/constructor with autowired annotation will make container to call it with arguments fetched from locator by types of them.

Note

even if a method/constructor from an overloaded set is marked with autowired annotation, the first method from overload set will be used. Due to that autowired annotation is recommended to use on methods/constrcutors that are not overloaded.