void (final GuiEditor editor, final RadComponent oldComponent, final ComponentItem targetItem) { PsiField oldBoundField = BindingProperty.findBoundField(editor.getRootContainer(), oldComponent.getBinding()); if (oldBoundField != null) { final PsiElementFactory factory = JavaPsiFacade.getInstance(editor.getProject()).getElementFactory(); try { PsiType componentType = factory.createTypeFromText(targetItem.getClassName().replace('$', '.'), null); new ChangeFieldTypeFix(editor, oldBoundField, componentType).run(); } catch (IncorrectOperationException e) { LOG.error(e); } } }