code: @Override
      public <T> T adapt(Class<T> clazz) {
          if (MessageContext.class.isAssignableFrom(clazz)) {
              return clazz.cast(this);
          }
          return null;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.wsspi.handler.MessageContext#adapt(java.lang.Class)