public Map<Integer, PdxType> typeMap() {
    return distributedTypeRegistry.types();
  }
Returns the currently defined types.

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