Collection<PsiMethod> (@NotNull PsiClass psiClass, @NotNull String methodModifier, @Nullable String nameHint) { Collection<PsiMethod> result = new ArrayList<>(); final Collection<PsiField> getterFields = filterGetterFields(psiClass); GetterFieldProcessor fieldProcessor = getGetterFieldProcessor(); for (PsiField getterField : getterFields) { ContainerUtil.addIfNotNull(result, fieldProcessor.createGetterMethod(getterField, psiClass, methodModifier, nameHint)); } return result; }