@Override
  public @Nullable PsiMethod findMainInClass(@NotNull PsiClass clazz) {
    final PsiMethod[] launches = clazz.findMethodsByName(LAUNCH_MAIN, true);
    for (PsiMethod launchMethod : launches) {
      if (PsiMethodUtil.isMainMethod(launchMethod)) {
        return launchMethod;
      }
    }
    return null;
  }
@Override
  public @Nullable PsiMethod findMainInClass(@NotNull PsiClass clazz)