public static @NotNull List<ColorPickerListener> createListenersFor(@Nullable PsiElement element) {
    List<ColorPickerListener> listeners = null;
    for (ColorPickerListenerFactory factory : EP_NAME.getExtensions()) {
      ColorPickerListener listener = factory.createListener(element);
      if (listener != null) {
        if (listeners == null) {
          listeners = new SmartList<>();
        }
        listeners.add(listener);
      }
    }
    return ContainerUtil.notNullize(listeners);
  }
public static @NotNull List<ColorPickerListener> createListenersFor(@Nullable PsiElement element)