boolean (@NotNull TransferSupport support) { Component comp = support.getComponent(); return comp instanceof JComponent && handleDrop(getEditor((JComponent)comp), support.getTransferable(), support.getDropAction()); }