code: @SuppressWarnings("unchecked")
      public static <T> AttributeKey<T> newInstance(String name) {
          return (AttributeKey<T>) pool.newInstance(name);
      }
docs: Creates a new {@link AttributeKey} for the given {@code name} or fail with an
  {@link IllegalArgumentException} if a {@link AttributeKey} for the given {@code name} exists.