void (@NotNull XValue var, @Nullable String name, @Nullable String type, @Nullable @RegExp String valuePattern, @Nullable Boolean hasChildren) { assertVariableValueMatches(var, name, type, valuePattern, hasChildren, null); }