boolean (PsiMethod method, GlobalSearchScope scope, Predicate<? super PsiMember> qualifiedMatcher, String pattern) { if (pattern.contains(".") && Registry.is("ide.goto.symbol.include.overrides.on.qualified.patterns")) { return false; } if (!hasSuperMethodCandidates(method, scope, qualifiedMatcher)) { return false; } for (HierarchicalMethodSignature signature : method.getHierarchicalMethodSignature().getSuperSignatures()) { PsiMethod superMethod = signature.getMethod(); if (PsiSearchScopeUtil.isInScope(scope, superMethod) && qualifiedMatcher.test(superMethod)) { return true; } } return false; }