code: protected void setAttributes(FaceletContext ctx, Object instance)
      {
          if (instance != null)
          {
              Class<?> type = instance.getClass();
              if (_mapper == null || !_lastType.equals(type))
              {
                  _lastType = type;
                  _mapper = createMetaRuleset(type).finish();
              }
              
              _mapper.applyMetadata(ctx, instance);
          }
      }
docs: Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to
  the passed instance.
  
  @param ctx
  @param instance