You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Checkstyle] Javadoc parameter alignment check does not work with inlined tags #14405
The custom checkstyle task that enforces param alignment doesn't seem to work with link (and probably other types of) tags.
To reproduce, add the following test case to JavadocParamAlignment in the checkstyle module's test data:
/** * A method that does something * * @param a this is a description * with a {@link #method(String, String)} link tag * @param superLongParamName a description * blabla */publicvoidmethod_multiline_correct_with_link(Stringa, StringsuperLongParamName) {
}
and run the tests. I'd expect it to pass just like method_multiline_correct passes, but it currently does not.
Test output:
Violations do not match for src\testData\java\testdata\JavadocParamAlignment.java
Violations not accounted for in test:
51:34: Param description for a should start at column 73
52:34: Param description for a should start at column 73
53:34: Param description for superLongParamName should start at column 73
54:34: Param description for superLongParamName should start at column 73
changed the title [-][Checkstyle] Javadoc parameter alignment check does not work with link tags[/-][+][Checkstyle] Javadoc parameter alignment check does not work with inlined tags[/+]on Oct 27, 2026
Activity
[-][Checkstyle] Javadoc parameter alignment check does not work with link tags[/-][+][Checkstyle] Javadoc parameter alignment check does not work with inlined tags[/+]