This is related to 2792291.
The idea is this: If I'm writing a method, and I'm overriding (superclass) or implementing (interface) a method from a class that is not subject to the Checkstyle check being performed (e.g. the superclass/interface is in a jar file), then that method should be exempt from checks that would normally apply. For example:
-- If I'm overriding a method that advertises an exception mentioned in IllegalThrows
-- If I'm overriding a method that accepts more parameters than are allowed by ParameterNumber
-- If I'm overriding a method whose name would violate a naming convention
I shouldn't have to suppress Checkstyle checks in these cases. There are likely others.
Log in to post a comment.