Annotation Type RetrofitServices


  • @Retention(RUNTIME)
    @Target(MODULE)
    public @interface RetrofitServices
    If a module declaration has this annotation, then it will be used to create pre-JPMS compatible entries in META-INF/services/....

    WARNING

    Use of this annotation is risky, as namespace conflicts are possible prior to JPMS within Jars. Different build tools have found ways around this by merging same-named service files. If you use the pre-JPMS method of service declaration, then you must ensure that this is done properly.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value  
    • Element Detail

      • value

        java.lang.Class<?> value