Annotation Type Generated


  • @Documented
    @Retention(SOURCE)
    @Target({PACKAGE,TYPE,ANNOTATION_TYPE,METHOD,CONSTRUCTOR,FIELD,LOCAL_VARIABLE,PARAMETER})
    public @interface Generated
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value
      The value element MUST have the name of the code generator.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String comments
      A place holder for any comments that the code generator may want to include in the generated code.
      java.lang.String date
      Date when the source was generated.
    • Element Detail

      • value

        java.lang.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.
      • date

        java.lang.String date
        Date when the source was generated.
        Default:
        ""
      • comments

        java.lang.String comments
        A place holder for any comments that the code generator may want to include in the generated code.
        Default:
        ""