docs: public Class<?> getFarType(Class<?> nearType) {
          if (!nearToFarType.containsKey(nearType)) {
              throw new IllegalStateException("Near type not registered: " + (nearType == null ? "null" : nearType.getSimpleName()));
          }
          return nearToFarType.get(nearType);
      }