private static void appendComponentClassName(@NotNull StringBuilder sb, @Nullable Component root, @NotNull Component component) {
    sb.append("\n    ");
    for (Component p = component; root != p && p != null; p = p.getParent()) sb.append("  ");
    sb.append(component.getClass().getName());
  }
private static void appendComponentClassName(@NotNull StringBuilder sb, @Nullable Component root, @NotNull Component component)