@Override
  public @Nullable <T> T getContents(@NotNull DataFlavor flavor) {
    if (areDataFlavorsAvailable(flavor)) {
      //noinspection unchecked
      return (T)ClipboardSynchronizer.getInstance().getData(flavor);
    }
    return null;
  }
@Override
  public @Nullable <T> T getContents(@NotNull DataFlavor flavor)