Annotation Interface Inject


@Retention(RUNTIME) @Target(FIELD) public @interface Inject
Indicates that a field should be automatically injected by the ServiceRegistry.

If the field type is JavaPlugin or a subclass, the plugin instance is injected. Otherwise, the field is resolved as a service from the registry.