Implements http://jira.sonarsource.com/browse/RSPEC-1118 and replaces http://jira.sonarsource.com/browse/RSPEC-179
Let's not exclude classes which extend other ones.
Should exclude classes which inherit from another one (as this is no longer a utility class)
Manually tested !
Classes with public instance fields should not be considered as utility ones.
As discussed @Dinesh, could you slightly update the implementation of this rule to not consider a class having only static methods but some non-static fields as a utility class ? Thanks
Ahum that was already done Freddy
@Dinesh, I'm reopening this ticket as this rule also replaces PMD "Use Singleton" http://jira.sonarsource.com/browse/RSPEC-494