code: public void set(String name, String value) {
      if (deprecatedKeyMap.isEmpty()) {
        getProps();
      }
      getOverlay().setProperty(name, value);
      getProps().setProperty(name, value);
      updatingResource.put(name, UNKNOWN_RESOURCE);
      String[] altNames = getAlternateNames(name);
      if (altNames != null && altNames.length > 0) {
        for (String altName : altNames) {
          getOverlay().setProperty(altName, value);
          getProps().setProperty(altName, value);
        }
      }
      warnOnceIfDeprecated(name);
    }
docs: Set the <code>value</code> of the <code>name</code> property. If
  <code>name</code> is deprecated or there is a deprecated name associated to it,
  it sets the value to both names.
  
  @param name property name.
  @param value property value.