public static boolean areElementsEquivalent(final @NotNull PsiFileSystemItem element1, final @NotNull PsiFileSystemItem element2) {
    return element2.getManager().areElementsEquivalent(element1, element2);
  }
public static boolean areElementsEquivalent(final @NotNull PsiFileSystemItem element1, final @NotNull PsiFileSystemItem element2)