rewrite-static-analysis icon indicating copy to clipboard operation
rewrite-static-analysis copied to clipboard

JavadocParagraph

Open Pankraz76 opened this issue 8 months ago • 4 comments

add fix for

  • https://checkstyle.org/checks/javadoc/javadocparagraph.html
  • https://github.com/apache/maven/pull/2292
  • https://github.com/apache/maven/pull/2292/files#r2077437814
Image

Pankraz76 avatar May 07 '25 11:05 Pankraz76

Do I understand correctly that you want these paragraph elements inserted through a new recipe?

Please try to use the templates we provide when logging issues. It's at times hard to say if it's a bug, a new recipe, or feature request, and what exactly is the change you're after. A screenshot alone requires us to guess what you're after, and we'd like to avoid that back and forth.

timtebeek avatar May 10 '25 14:05 timtebeek

Yes its a new check imho, as I haven found something similar yet.

Rules to apply:

  • https://checkstyle.org/checks/javadoc/javadocparagraph.html#Description

Test/Example

  • https://github.com/checkstyle/checkstyle/tree/8ebdde4b5f91c441ec087a58144aba5f52f38ddb/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadocparagraph

Pankraz76 avatar May 10 '25 18:05 Pankraz76

Ok, then this should be relatively straightforward as a new recipe using the JavadocVisitor to insert those <p> cases where absent.

timtebeek avatar May 16 '25 22:05 timtebeek

This issue is stale because it has not had any activity for 60 days. Remove question label or comment or this will be closed in two weeks. Issues may be reopened when there is renewed interest.

github-actions[bot] avatar Jul 28 '25 11:07 github-actions[bot]