Annotation Type Contribute


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    public @interface Contribute
    An annotation that may be placed on a contributor method of a module. The annotation may/should be used in combination with Marker annotation to disambiguate the service to contribute into. This annotation was introduced as an alternative to the naming convention for contributor methods.
    Since:
    5.2.0
    See Also:
    Optional
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class value
      Type of the service to contribute into.
    • Element Detail

      • value

        Class value
        Type of the service to contribute into.