boolean (PsiMethod method, Object[] candidates) { String methodName = method.getName(); return ContainerUtil.find(candidates, c -> { PsiMethod m = getMethodFromCandidate(c); return m.getParameterList().isEmpty() && m.getName().equals(methodName); }) != null; }