code: public Object getState(Object context, String name) {
          StateInformation si = stateInformation.get(name);
          if (si == null) {
              return null;
          }
          return si.get(context);
      }
docs: This method returns the state associated with the name and optional
  context.
  
  @param context The optional context
  @param name The name
  @return The state, or null if not found