code: public <T extends TypeDefinition> Map<String, T> getTypesMap(Class<T> targetClass) {
          List<T> list = getTypes(targetClass);
          return FpKit.getByName(list, TypeDefinition::getName, FpKit.mergeFirst());
      }
docs: Returns a map of types in the registry of that specified class keyed by name
  
  @param targetClass the class to search for
  @param <T>         must extend TypeDefinition
  
  @return a map of types