private static boolean isEquivalentMethodCall(@NotNull PsiMethodCallExpression pattern, @NotNull PsiMethodCallExpression candidate) {
    final PsiMethod patternMethod = pattern.resolveMethod();
    final PsiMethod candidateMethod = candidate.resolveMethod();
    if (patternMethod != null && candidateMethod != null) {
      if (!MethodSignatureUtil.areSignaturesEqual(patternMethod, candidateMethod)) return false;
    }
    return true;
  }
private static boolean isEquivalentMethodCall(@NotNull PsiMethodCallExpression pattern, @NotNull PsiMethodCallExpression candidate)