private List<ProgramNode> getNodesFromClipboard() {
		try {
			List<ProgramNode> list = getProgramNodeListFromClipboard();
			if (list != null) {
				return list;
			}
		}
		catch (UnsupportedFlavorException e) {
			throw new AssertException("Data flavor in clipboard is not supported.");
		}
		catch (Exception e) {
			Msg.error(this, "Unexpected exception checking clipboard", e);
		}
		return List.of();
	}
Remove node from the list of ProgramNodes in the clipboard. This method is called
if there was a problem pasting a group.
@param tree the tree
@param node the node
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramTreeActionManager.java