public boolean isValid(T member, NamingConventionBean bean) {
    String name = member.getName();
    return name != null && bean.isValid(name);
  }
public boolean isValid(T member, NamingConventionBean bean)