@Override
	public synchronized Object getTransferData(DataFlavor f) 
        throws UnsupportedFlavorException, IOException {
            
        if (f.equals(localGroupFlavor)) {
            return group;
        }
        if (f.equals(DataFlavor.stringFlavor)) {
            return name;
        }
        throw new UnsupportedFlavorException(f);
        
    }
Return the transfer data with the given data flavor.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/GroupTransferable.java