Annotation Interface Generated


@Retention(RUNTIME) @Target(TYPE) public @interface Generated
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A reference identifier that the generated class refers to
    The value element MUST have the name of the code generator.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Optional flag indicating that the generated class shall be hidden from other generators.
    A optional name to be used
  • Element Details

    • value

      String[] value
      The value element MUST have the name of the code generator.
    • reference

      String reference
      A reference identifier that the generated class refers to
      Returns:
      reference identifier
    • name

      String name
      A optional name to be used
      Returns:
      alternative name
      Default:
      ""
    • hidden

      boolean hidden
      Optional flag indicating that the generated class shall be hidden from other generators.
      Returns:
      true if the class should be hidden otherwise false
      Default:
      false