java - Is there a Checkstyle/PMD rule "Non-abstract classes should not be named AbstractXXX"? -


the java project i'm working on uses combination of code analysis tools: pmd, checkstyle , findbugs. these pick on plenty of bugs, style issues etc. 1 slips through net:

public class abstractbadlynamedclass { // not abstract!     // ... } 

note other way round is checked, i.e. public abstract badlynamedclass gives pmd warning "abstract classes should named abstractxxx".

could advise whether there way of checking this, either 1 of mentioned tools (perhaps kind of custom rule?) or automated tool job?

i think checkstyle abstractclassname check looking for.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -