@Override
    public @Nullable Icon getIcon(Object o, int flags) {
      //noinspection unchecked
      return myProvider instanceof PresentationTemplate ? ((PresentationTemplate)myProvider).getIcon(o, flags) : myProvider.getIcon(o);
    }
@Override
    public @Nullable Icon getIcon(Object o, int flags)