void (@NotNull XValue var, @Nullable String name, @Nullable @RegExp String typePattern, @Nullable String value, @Nullable Boolean hasChildren) { assertVariableTypeMatches(var, name, typePattern, value, hasChildren, null); }