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