Annotation Type Generated


@Documented @Retention(CLASS) @Target(TYPE) public @interface Generated
The Generated annotation is used to mark source code that has been generated. It uses CLASS retention to allow byte code analysis tools like Jacoco detect this code as being generated.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The value element MUST have the name of the code generator.
  • Element Details

    • value

      String[] value
      The value element MUST have the name of the code generator. The recommended convention is to use the fully qualified name of the code generator.