code: private static Map<String, ValueExpression> restoreBindings(FacesContext context,
                                                                  Object state) {
  
          // Note: This code is copied from UIComponentBase.  See note above
          // in saveBindings().
  
          if (state == null) {
              return (null);
          }
          Object values[] = (Object[]) state;
          String names[] = (String[]) values[0];
          Object states[] = (Object[]) values[1];
          Map<String, ValueExpression> bindings = new HashMap<String, ValueExpression>(names.length);
          for (int i = 0; i < names.length; i++) {
              bindings.put(names[i],
                      (ValueExpression) UIComponentBase.restoreAttachedState(context, states[i]));
          }
          return (bindings);
      }
docs: Utility for restoring bindings from state