add checks for avoid package modifiers
<!--
<module name="CommentsIndentation"/>
-->
+ <module name="VisibilityModifier">
+ <property name="protectedAllowed" value="true" />
+ <property name="publicMemberPattern" value=".*" />
+ </module>
</module>
</module>
