Annotation Type Generated


  • @Target({PACKAGE,TYPE,METHOD,CONSTRUCTOR,FIELD,LOCAL_VARIABLE,PARAMETER})
    @Retention(CLASS)
    public @interface Generated
    A marker annotation for methods that are generated though an annotation processor.
    Since:
    2.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String service  
    • Element Detail

      • service

        java.lang.String service
        Returns:
        The name of the ServiceLoader service this generated type should be registered with (if any).
        Default:
        ""