private void applyFixInner(final Project project) {
final PsiFile psiFile = myClass.getContainingFile();
final Editor editor = CodeInsightUtil.positionCursor(project, psiFile, myClass.getLBrace());
if (editor != null) {
new WriteCommandAction(project, psiFile) {
protected void run(Result result) throws Throwable {
final PsiElementFactory psiElementFactory = JavaPsiFacade.getInstance(myClass.getProject()).getElementFactory();
final PsiField psiField = psiElementFactory.createField(myName, myType);