static @NotNull TagResolver claimingComponent(final @NotNull Set<String> names, final @NotNull BiFunction<ArgumentQueue, Context, Tag> handler, final @NotNull Function<Component, @Nullable Emitable> componentClaim) {
    final Set<String> ownNames = new HashSet<>(names);
    for (final String name : ownNames) {
      TagInternals.assertValidTagName(name);
    }
    requireNonNull(handler, "handler");
    return new ComponentClaimingResolverImpl(ownNames, handler, componentClaim);
  }
Create a tag resolver that only responds to certain tag names, and whose value does not depend on that name.

@param names the names to respond to
@param handler the tag handler, may throw {@link ParsingException} if provided arguments are in an invalid format
@param componentClaim the claim to test components against
@return a resolver that creates tags using the provided handler
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/serializer/SerializableResolver.java