@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Inject
Main annotation of the dependency injection system. It marks an injected field in a class. Example:
public class MyClass {
@Inject
private InjectedClass injectedField;
}
The injector automatically discovers fields marked with Inject annotation.
The field can be public, protected, package private or private, it's value will be handled by the injector.
About the ibello dependency injection system, see hu.ibello.inject.
Created by Kornél Simon, 2022