stupid enforced checkstyle rules make code more complex