boolean (@NotNull PsiElement element, @NotNull ResolveState state) { JavaResolveResult[] cachedResult = myCachedResult; if (cachedResult != null && cachedResult.length == 1 && stopAtFoundResult(cachedResult[0])) { return false; } if (myName == null || PsiUtil.checkName(element, myName, myPlace)) { return super.execute(element, state); } return true; }