public Map<Integer, EnumInfo> enumMap() {
    return distributedTypeRegistry.enums();
  }
Returns the currently defined enums.

@return the enums
geode-core/src/main/java/org/apache/geode/pdx/internal/TypeRegistry.java