Set<PsiMethod> (PsiField field) { final Set<PsiMethod> out = new HashSet<>(); final PsiClass containingClass = field.getContainingClass(); if (containingClass == null) { return out; } final PsiMethod[] methods = containingClass.getMethods(); for (PsiMethod method : methods) { if (isDelegation(field, method)) { out.add(method); } } return out; }