checkstyle/checkstyle — pull request #177 by tobiasbaum (2014-07-06 13:04:53+00:00)
Title: Fixed AbstractTypeAwareCheck for generics in interfaces (issue #473)

AbstractTypeAwareCheck did not take generic parameters in interface definitions into account, which seems to be the cause for (sourceforge) issue #473.

It seems to me that the additional "TokenType" must be added in every subclass of AbstractTypeAwareCheck. I fixed it for the standard checks but naturally couldn't fix it for custom checks "out in the wild". Perhaps Check should somehow be refactored to make it easier for the "default tokens" to be the union of the needed tokens of all classes in the check's supertype hierarchy.