class Setter { boolean isNone; boolean isPrivate; boolean isPackage; boolean isProtected; boolean isPublic; private void setIsPrivate(final boolean isPrivate) { this.isPrivate = isPrivate; } void setIsPackage(final boolean isPackage) { this.isPackage = isPackage; } protected void setIsProtected(final boolean isProtected) { this.isProtected = isProtected; } public void setIsPublic(final boolean isPublic) { this.isPublic = isPublic; } }