The value-argument-comment rule currently report violations about comments which from the parsers perspective are not inner elements of the value-argument but of the value-argument-list. Similar for value-parameter-comment.
The rules should no longer check for those comments for following reasons:
The comment is not part of the element after which the rule is named
It is a common accepted practice to add EOL comments after a comma to document the argument/parameter before the comma. For inner comments, it still seems valid that that is a bad practice.
The argument that EOL-comment are messed up when reordering arguments/parameters using Intelli IDEA refactoring is invalid as the same problem also occurs when the comments are placed on separate lines (see this comment).
The
value-argument-comment
rule currently report violations about comments which from the parsers perspective are not inner elements of thevalue-argument
but of thevalue-argument-list
. Similar forvalue-parameter-comment
.The rules should no longer check for those comments for following reasons: