diff --git a/source/com/intellij/psi/impl/search/PsiSearchHelperImpl.java b/source/com/intellij/psi/impl/search/PsiSearchHelperImpl.java index c2fecc70aa0b..cbb42089637d 100644 --- a/source/com/intellij/psi/impl/search/PsiSearchHelperImpl.java +++ b/source/com/intellij/psi/impl/search/PsiSearchHelperImpl.java @@ -344,8 +344,8 @@ public class PsiSearchHelperImpl implements PsiSearchHelper { } else if (refElement instanceof PsiMethod) { if (((PsiMethod)refElement).isConstructor()) { - return processConstructorReferences(processor, (PsiMethod)refElement, originalScope, ignoreAccessScope, - isStrictSignatureSearch); + if (!processConstructorReferences(processor, (PsiMethod)refElement, originalScope, ignoreAccessScope, + isStrictSignatureSearch)) return false; } text = ((PsiMethod)refElement).getName();