String () { try { Object transferData = CopyPasteManager.getInstance().getContents(DATA_FLAVOR); if (transferData instanceof SerializedComponentData data) { String xmlComponents = data.getSerializedComponents(); if (xmlComponents.startsWith("<designer target=\"" + myDesigner.getPlatformTarget() + "\">")) { return xmlComponents; } } } catch (Throwable ignored) { // ignored } return null; }