boolean (@NotNull PsiStatement first, @NotNull PsiStatement second) { PsiLocalVariable localVariable1 = extractVariable(first); PsiLocalVariable localVariable2 = extractVariable(second); if (localVariable1 == null || localVariable2 == null) return false; if (!myLocalVariables.contains(localVariable1) || !myLocalVariables.contains(localVariable2)) { return false; } if (!equalNotConsideringInitializer(localVariable1, localVariable2)) return false; return true; }