public void setAllHasFields(boolean b) {
    int hasCounter = 0;
    Field[] thisFields = UserSpecifiedRegionAttributes.class.getDeclaredFields();
    for (final Field thisField : thisFields) {
      if (thisField.getName().startsWith("has")) {
        hasCounter++;
        try {
          thisField.setBoolean(this, b);
        } catch (IllegalAccessException ouch) {
          Assert.assertTrue(false,
              "Could not access field" + thisField.getName() + " on " + getClass());
        }
      }
    }
    Assert.assertTrue(hasCounter == HAS_COUNT, "Found " + hasCounter + " methods");
    // this.hasCacheListeners = b;
    // this.hasCacheLoader = b;
    // this.hasCacheWriter = b;
    // this.hasConcurrencyLevel = b;
    // this.hasDataPolicy = b;
    // this.hasDiskDirs = b;
    // this.hasDiskWriteAttributes = b;
    // this.hasEarlyAck = b;
    // this.hasEnableAsyncConflation = b;
    // this.hasEnableSubscriptionConflation = b;
    // this.hasEnableGateway = b;
    // this.hasEntryIdleTimeout = b;
    // this.hasEntryTimeToLive = b;
    // this.hasEvictionAttributes = b;
    // this.hasIgnoreJTA = b;
    // this.hasIndexMaintenanceSynchronous = b;
    // this.hasInitialCapacity = b;
    // this.hasIsLockGrantor = b;
    // this.hasKeyConstraint = b;
    // this.hasLoadFactor = b;
    // this.hasMembershipAttributes = b;
    // this.hasMulticastEnabled = b;
    // this.hasPartitionAttributes = b;
    // this.hasPublisher = b;
    // this.hasRegionIdleTimeout = b;
    // this.hasRegionTimeToLive = b;
    // this.hasScope = b;
    // this.hasStatisticsEnabled = b;
    // this.hasSubscriptionAttributes = b;
    // this.hasValueConstraint = b;
  }
Holds index information. Hoisted up to this class in 7.0

@since GemFire 6.5
geode-core/src/main/java/org/apache/geode/internal/cache/UserSpecifiedRegionAttributes.java