code: public void setAppName(String appName) {
          Utils.require(isValidName(appName), "Invalid application name: " + appName);
          m_appName = appName;
      }
docs: Set this ApplicationDefinition's application name to the given value. An exception
  is thrown if the name is invalid. This method should only be used when building-up
  an application definition: it does not change the name of an existing application.
  
  @param appName   Application name for this definition.