Annotation Type Generated


  • @Retention(SOURCE)
    @Target({METHOD,CONSTRUCTOR,FIELD})
    public @interface Generated
    Annotation given to all methods that are generated by AutoRest. This annotation is intended to be used by the code generation tool only to identify methods that are generated. The purpose of this annotation is to find and replace all methods in a class that are generated. Methods not annotated with this annotation will not be updated when code is regenerated.

    This annotation is expected to be used in classes that are annotated with ServiceClient only.