Checkstyle except duplicate code