void (@NotNull XValue var, @Nullable String name, @Nullable @RegExp String typePattern, @Nullable String value, @Nullable Boolean hasChildren, @Nullable Icon icon) { XTestValueNode node = computePresentation(var); assertVariable(node, name, null, value, hasChildren, icon); if (typePattern != null) { assertTrue("Expected type: " + typePattern + " Actual type: " + node.myType, node.myType != null && node.myType.matches(typePattern)); } }