boolean (@NotNull PsiElement element, @NotNull ResolveState state) { PsiMember member = (PsiMember)element; if (!isInteresting(element)) return true; if (myPsiClass.isInterface() && isObjectMember(element)) return true; if (!myAllMembers.contains(member) && isVisible(member, myPsiClass)) { if (member instanceof PsiMethod psiMethod) { if (shouldAdd(psiMethod)) { mapMethodBySignature(psiMethod); myAllMembers.add(PsiImplUtil.handleMirror(psiMethod)); } } else { myAllMembers.add(PsiImplUtil.handleMirror(member)); } } return true; }