@Contract(pure = true)
  default boolean isMain(@NotNull PsiElement psiElement) {
    PsiMethod psiMethod = PsiTreeUtil.getParentOfType(psiElement, PsiMethod.class);
    if (psiMethod == null) return false;

    return "main".equals(psiMethod.getName()) && PsiMethodUtil.isMainMethod(psiMethod);
  }
@Contract(pure = true)
  default boolean isMain(@NotNull PsiElement psiElement)