boolean (@Nullable Boolean paintLines) { if (paintLines != null) return paintLines; if (UIManager.getBoolean("Tree.paintLines")) return true; UISettings settings = UISettings.getInstanceOrNull(); return settings != null && settings.getShowTreeIndentGuides(); }