@Nullable
  public static PsiClass findMainClass(final Module module, final String mainClassName) {
    return findMainClass(module.getProject(), mainClassName, module.getModuleRuntimeScope(true));
  }
@Nullable
  public static PsiClass findMainClass(final Module module, final String mainClassName)