share more code with checkstyle enricher
update documentation