Annotation Interface Generated


@Retention(RUNTIME) @Target(TYPE) public @interface Generated
The Generated annotation is used to mark source code that has been 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. For example: com.acme.generator.CodeGen.
      Returns:
      The name of the code generator