OPTION_GENERATED

const val OPTION_GENERATED: String

This annotation processing argument can be specified to have a @Generated annotation included in the generated code. It is not encouraged unless you need it for static analysis reasons and not enabled by default.

Note that this can only be one of the following values:

  • "javax.annotation.processing.Generated" (JRE 9+)

  • "javax.annotation.Generated" (JRE <9)