code: static <V> LookupProcessor create(
          ChronoElement<V> element,
          Map<V, String> resources
      ) {
  
          Map<V, String> map;
          Class<V> keyType = element.getType();
  
          if (keyType.isEnum()) {
              if (resources.size() < keyType.getEnumConstants().length) {
                  throw new IllegalArgumentException("Not enough text resources defined for enum: " + keyType.getName());
              }
              map = createMap(keyType);
          } else {
              map = new HashMap<>(resources.size());
          }
  
          map.putAll(resources);
          return new LookupProcessor<>(element, map);
  
      }
docs: <p>Konstruiert eine neue Instanz mit Hilfe einer {@code Map}. </p>
  
  @param   element     element to be formatted
  @param   resources   text resources
  @throws  IllegalArgumentException if there not enough text resources to match all values of an enum element type