Color (@NonNls @NotNull String propertyName) { Color value = UIManager.getColor(propertyName); Color color; if (value == null) { Color v = findPatternMatch(propertyName); color = v == null ? Gray.TRANSPARENT : v; } else { color = value; } if (UIManager.get(propertyName) == null) { if (Registry.is("ide.save.missing.jb.colors", false)) { return _saveAndReturnColor(propertyName, color); } } return color; }