Skip to content

Use consistent javadoc style for annotation links #13920

@dreis2211

Description

@dreis2211

Hi,

while doing a PR the other day, I found that Spring-Boot has several styles for annotations in javadocs. E.g. I found the following:

  • {@link ExampleAnnotation}
  • {@link ExampleAnnotation @ExampleAnnotation}
  • @{@link ExampleAnnotation}

The last one is something that should probably be fixed, because it creates a link on the annotation-name, that doesn't include the @ sign.

From the official docs I would say, that annotations are not treated specially, so I'm not sure what to do with the second option.

If you decide on a style, I'd be happy to contribute the necessary changes. Either the minimal one (just fixing occurences of case 3) or the big one (aligning everything).

Let me know what you think.

Cheers,
Christoph

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions