IPackageFragment entityPackage = (IPackageFragment) sourceCompilationUnit.getParent();
String[] beanNames = Utils.getBeanNames(entityPackage);
SelectionBeanDialog targetBeanDialog = new SelectionBeanDialog(null, beanNames);
targetBeanDialog.pack();
targetBeanDialog.setLocationRelativeTo(null);
targetBeanDialog.setVisible(true);
targetBeanName = targetBeanDialog.getSelectedBeanName();
targetCompilationUnit = Utils.getCompilationUnit(entityPackage, targetBeanName);