public static @NotNull Color getForeground(@NotNull JTree tree, boolean selected) {
    return selected ? getSelectionForeground(tree) : getForeground(tree);
  }
public static @NotNull Color getForeground(@NotNull JTree tree, boolean selected)