code: @Override
      public T resolve(String name, MediaType mediaType) {
          if (this.cache != null) {
              if (!this.cache.containsKey(name)) {
                  T t = this.resolve(name);
                  if (t != null)
                      this.cache.putIfAbsent(name, t);
              }
  
              return this.cache.get(name);
          } else {
              return this.resolve(name);
          }
      }
docs: {@inheritDoc}