@SuppressWarnings("UnusedDeclaration") /** @deprecated use {@link #pasteTransferableAsBlock(Editor, Producer)} (to remove in IDEA 14) */ public static void pasteTransferableAsBlock(Editor editor, @Nullable final Transferable content) { pasteTransferableAsBlock( editor, new Producer<Transferable>() { @Nullable @Override public Transferable produce() { return content; } }); }
@SuppressWarnings("UnusedDeclaration") /** @deprecated use {@link #pasteTransferableAsBlock(Editor, Producer)} (to remove in IDEA 14) */ public static void pasteFromClipboardAsBlock(Editor editor) { pasteTransferableAsBlock(editor, (Producer<Transferable>) null); }