docs: @Nullable
      public Element getElement(@Nonnull String id) {
          if (id == null || id.trim().length() == 0) {
              throw new IllegalArgumentException("An element ID must be specified.");
          }
  
          return elementsById.get(id);
      }