I found it necessary to fix some formatting errors. Here are the big types:
/**
* @param param uncapitalized parameter or with period.
* @return uncapitalized return or with period.
*/
void myMethod(Object param);
Here's what I did.
For punctuation errors:
- 'replace in path' in intellij
- find:
@(param|return)([^\*]*)\.\n
replace:
@$1$2\n
- intellij will go though with you over all occurrences. Click the replace button
For capitalization errors this cannot be solved with simple regex:
- 'find in path' in intellij
- set the find to case sensitive
- find:
@(param [^ ]* [a-z]|return [a-z])
- go through and correct the errors manually.
- This is still done through the ide manually. Need a checkstyle
- Does not match for multi-line errors. May need some more regex hacking but I'm too lazy.