private static <T extends  PsiElement> void setMirrorsChecked(@NotNull List<T> stub, @NotNull List<T> mirror) {
    if (stub.size() == mirror.size()) {
      setMirrors(stub, mirror);
    }
  }
private static <T extends  PsiElement> void setMirrorsChecked(@NotNull List<T> stub, @NotNull List<T> mirror)