Match (@NotNull PsiLocalVariable localVariable1, @NotNull PsiLocalVariable localVariable2) { if (!myLocalVariables.contains(localVariable1) || !myLocalVariables.contains(localVariable2)) { return super.localVariablesAreEquivalent(localVariable1, localVariable2); } if (!equalNotConsideringInitializer(localVariable1, localVariable2)) return EXACT_MISMATCH; PsiExpression firstInitializer = localVariable1.getInitializer(); PsiExpression secondInitializer = localVariable2.getInitializer(); return expressionsMatch(firstInitializer, secondInitializer); }