cleanup, tiny optimisation

This commit is contained in:
Alexey Kudravtsev
2013-10-02 15:17:48 +04:00
parent 4329d27c64
commit dd87e23d8e
@@ -179,7 +179,7 @@ public class ConstructorReferencesSearchHelper {
}
for (PsiMethod method : constructors) {
PsiCodeBlock body = method.getBody();
if (body == null || method == constructor) {
if (body == null || method == constructor && isStrictSignatureSearch) {
continue;
}
PsiStatement[] statements = body.getStatements();