Skip to content

Update documentation for AnnotationUseStyle #7571

@romani

Description

@romani

https://checkstyle.org/config_annotation.html#AnnotationUseStyle

  1. Add example for each existing config to show what code is ok and what code cause violation.
    Good example is https://checkstyle.org/config_naming.html#AbstractClassName

  2. Please add example with non default value for trailingArrayComma

look at referenced commits of #5832, to see what and how should be changed in code.

please play with module/Check by means of https://checkstyle.org/cmdline.html to understand how it works.


PLEASE READ https://github.com/checkstyle/checkstyle/wiki/Good-practice-on-how-to-update-examples

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions