Annotation Interface Generated


@Target(TYPE) @Retention(CLASS) public @interface Generated
Annotation marking this type as generated.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The type that caused this type to be generated.
    The code generator that generated this type.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional additional comments about this generated type.
    Generator version.
  • Element Details

    • value

      String value
      The code generator that generated this type.
      Returns:
      generator name
    • trigger

      String trigger
      The type that caused this type to be generated.
      Returns:
      trigger for this type
    • version

      String version
      Generator version. This may be useful to maintain backward compatibility when analyzing types generated by an older version.
      Returns:
      version of the code generator, defaults to 1
      Default:
      "1"
    • comments

      String comments
      Optional additional comments about this generated type.
      Returns:
      free text comments
      Default:
      ""