Collection<PsiMethod> (@NotNull PsiClass psiClass, @NotNull String methodModifier, @NotNull AccessorsInfo accessors) { Collection<PsiMethod> result = new ArrayList<>(); final Collection<PsiField> witherFields = getWitherFields(psiClass); for (PsiField witherField : witherFields) { PsiMethod method = getWitherFieldProcessor().createWitherMethod(witherField, methodModifier, accessors); if (method != null) { result.add(method); } } return result; }