code: public void applyToTypes(Set<String> types) {
  
          if (m_removeAllNonExplicitlyAdded) {
              types.clear();
          }
          for (Map.Entry<String, Boolean> typeUpdateEntry : m_typeUpdateSet.entrySet()) {
              String typeName = typeUpdateEntry.getKey();
              Boolean add = typeUpdateEntry.getValue();
              if (add.booleanValue()) {
                  types.add(typeName);
              } else {
                  types.remove(typeName);
              }
          }
      }
docs: Applies the changes (addition or removal of schema formatters) to a set of resource type names,
  adding resource types for which schema formatters should be added and removing those for which
  schema formatters should be removed.<p>
  
  @param types the set of types to apply the changes to