code: final PassConfig getBasePassConfig() {
      PassConfig current = this;
      while (current instanceof PassConfigDelegate) {
        current = ((PassConfigDelegate) current).delegate;
      }
      return current;
    }
docs: Find the first pass provider that does not have a delegate.