private static @Nullable PsiMethod findMainMethod(PsiClass aClass) {
                return ReadAction.compute(() -> PsiMethodUtil.findMainMethod(aClass));
            }
private static @Nullable PsiMethod findMainMethod(PsiClass aClass)