@Nullable
  public static VirtualFile getVirtualFile(@NotNull PsiElement element) {
    PsiFile psiFile = element.getContainingFile();
    return getVirtualFile(psiFile);
  }
@Nullable
  public static VirtualFile getVirtualFile(@NotNull PsiElement element)