A small extension for Oliver's answer (it was not easy to add as a comment). To modify the Checkstyle rule so that it no longer checks the "Factory", put the following in the checkstyle configuration XML file:
<module name="AbstractClassName"> <property name="format" value="^Abstract.*$"/> </module>
See here for more details.
source share