void (Project project, @NotNull PsiClass targetClass) { final CreateFieldFix fix = new CreateFieldFix(targetClass); fix.doFix(targetClass.getProject(), generateModifiers(targetClass), myReferenceName, calculateTypeConstrains(), getRefExpr()); }