public String[] findGroupsWithThisElement(AbstractConfiguration config,
      CacheConfigurationManager manager) {
    return findCacheElement(config, manager).keySet().toArray(new String[0]);
  }
this is used to validate all the common attributes of CacheElement, eg. name and group
geode-core/src/main/java/org/apache/geode/management/internal/configuration/validators/MemberValidator.java