@Override
  public @Nullable String getMainClass() {
    JavaApplication javaApplicationExtension = myGradleProject.getExtensions().findByType(JavaApplication.class);
    if (javaApplicationExtension == null) return null;
    return javaApplicationExtension.getMainClass().get();
  }
@Override
  public @Nullable String getMainClass()