void (@NotNull Collection<? extends XValue> vars, @Nullable String name, @Nullable String type, @Nullable @RegExp String valuePattern) { assertVariableValueMatches(findVar(vars, name), name, type, valuePattern); }