code: public S setApplication(ApplicationConfig application) {
          if (application == null) {
              application = new ApplicationConfig();
          }
          this.application = application;
          return castThis();
      }
docs: Sets application.
  
  @param application the application
  @return the application