axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shameera Rathnayaka (Commented) (JIRA)" <>
Subject [jira] [Commented] (AXIS2-4462) Add @Generated annotation on generated code
Date Mon, 10 Oct 2011 06:42:30 GMT


Shameera Rathnayaka commented on AXIS2-4462:

i have attached patch for this issue please review and commit it to trunk.

> Add @Generated annotation on generated code
> -------------------------------------------
>                 Key: AXIS2-4462
>                 URL:
>             Project: Axis2
>          Issue Type: Wish
>          Components: codegen
>            Reporter: Julien HENRY
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: generatedClassAnnotationOption.patch
> It would be great to add an option in all code generator tools (especially wsdl2java)
to output @Generated annotation in generated classes [1].
> This way we would be able to automatically configure our code analysis tools to ignore
generated code.
> @Generated annotation is available for JDK 1.6 and optionally for JDK 1.5 using JSR 250
JAR [2].
> Please also note that @Generated support a value parameter that can be set to the name
of the generating tool. I suggest to hardcode it to "axis2" and allow to override it in plugin
> So all classes generated by Axis2 would contains
> @Generated(value="axis2")
> [1]
> [2]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message