code: @Deprecated
      public static Object setObjectProp(Object obj, String property,
                                         Object value, Context cx)
      {
          return setObjectProp(obj, property, value, cx, getTopCallScope(cx));
      }
docs: Version of setObjectElem when elem is a valid JS identifier name.
  
  @deprecated Use {@link #setObjectProp(Object, String, Object, Context, Scriptable)} instead