@Nullable
  public static PsiFileSystemItem getFileSystemItem(@NotNull PsiElement element) {
    if (element instanceof PsiFileSystemItem) {
      return (PsiFileSystemItem)element;
    }
    return element.getContainingFile();
  }
@Nullable
  public static PsiFileSystemItem getFileSystemItem(@NotNull PsiElement element)