@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface CapabilityInject
When placed on a FIELD, the field will be set to an
instance of Capability once that capability is registered.
That field must be static and be able to hold a instance
of 'Capability'
Example:
The capability interface to listen for registration.
Element Detail
value
public abstract java.lang.Class<?> value
The capability interface to listen for registration.
Note:
When reading annotations, DO NOT call this function as it will cause a hard dependency on the class.