code: protected final Application ensureApplicationReference() {
          if (this.application == null) {
              assertState();
              Application tmpApp = applicationResolver.getApplication(client, applicationRestUrl);
              if (tmpApp == null) {
                  throw new IllegalStateException("ApplicationResolver returned 'null' Application, this is likely a configuration error.");
              }
              this.application = tmpApp;
          }
          return this.application;
      }
docs: acquisition, so it is negligible if this executes a few times instead of just once.