Configuration of rule Deprecated elements should have both the annotation and the Javadoc tag


(Adam Melkus) #1

Would it be possible in the future to make rule squid:MissingDeprecatedCheck configurable so it doesn’t check since and forRemoval annotation parameters? Basically so it has the same rule behavior on JDK 8 and JDK 9 and newer.

It doesn’t always make sense, especially for internal APIs, to have these parameters filled in.
I would turn this rule off, but I appreciate the rule for the @deprecated JavaDoc.
The other suggestion would be to decouple these rules.