code: public <T> boolean registerDelegate(Delegate<T> delegate)
      {
          return null == delegateMapping.putIfAbsent(delegate.typeClass().getName(), 
                  delegate);
      }
docs: Registers a delegate. Returns true if registration is successful.