private static boolean canSetTextValue(@NotNull XValueNodeImpl node) {
    @NotNull XValue value = node.getValueContainer();
    return value instanceof XValueTextProvider &&
           ((XValueTextProvider)value).shouldShowTextValue() &&
           value.getModifier() instanceof XStringValueModifier;
  }
private static boolean canSetTextValue(@NotNull XValueNodeImpl node)