boolean (@NotNull Project project, Editor editor, PsiFile file) { if (!myField.isValid()) return false; final PsiClass aClass = myField.getContainingClass(); if (aClass == null) { return false; } if (myCreateGetter){ if (isStaticFinal(myField) || PropertyUtilBase.findPropertyGetter(aClass, myPropertyName, isStatic(myField), false) != null){ return false; } } if (myCreateSetter){ if(isFinal(myField) || PropertyUtilBase.findPropertySetter(aClass, myPropertyName, isStatic(myField), false) != null){ return false; } } return true; }