List<PsiMethod> (@NotNull final PsiClass psiClass, final String propertyName, final boolean acceptStatic, final @NonNls @PsiModifier.ModifierConstant String @NotNull [] visibilityLevels) { final String setterName = suggestSetterName(propertyName); final PsiMethod[] psiMethods = psiClass.findMethodsByName(setterName, true); final ArrayList<PsiMethod> list = new ArrayList<>(psiMethods.length); for (PsiMethod method : psiMethods) { if (filterMethods(method, acceptStatic, visibilityLevels)) continue; if (isSimplePropertySetter(method)) { list.add(method); } } return list; }